3 ms·
On Android, camera is a separate permission from reading storage. In addition, the permission is not even required if you're just getting a photo from the user
by charleslmunger 8y ago
On Android, camera is a separate permission from reading storage. In addition, the permission is not even required if you're just getting a photo from the user - your app can launch the camera app, and get a callback when the user has taken a photo, with access only to that photo.
- dwild 8y ago> your app can launch the camera app, and get a callback when the user has taken a photo, with access only to that photo I did that on an Android app I had to build for a client. It was quite a nightmare to make it works on different phone because many manufacturer added their own camera apps. Some were giving a full size image, other were giving a tiny thumbnail, but you were able to get the full size from the file system, but some didn't returned anything at all, so to actually get the picture, I had to scan the gallery pictures beforehand, scan it afterward, and take the new one. It was a long time ago though, near 2011, Honeycomb was just released, so maybe it's different now but I seriously doubt it.