Comments (6)
@tanoDxyz Just request WRITE_EXTERNAL_STORAGE without adding requestLegacyExternalStorage into androidmanifest can not work at api 29.
In the end what I did was using uri in above 28 and file in other
from photoeditor.
@haianhsing Seems like the sample app does NOT have the READ WRITE storage permission.
from photoeditor.
@burhanrashid52 Fails despite having read and write permissions.
Finally, I download source code and use uri to save without read and write permissions.
from photoeditor.
@haianhsing
i wrote the sample app's file saving code
basically library (PhotoEditor) understands file paths and FileSaveHelper uses URI
and write at that path.
it is a good thing if we have file saving code inside library but let @burhanrashid52 decide that.
moreover on topic
if you have android 10.
please add video etc and also share your manifest. so i can have better idea that what is wrong going onπ
from photoeditor.
@tanoDxyz Though request WRITE_EXTERNAL_STORAGE permission and set android:requestLegacyExternalStorage="true" can use file path to save image, I think use uri to save image is the better idea.
from photoeditor.
@haianhsing
please checkout the sample app in photoEditor.
it just declares WRITE_EXTERNAL_STAORAGE
upto api 28
and remove
requestLegacyExternalStorage
from your manifest
and your code will work fine.
remember requestLegacyExternalStorage does not work on higher api levels.
so please do not use it.
from photoeditor.
Related Issues (20)
- Make ViewState public, and return back the final Bitmap after saveAsFile HOT 9
- How to scale source image to fit the space HOT 6
- After save image, the width and height of new saved image was shrink, not like original image size. HOT 2
- After Applying Filter (save image showing black) HOT 2
- Ability to make collage HOT 3
- When app opens Camera photos it rotates them HOT 4
- Trying to draw too large bitmap HOT 2
- mPhotoEditor.addImage(bitmap) is not resovled or found in the latest version HOT 2
- Share to PhotoEditor HOT 2
- Open app on blank slate HOT 2
- Adjustable/customizable filters HOT 2
- Edit and resize shape HOT 2
- Initial set image is appearing smaller than the original size HOT 1
- help for install HOT 2
- Can I Apply Colors On Photo Editor View HOT 3
- How to know that undo and redo option is available HOT 3
- Add Button-Controlled Image Rotation Feature HOT 4
- make a list of layers HOT 2
- Is there a way to save the modifications made to an image, but not the result image itself? HOT 2
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 photoeditor.