For example if a have two directories /sdcard/Music/Music-1 and /sdcard/Music/Music-2 how can I construct a URI to get the files in Music-1>
/sdcard/Music/Music-1
/sdcard/Music/Music-2
Music-1>
Cursor mCursor = getContentResolver().query( uri1, Selection, android.provider.MediaStore.Audio.Media.DATA + " like ? ", new String[] {str}, null);
You might need to use "%"+str+"%" instead, because "Music-1" is just part of the MediaStore.Audio.Media.DATA.
"%"+str+"%"
MediaStore.Audio.Media.DATA