• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trying to invoke Browser but getting exception

 
Dushyant Chhetri
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"www.google.com" is not a URI - the protocol is missing.
 
Dushyant Chhetri
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thankyou now it works..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic