Comments (3)
When i choose photo from gallery and click camera sometime is not set. Help please
from mediapicker.
Hi @pandeyankur0007
Can you give more details about your issue? What kind of device do you have?
from mediapicker.
`@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (requestCode == ImagePicker.IMAGE_PICKER_REQUEST_CODE && resultCode == RESULT_OK) {
List<String> mPaths = (List<String>) data.getSerializableExtra(ImagePicker.EXTRA_IMAGE_PATH);
filePath = mPaths.get(0);
RoundedBitmapDrawable circularBitmapDrawable =
RoundedBitmapDrawableFactory.create(activity.getResources(), BitmapFactory.decodeFile(mPaths.get(0)));
circularBitmapDrawable.setCircular(true);
iv_user_profile.setImageDrawable(circularBitmapDrawable);
iv_background.setImageBitmap(BitmapFactory.decodeFile(mPaths.get(0)));
}
}
`
some time image is set not every time. Device moto G(2nd generation).
from mediapicker.
Related Issues (20)
- Doesn't call doInBackground in ImageActivity
- Create 2.4.5
- App crashes if user presses back button when ImageActivity is gone
- not getting intent data after selecting image from image picker
- Acvitity freeze HOT 1
- VideoPicker for get video only result a splash after choose a video file.
- Not working Android 10 HOT 1
- Performing pause of activity that is not resumed
- How can i set maximum video record duration on camera in this library?
- Manifest merger failed HOT 2
- Unable to start activity
- getting issue in Android 30 HOT 8
- Library will become inaccessible May 1st 2021 - Bintray is shutting down HOT 1
- Manifest merger failed with multiple errors
- Force close when get image from camera in Kitkat HOT 1
- How to set only camera intent?
- NullPointerException ImageActivity:397 When selecting from Google Photos HOT 1
- Failed to resolve: MediaPicker:libary:unspecified HOT 3
- Thanks
- android.content.ActivityNotFoundException
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 mediapicker.