How to open image url on browser using android widget
问题 How do i use intent in android widget to open images in browser. 回答1: If the image is on the internet it would be as simple as this: String url = "http://www.picturesnew.com/media/images/image-background.jpg"; Intent i = new Intent(Intent.ACTION_VIEW); i.setData(Uri.parse(url)); startActivity(i); However if the image is inside of your assets you can't open it in the browser. That's because the browser accepts URI data that starts with http . Furthermore the browser is a separate app and one