我正在构建一个 android 画廊,我想按文件名降序显示图像
但我不确定在 managedQuery 的最后一个字段中放什么:
String[] projection = {MediaStore.Images.Media._ID};
// Create the cursor pointing to the SDCard
cursor = managedQuery( MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
projection, // Which columns to return
MediaStore.Images.Media.DATA + " like ? ",
new String[] {"%LC/images%"},
MediaStore.Images.Media._ID + "dsc");// order here ?? help