Pinging the thread since this e-mail got caught in the moderation
queue for awhile.

On Sun, Jan 16, 2011 at 4:16 PM, Kevin Law <[email protected]> wrote:
> I wrote a camera app that takes pictures and saves them to the root
> directory on the SD card.  I've confirmed that it works, but none of
> the pictures ever show up in the native gallery app.  I've tried
> restarting and remounting the sdcard, but it doesn't work on any
> device.  The gallery app show any pictures I take with the native
> camera app immediately.  I tried adding a call to
> MediaScannerConnection's static "scanFile" method*, but it still
> doesn't work.  Does anyone know what I might be missing?  Do I have to
> save it in a particular directory?  Is there another method I have to
> call?
>
> Thanks in advance for any tips,
> Kevin
>
> *http://developer.android.com/reference/android/media/MediaScannerConnection.html#scanFile(android.content.Context,
> java.lang.String[], java.lang.String[],
> android.media.MediaScannerConnection.OnScanCompletedListener)
>

-- 
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