News for hackers. Stuff that matters.
Re:“Stylish” is back, and you still shouldn't use it by charleslmunger on Wednesday November 28, 2018 @07:41PM (#18557159)
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.
Re:“Stylish” is back, and you still shouldn't use it by dwild on Thursday November 29, 2018 @10:03AM (#18560645)
> 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.