[android-developers] Re: How can we open browser in Android through code?

2013-10-22 Thread Andrew Cesario
If I use this code, I get the following: === Multiple markers at this line - Return type for the method is missing - Syntax error on token "intent", VariableDeclaratorId expected after this token - intent cannot be resolved to a type === I am specifically trying to link

[android-developers] Re: How can we open browser in Android through code?

2011-04-20 Thread Steve
This will do: Uri uri = Uri.parse("http://www.example.com";); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develo