Comments (2)
You're right! In this case, the bug occurs when you use quick call to start picker activity. The onActivityResult method not called in fragment but in activity.
To avoid this problem, please call picker using intent. Note that you have to use:
startActivityForResult(intent, REQUEST_CODE);
instead of
getActivity().startActivityForResult(intent, REQUEST_CODE);
I'll fix this bug in the next version.
Thanks for you report!
from imagepicker.
Awesome... Thank You.... I totally forgot there were two ways stated in the Readme would have tried the other one..
Cheers Bro.... Keep up the good work..
from imagepicker.
Related Issues (20)
- Slow Time on loading Image HOT 3
- set default selected images when open image picker? HOT 3
- Photo flipped 90 degrees HOT 2
- Android 11 - Can't see images from SD Card HOT 3
- Version 1.5.1 - Caused by java.lang.NullPointerException Issue HOT 4
- When I click the OK button after taking a picture in landscape mode, it doesn't go to the next
- Empty Gallery HOT 12
- How to call launcher in java project? HOT 2
- Not working in android 33 HOT 13
- Permission Camera Problems on Android 31 and up HOT 5
- Image model does not include the path variable HOT 1
- uri must not be null HOT 1
- Failed to resolve: com.github.nguyenhoanglam:ImagePicker:1.5.5 HOT 2
- Any Java implementation example? HOT 2
- Not working in Android 9 HOT 3
- Lock camera orientation to portrait mode.
- CAMERA Permission HOT 2
- Is there any way to handle the callback from toolbar back icon HOT 4
- Camera related question HOT 7
- Crashing on Android 13 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagepicker.