Or consult the table of intents at OpenIntents:

Quoted from:
http://www.openintents.org/en/node/118

To open a web site use:

Intent i = new Intent(Intent.ACTION_VIEW);
Uri u = Uri.parse("http://www.openintents.org";);
i.setData(u);
startActivity(i);

Peli
www.openintents.org

On Oct 28, 3:56 pm, Frew <[EMAIL PROTECTED]> wrote:
> On Oct 28, 2:20 am, lopan <[EMAIL PROTECTED]> wrote:
>
> > How can I invoke the web browser from my app? For example, when i
> > click an item in my ListView I want to open a web browser with a
> > specific URL.
>
> I don't have my code handy because I'm at work, but you do it with the
> VIEW intent.  Look up intents in the api.  If you haven't figured it
> out in about 7 hours let me know and I'll give you exact code.
>
> -fREW
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to