Wednesday, July 20, 2011

[android-developers] Detecting new photos and videos

I need to detect when the user takes new photos and records new videos
with phone camera. I have tried two ways of doing this with limited
success. The first method is receiving intent action
com.android.camera.NEW_PICTURE which works for photos and not for
videos. Also this method does not seem to be documented so I'm sure if
I should be using it.

The second method I have tried with no success is receiving
ACTION_MEDIA_SCANNER_SCAN_FILE. I do not receive this in my app. (Is
this method possible?)

Am I looking in the right place and if not has anyone a suggestion on
how I should proceed.

Thanks

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment