Save image to gallery problem
· February 23, 2015
I tried using the below method to add a bitmap to my phone's gallery.
MediaStore.Images.Media.insertImage(getContentResolver(), newPhoto, "title", "description");
Added the permission <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
The image doesn't get added to the gallery, nor does it appear in any place I can figure out on the device.
the method returns the String content://media/external/images/media/19990 as String.
My code http://www.codeshare.io/uV2c7
Post a Reply
|Oldest Newest Rating|
· February 26, 2015
Thanks man, much appreciated
· February 24, 2015
As "jimmithy" had said,
I hope this helped.
Java / Android Development
Very popular language used to create desktop applications, website applets, and Android apps.
|Bucky Roberts Administrator|