Possible Duplicate:
Calling camera from an activity, capturing an image and uploading to a server
I need to build an application that will start the camera, take a photo, save that phto to the sdcard, and then upload this photo to a .net server without altering it’s quality, any one got an idea?
you already wrote the solution ^^ To start the camera app use:
Then you need a ActivityResulListener Like:
After storing the Picture you have to perform a Post Request to load the picture in the web, you need script wich is copying the file to the server, maybe asp.net and than you only have to perform the Request. I only have a code for https Requests with credentials, using a External Libary from appache, this might be a little bit too complicated, but I’m sure you will finde a code here, otherwise my solution looks like: