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_丁智慧1407094103 #58

Open
Source-00 opened this issue Jan 9, 2016 · 0 comments
Open

Android2_丁智慧1407094103 #58

Source-00 opened this issue Jan 9, 2016 · 0 comments

Comments

@Source-00
Copy link

public void click(View v)
    {
        //Intent intent=new Intent();
        //getIntent().setAction(MainActivity.this,SecondActivity.class);
        //跳转到拨号器
        //intent.setAction(Intent.ACTION_DIAL);
        String adress = "https://www.baidu.com/";
        Uri uri = Uri.parse(adress);
        //跳转到浏览器
        Intent intent = new Intent("android.intent.action.VIEW", uri);
        startActivity(intent);
    }
}
@Source-00 Source-00 changed the title Android2丁智慧1407094103 Android2_丁智慧1407094103 Jan 9, 2016
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