I need to build an app that takes a camera image and uploads it to the web where some processing is to be done and a true/false is returned. I encounter some questions in this respect on which a clarification would be well appreciated.
1.) Is there any way my app can know image being captured by the android camera? What I understood from here (Android: BroadcastReceiver intent to Detect Camera Photo Taken?) is that we can know whenever a picture has been added to the phone,be it via Bluetooth or through a camera capture or otherwise. Any way that is just fine. The question is doesn't that need my app to run in the background so as to detect change in media store? If that is the case I can make my app to open the camera and then capture the image which will be more efficient in terms of power.
2.) Is there any limitation to the size of the image that can be send from an android phone to the web? Considering that the RAM of the android phones is less etc.(I am asking this b'coz I encountered a similar issue in another app where I needed to do things like increasing the brightness,contrast etc..The app crashed when the image size was greater than 10MB).
"I don't want to reinvent the wheel and waste my time" :)