I was capturing images before that were showing up in the gallery, but
now they are not and I can't figure out why. Here is my code:

                ContentValues values = new ContentValues();
                values.put(android.provider.MediaStore.Images.Media.IS_PRIVATE,
false);
                String name = "ugc_" + 
String.valueOf(System.currentTimeMillis());
                values.put(android.provider.MediaStore.Images.Media.TITLE, 
name);
                imageURI = getContentResolver().insert
(android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
values);

I also tried:
                values.put(android.provider.MediaStore.Images.Media.IS_PRIVATE, 
0);
as well as leaving out that value, but nothing seems to work now.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to