Two Laptop Bag*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 41599
    
  55
"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