Well, OK, that's not entirely true. While you can't play an arbitrary m3u file, you can play playlists that are in the database (which may have come from m3u files originally, in which case there path is in the _data column). To see how, you can look at what happens when you put a shortcut to a playlist on the home screen and then launch it.
On Sun, Aug 16, 2009 at 12:21 PM, Marco Nelissen<[email protected]> wrote: > On Sun, Aug 16, 2009 at 6:11 AM, Seb<[email protected]> wrote: >> >> Hi, >> >> Is there a way to launch a playlist whith intent? > > No. > >> I can retrieve the path of the m3u playlist with: >> Cursor cursor = context.getContentResolver().query >> (MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, null, null, null, >> null); >> cursor.getString(cursor.getColumnIndex >> (MediaStore.Audio.Playlists.DATA)); >> >> But, I can't launch this m3u file neither with Intent nor with >> MediaPlayer. >> >> Is there a way to do this? >> >> Thanks in advance >> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

