Media.EXTERNAL_CONTENT_URI returns an empty cursor

All your problems with Audio, Video and Images.

Media.EXTERNAL_CONTENT_URI returns an empty cursor

Postby ingodan » Sat Jan 29, 2011 10:25 pm

I can't figure out why this cursor is empty in htc wildfire. but works on all other phones there are several audiofiles on the sdcard. the stock mediaplayer can find and play these songs alright.
Code: Select all
Cursor c = managedQuery(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, new String[] { "distinct " + MediaStore.Audio.Media.ALBUM, MediaStore.Audio.Media.ARTIST, MediaStore.Audio.Media.ALBUM_KEY, MediaStore.Audio.Media.ALBUM_ID},
                null,
                null,
                MediaStore.Audio.Media.ARTIST);


Is there anyone here that has been able to query the mediastore.audio.media on a wildfire with some results?
ingodan
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Jan 29, 2011 10:20 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Exabot [Bot] and 8 guests