File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Trying to invoke Browser but getting exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Trying to invoke Browser but getting exception" Watch "Trying to invoke Browser but getting exception" New topic
Author

Trying to invoke Browser but getting exception

Dushyant Chhetri
Ranch Hand

Joined: Oct 28, 2009
Posts: 75
Hi Guys,

I am trying to invoke a browser with a URL when an Item on a Liat is clicked.

The code I am using is


I even tried to use


but I am getting an exception as
no activity found to handle intent.

to double check my List code I inserted a Toast which seems to be working fine.

I have set the permissions too.

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
"www.google.com" is not a URI - the protocol is missing.


Ping & DNS - updated with new look and Ping home screen widget
Dushyant Chhetri
Ranch Hand

Joined: Oct 28, 2009
Posts: 75
Thankyou now it works..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trying to invoke Browser but getting exception
 
Similar Threads
Installing APK from SD Card
Attaching file which is stored in to the application's directory
ActivityNotFoundException while using implicit intent
onClickListener of button does not work
Android - How to allow the application to end a phone call