I Can't Save My Bitmap To The Gallery In Android?
I'm trying to save my edited image into Gallery from where user can access it. I have used 'Add the photo to the Gallery' from reference: https://developer.android.com/training/cam
Solution 1:
The File Will be Displayed only if after a Successful Completion of media Scanner.
Note
Save the File To the External Storage . Now the Path is Android Data Folder. Most of the time the Files inside the data Folder wont be Scanned By Media Scanner. For that use
Environment.getExternalStorageDirectory().getAbsolutePath()+"/Pictures/Foldername/"
as Folder PathEnvironment.getExternalStorageDirectory().getAbsolutePath()
will Return the ExternalStorge as the Path
Also Refer Trigger Media Scanner Programattically
Post a Comment for "I Can't Save My Bitmap To The Gallery In Android?"