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
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: 41106
    
  45
"www.google.com" is not a URI - the protocol is missing.


Ping & DNS - my free Android networking tools app
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
ActivityNotFoundException while using implicit intent
Android - How to allow the application to end a phone call
onClickListener of button does not work
Attaching file which is stored in to the application's directory
Installing APK from SD Card