We need an android activity with minSdkVersion="10" and targetSdkVersion="17" which gets an image from the camera and sends it to a server as httppost.
The activity will be called as an intent from other activities of the same application. The intent will get two arguments (extras).
Extra 1: CAMERA_TYPE
Extra 2: SERVER_ADDRESS
The activity will get the image from the camera, according to the CAMERA_TYPE and send it as httppost to SERVER_ADDRESS allong with
the IMEI of the device. (HttpResponse response = [url removed, login to view](httppost);)
When the intent is called the preview surface should be invisible so as the application user wouldn't notice that the application is grabing the image from the camera.
In order to test the activity it should be delivered as part of an application with minSdkVersion="10" and targetSdkVersion="17" and the intent should get called by a simple form from the main activity with the CAMERA_TYPE and SERVER_ADDRESS as text fields