0

Suppose a mp3 file is downloaded via a browser. Will the MediaStore.Audio database be updated by android automatically or the music player app which is installed will need to update the db with a new entry in all related db's (like MediaStore.Audio.Albums etc..)

Cœur
  • 37,241
  • 25
  • 195
  • 267
Sumit Trehan
  • 3,985
  • 3
  • 27
  • 42

1 Answers1

0

MediaStore.Audio database update by android automatically when broadcast android.intent.action.MEDIA_MOUNTED fire.

how fire broadcast

Community
  • 1
  • 1
Dhaval Parmar
  • 18,812
  • 8
  • 82
  • 177
  • What is the the trigger to this Broadcast intent? Can a music player app rely on android that it will update the database and thus we will always get the correct result as soon as the new file is downloaded? – Sumit Trehan Feb 03 '16 at 09:13