Thanks much all!

so I wasn't *too* far off :)  I appreciate the guidance.

-Eddie

On Sep 7, 10:07 am, Andrei Bucur <[email protected]> wrote:
> Intent i = new Intent();
>
> i.setAction(Intent.ACTION_VIEW);
> i.addCategory(Intent.CATEGORY_BROWSABLE);
> i.setData(Uri.parse("http://...";));
> startActivity(i);
>
> On Mon, Sep 7, 2009 at 4:51 PM, Smelly Eddie <[email protected]> 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);
>
> > But I know this isnt even close, shoudl I use a browser view instead?
--~--~---------~--~----~------------~-------~--~----~
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