Hi, I would like to write some code creating automaticly some playlist for the mp3 player.
I use ContentValues values = new ContentValues(); values.put(MediaStore.Audio.Playlists.NAME, nom); return getContentResolver().insert (MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, values); to create my playlist and something alike for members. It runs well but every time I mount the sd card, MediaScanner scans again my mp3, erase all the members and let the playlist empty. When I run the music player, the playlist are still there but when I chose one of them, there is no more mp3 in it. I can start my program to refill the playlists but I would like to know why MediaScanner erase my members. Is there a better way to do or a trick to avoid this ? I tried to read MediaScanner.java but i don't see how... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

