Tuesday, August 7, 2012

[android-developers] Media Scanning Completed Toast message appears only sometimes

Hi,

I add mp4 videos to the SDCard through my code and use this to
refresh the gallery:

sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED,
Uri.parse("file://" + Environment.getExternalStorageDirectory())));

But I get the toast message "Media Scanning Completed" only sometimes
and sometimes it does not appear. Could somebody explain why we get
this toast sometimes and sometimes we don't get it?

Thank you,
B.Arunkumar

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate