Skip to content
New issue

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

IllegalArgumentException when selecting a file from the Downloads folder on Android 7 #166

Open
elephant-cf opened this issue Apr 8, 2019 · 2 comments

Comments

@elephant-cf
Copy link

Android 7.

see a similar problem description and solution here
https://stackoverflow.com/questions/52750508/accessing-public-download-files-onactivityresult-android-28-samsung-galaxy-s9

lang.IllegalArgumentException: Unknown URI: content://downloads/public_downloads/353
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:165)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:421)
at android.content.ContentResolver.query(ContentResolver.java:532)
at android.content.ContentResolver.query(ContentResolver.java:473)
at com.kbeanie.multipicker.core.threads.FileProcessorThread.getDataAndMimeType(FileProcessorThread.java:419)
at com.kbeanie.multipicker.core.threads.FileProcessorThread.getPathAndMimeType(FileProcessorThread.java:370)
at com.kbeanie.multipicker.core.threads.FileProcessorThread.getAbso lutePathIfAvailable(FileProcessorThread.java:344)
at com.kbeanie.multipicker.core.threads.FileProcessorThread.processFile(FileProcessorThread.java:170)
at com.kbeanie.multipicker.core.threads.FileProcessorThread.processFiles(FileProcessorThread.java:105)
at com.kbeanie.multipicker.core.threads.FileProcessorThread.run(FileProcessorThread.java:79)

@elephant-cf
Copy link
Author

Мodifed working version

FileProcessorThread.txt

@ghost
Copy link

ghost commented Jul 13, 2019

Hi @coomar2841,

I am facing the same issue in Android 8. Please help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant