Smelly Eddie wrote:
> I am reading through the SDK on Android .com and I am having trouble
> just finding an example using an intent to invoke a browser activity.
> 
> I want to send the user to a specific URL.
> 
> String authUrl = "http://domain.com/login";;
> 
> 
>             // bring the user to authUrl, e.g. open a web browser and
> note the PIN code
>             // ...
>               Intent webLogin = new Intent(this,NetApi.class);
>               startActivityForResult(webLogin,ACTION_VIEW);

startActivity(new Intent(ACTION_VIEW, Uri.parse(authUrl)));

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Need Android talent? Ask on HADO! http://wiki.andmob.org/hado

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to