Skip to content Skip to sidebar Skip to footer

Open File From Uri, Independent Of Location In Android

I could use some help understanding how to open files in android. My specific problem has to do with opening an image file. In my application the user takes an image with a camer

Solution 1:

You will have to use a contentResolver to access internal files passed as uri

ContentResolver cr = getContentResolver();
InputStream is = cr.openInputStream(imageUri);

Post a Comment for "Open File From Uri, Independent Of Location In Android"