Comments (5)
android6.x需要加权限判断!
from tedbottompicker.
@knjin
Do you declare CAMERA permission in Manifest.xml?
from tedbottompicker.
yes, I declare CAMERA permission in Menifest.xml.
from tedbottompicker.
@knjin
If we use MediaStore.ACTION_IMAGE_CAPTURE
intent, we don't need any permission for capture.
And developer document told us too like this.
(https://developer.android.com/reference/android/provider/MediaStore.html#ACTION_IMAGE_CAPTURE)
But this issue is very strange.
If you use Camera permission in Manifest.xml, you have to request camera permission for ACTION_IMAGE_CAPTURE
.
Even if you use ``ACTION_IMAGE_CAPTURE` intent , you have to request.
I don't know why we have to request camera permission.
You can check it like this.
- Don't have CAMERA permission in Manifest.xml
-> you dont need request CAMERA permission forACTION_IMAGE_CAPTURE
intent. - Have CAMERA permission in Manifest.xml
-> you have to request CAMERA permission forACTION_IMAGE_CAPTURE
intent.
from tedbottompicker.
@ParkSangGwon
ok ,Thanks your reply.
from tedbottompicker.
Related Issues (20)
- Set allowed image file type (jpg|jpeg)
- ProxyActivity Issue.
- On select Google Photos
- Feature enhancement: Select Multiple images
- cant change background colour
- Mime type HOT 1
- 오타 수정 HOT 1
- Images don't load on Android 10+ HOT 9
- Open Camera throws exception on android 10 HOT 1
- Android Manifest Merge error, caused by file provider
- Do Not Have Gallery Option HOT 1
- Fatal Exception: java.lang.RuntimeException HOT 1
- Only shows external storage images
- How to add my own ImageProvider
- Not working for 1+ phones.
- No method explosed to change the span count of grid view
- Android 11 MediaScannerConnection.java line 250 android.media.MediaScannerConnection.lambda$scanFile$2
- picker를 내리거나 뒤로가기 했을때 콜백을 받지 못하나요?
- Could not resolve all files for configuration ':app:debugRuntimeClasspath'. HOT 1
- android 13 WRITE_EXTERNAL_STORAGE 퍼미션 문제
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 tedbottompicker.