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

LocalContentUriFetchProducer "contacts/42/photo" not loading #88

Closed
chonamdoo opened this issue Apr 4, 2015 · 5 comments
Closed

LocalContentUriFetchProducer "contacts/42/photo" not loading #88

chonamdoo opened this issue Apr 4, 2015 · 5 comments
Labels

Comments

@chonamdoo
Copy link

can't open '/contacts/42/photo'

@tyronen
Copy link
Contributor

tyronen commented Apr 4, 2015

Does your app have this line in its AndroidManifest.xml file?

<uses-permission android:name="android.permission.READ_CONTACTS" />

@chonamdoo
Copy link
Author

yes AndroidManifest.xml
already
why not open
2015. 4. 4. 오전 2:46에 "Tyrone Nicholas" notifications@github.com님이 작성:

Does your app have this line in its AndroidManifest.xml file?


Reply to this email directly or view it on GitHub
#88 (comment).

@chonamdoo
Copy link
Author

hmm TT not open

@raymoondtang
Copy link

Since the duplicated issue #97 is closed. I will copy my comment here.
It's an issue with how LocalContentUriFetchProducer get the input stream from Uri.
A workaround is to remove '/photo' at the end of URI, it will load, but not for all devices as I tested.

@tyronen tyronen added the bug label Apr 15, 2015
@plamenko plamenko changed the title setImageURI(Uri.parse("content://com.android.contacts/contacts/42/photo")); LocalContentUriFetchProducer "contacts/42/photo" not loading Apr 17, 2015
@tyronen
Copy link
Contributor

tyronen commented Oct 19, 2015

Fixed in v0.8.0.

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

No branches or pull requests

3 participants