Comments (4)
On another phone i am getting the error
Image file creation failed
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively0(Native Method)
at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:280)
at java.io.File.createNewFile(File.java:948)
at java.io.File.createTempFile(File.java:1862)
at in.lulumall.loyalty.MainActivity.create_image(MainActivity.java:507)
at in.lulumall.loyalty.MainActivity.access$400(MainActivity.java:58)
at in.lulumall.loyalty.MainActivity$2.onShowFileChooser(MainActivity.java:226)
from android-smartwebview.
you haven't provided proper permissions to the app.
from android-smartwebview.
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.CAMERA"/>
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-feature android:name="android.hardware.camera" android:required="true" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
These are the permissions i gave. But this error is not in all models, few models above Android 6
from android-smartwebview.
Can I get details of both devices? including SDK, RAM, ROM and also Manufacturer if not using virtual device.
from android-smartwebview.
Related Issues (20)
- QUERY_ALL_PACKAGES permission HOT 2
- Btc HOT 2
- 404 error on documentation links HOT 2
- Admod (Banner Ads) Not active on ver 0.2 HOT 6
- File upload error with all device (Tested) HOT 3
- Failed to post notification on channel HOT 1
- Chainlist HOT 2
- Camera Don't Open for Taking Pics, Permission Requested Only HOT 2
- camera cause app crash HOT 2
- In Android Studio emulator, Android 13 is unable to open the image picker HOT 1
- camera only input field app crash HOT 3
- app crashes on when I select layout 1
- Camera/Files Upload crashes app on Android 13 HOT 1
- Clear cache after closing app?
- r built problem HOT 1
- App Crashes and Close When Click on External URL to Open in Mobile Browser HOT 2
- app crash and exit whit changing ASWV_LAYOUT to 1 in config HOT 1
- Exit app confirmation not working HOT 3
- Webcam Access Not Working
- File input doesn't work on Android 13
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 android-smartwebview.