Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android2-杨欢1403014246 #47

Open
yohann-github opened this issue Jan 7, 2016 · 0 comments
Open

Android2-杨欢1403014246 #47

yohann-github opened this issue Jan 7, 2016 · 0 comments

Comments

@yohann-github
Copy link

    public void skip(View view) {
        //指定URL
        String adress = "https://www.baidu.com/";
        Uri uri = Uri.parse(adress);
        //隐式跳转到浏览器
        Intent intent = new Intent("android.intent.action.VIEW", uri);
        startActivity(intent);
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant