Construct MediaStore URI for specific folder

后端 未结 3 2111
你的背包
你的背包 2020-12-11 07:45

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

3条回答
  •  庸人自扰
    2020-12-11 08:21

    Filter the path from the DATA field and construct a poper SELECT WHERE statement to match the folder names, you can use SUBSTR in the query ;-)

提交回复
热议问题