Mount/unmount Sdcard, Or Simulate It - Android
Edit: The default media player for Android phones scans the sdcard for song files and then allows the user to play these songs based on what it has scanned. My app that I have made
Solution 1:
sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse("file://" + Environment.getExternalStorageDirectory())));
Note that some manufacturers custom OS builds do not scan properly when this intent is broadcast. I had a motoblur device that I had to use something else in order to get working. Don't recall exactly what it was though.
Post a Comment for "Mount/unmount Sdcard, Or Simulate It - Android"