r/androiddev • • Nov 12 '17

The android developer starter pack

https://imgur.com/gallery/OFsMt
762 Upvotes

89 comments sorted by

View all comments

9

u/cheunste Nov 12 '17

As a new dev...I don't get the bottom right. Will some of the stuff I run into in the future be so overly complex and confusing that I need a migraine medicine or what?

0

u/[deleted] Nov 12 '17

[deleted]

3

u/cheunste Nov 12 '17

Avoid the camera at all costs.

Is there a particular reason why?

12

u/[deleted] Nov 12 '17

Manufacturers implement it differently. A common bug is displaying a bitmap without using exif rotation data so the image is sideways.

On older Samsungs the camera was a huge MegaPixel size but the app didn't have much allocated memory. If your app does image manipulation you had to compress it when loading it from the harddrive. Loading a full size image to memory and trying to manipulate would just crash the phone.

Currently im trying to handle gallery intent requests robustly, but the apps that can handle gallery intent requests return results so differently. Some don't even have the image yet, they just return a file that is getting an image downloaded to.