Anurag Ramdasan
Anurag Ramdasan

Reputation: 4340

android: updating media storage

i was making an app that tries to record audio and also list all the audio files on the sdcard.

now i populate the list here from the MediaStore using cursors.

now the issue here is, every time an audio is recorded i need to wait for the OS to make a scan through the memory card so that my list gets updated with the newly recorded track.

so i was wondering if there was any way to update the mediastorage programatically every time i finish recording some audio? is there any API or any function provided in android to do that?

Upvotes: 0

Views: 673

Answers (1)

Related Questions