We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public static String[] getProjection() { return new String[]{ MediaStore.Files.FileColumns.PARENT, MediaStore.Images.Media.BUCKET_DISPLAY_NAME, "count(*)", MediaStore.Images.Media.DATA, "max(" + MediaStore.Images.Media.DATE_MODIFIED + ")" }; }
that code above no longer work on android Q, please fix it
The text was updated successfully, but these errors were encountered:
I'm facing same problem IlligalException invalidate column count(*)
Sorry, something went wrong.
public static String[] getProjection() { return new String[]{ MediaStore.Files.FileColumns.PARENT, MediaStore.Images.Media.BUCKET_DISPLAY_NAME, "count(*)", MediaStore.Images.Media.DATA, "max(" + MediaStore.Images.Media.DATE_MODIFIED + ")" }; } that code above no longer work on android Q, please fix it
Same problem here, have you found solution for it? it only shows when target sdk 29 compileSdkVersion 29
java.lang.IllegalArgumentException: Invalid column count(*)
No branches or pull requests
public static String[] getProjection() {
return new String[]{
MediaStore.Files.FileColumns.PARENT,
MediaStore.Images.Media.BUCKET_DISPLAY_NAME,
"count(*)",
MediaStore.Images.Media.DATA,
"max(" + MediaStore.Images.Media.DATE_MODIFIED + ")"
};
}
that code above no longer work on android Q, please fix it
The text was updated successfully, but these errors were encountered: