In Android, How to obtain Uri of image on SD-Card

How to get URI of image stored on SD-Card?

Step 1:- Read the image from SD-Card.

Step 2:- Once you get object of image file, you can get URI of the image.

Next:-
You ready to use URI wherever you want. Below e.g. shows we can use it to start intent for the same image.

Not very tough, but love sharing this stuff.

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.