I have tried to save an image using MediaStore just like you, but it causes a camera crash. I have to restart the phone to see the inserted image. If you can save a picture taken by the camera (inside onPictureCallback) , could you show me how? Thanks so much
On Feb 12, 3:32 pm, ivan <[email protected]> wrote: > I'm writing a camera app that captures a jpeg and saves it to the > app's current working directory. Then the app uses > "android.provider.MediaStore.Images.Media.insertImage(ContentResolver > cr, String imagePath, String name, String description)" tosavea copy > of the picture to the media directory on the sdcard where the native > Camera stores it's images. Everything works fine except for the fact > that the insertImage function disregards the name I use for theimage > and gives theimagesome numerical name instead. > > Has anyone successfully circumvented this issue? > > ... any thoughts or code snippets? > > thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

