Transisting to different link when clicking on imageview android -
i have used imageview
, added link it. have set listeners it. here code:
case r.id.imglogo: string url = "http://www.xyz.com"; intent intent = new intent(intent.action_view); intent.setdata(uri.parse(url)); startactivity(intent); break;
but upon clicking on imageview ever "www.xyz.com" value taking different webpage.
can know mistake?
Comments
Post a Comment