Comments (12)
Hey guys, simply by adding android:requestLegacyExternalStorage="true"
to your <application>
tag in AndroidManifest should fix the problem for now. Anyone tried?
from bsimagepicker.
Guess for now you would have to lower the target SDK version, but I will make it in the future version. Thanks for the report!
from bsimagepicker.
Having the same issue here. when are you going to fix it for Q api 29?
what else can be done to get around it?
Ran into this myself. You can get around this by feeding glide the Uri instead of the path
how to do this?
from bsimagepicker.
Ran into this myself. You can get around this by feeding glide the Uri instead of the path
from bsimagepicker.
It's one of the overloaded methods ... Can't remember off the top of my head. Make sure you use the latest glide too.
from bsimagepicker.
hi, any progress here?
from bsimagepicker.
Hi , Any progress for Android Q ?
from bsimagepicker.
Sorry guys I have been quite busy recently, but I will try to get this done this month. If not this month may be in Februaray then.
from bsimagepicker.
Ran into this myself. You can get around this by feeding glide the Uri instead of the path
Hi, just tried it with passing the uri. Still doesn't work. Any workaround for the mean time?
from bsimagepicker.
Hi, works great! Thank you very much.
from bsimagepicker.
Guys, yesterday I spent quite some time looking into this and I still cannot find a way to do it perfectly in all versions. I think there are still quite a lack of resources about this topic in the community, and even the Android documentation has not updated yet 🤷♂
So for now I decided to just leave it as the original way and just use android:requestLegacyExternalStorage="true"
.
from bsimagepicker.
Seems to work fine with glide.
@Override
public void loadImage(Uri imageUri, ImageView ivImage)
{
Glide.with(this).load(imageUri).into(ivImage);
}
but you need to do some magic in public void onSingleImageSelected(Uri uri, String tag)
to be able to do something with the image afterwards. Mainly copying the image to local cache using file descriptor. You can read more about it here:
https://medium.com/@sriramaripirala/android-10-open-failed-eacces-permission-denied-da8b630a89df
After doing those things it works as intended for me without needing the android:requestLegacyExternalStorage="true"
from bsimagepicker.
Related Issues (20)
- [Question] Set default front/back camera HOT 4
- Preview not working HOT 14
- How to use in Xamarin.Android? HOT 1
- How to convert Android.Net.Uri to Stream? HOT 1
- Don't have BSImagePicker.ImageLoaderDelegate
- Images Rotates during selection HOT 5
- is it possible to show as it is selected if we reopen image picker? HOT 3
- Convert Selected Images to Base64 strings HOT 1
- ** Not working with Android X ** HOT 1
- Camera icon not showing HOT 2
- Glide does not show images on Android Q HOT 1
- File not Found HOT 1
- Can we change the layout to curved edges and selection tick to different image ? HOT 1
- Pick video? HOT 1
- bug on onRequestPermissionsResult in BSImagePicker HOT 4
- camera in multi image selection HOT 1
- Getting No Such File or Directory HOT 1
- Image Picker dialog does not close automatically after choosing image from gallery HOT 1
- Bottombar Done TextView set enable
- add camera and folder option in multi selection image
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 bsimagepicker.