question: public String addPlaylist ( String playlistName ) { ContentValues mInserts = new ContentValues ( ) ; mInserts . put ( MediaStore . Audio . Playlists . NAME , playlistName ) ; mInserts . put ( MediaStore . Audio . Playlists . DATE_ADDED , System . currentTimeMillis ( ) ) ; mInserts . put ( MediaStore . Audio . Playlists . DATE_MODIFIED , System . currentTimeMillis ( ) ) ; Uri uri = mContentResolver . insert ( MediaStore . Audio . Playlists . EXTERNAL_CONTENT_URI , mInserts ) ; if ( uri == null ) { return null ; } else { String ref = PREFIX_PLAYLIST + getPlaylistUniqueName ( Long . toString ( ContentUris . parseId ( uri ) ) ) ; Playlist pl = new Playlist ( ref ) ; pl . setName ( playlistName ) ; pl . setIsLoaded ( true ) ; mPlaylists . put ( ref , pl ) ; mCallback . playlistUpdated ( pl ) ; return ref ; } }
target:  Adds a new playlist