File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes capture image and push to server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "capture image and push to server" Watch "capture image and push to server" New topic
Author

capture image and push to server

Suzzane Pinto
Ranch Hand

Joined: Feb 10, 2012
Posts: 214
hello friends...

I am trying to develop an andriod application where i want to capture image using default camera in mobile and save the image into the server.
can somebody help with the approach??
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
I found http://www.41post.com/3470/programming/android-retrieving-the-camera-preview-as-a-pixel-array, http://www.androiddevblog.net/android/programming-camera-in-android and http://groups.google.com/group/android-developers/browse_thread/thread/c85e829ab209ceea helpful.

Between them, the articles describe most of the pieces to capture an image and store it to the SD card. The rest is just uploading the binary data to a server.
Suzzane Pinto
Ranch Hand

Joined: Feb 10, 2012
Posts: 214
thankyou, that was really usefull
but what if i want to just capture and send to the server without saving to the sdcard??
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
No problem. Once you have the bytes that make up the image, you can do anything you want with them, including uploading them to a server by some means. Storing those on the SD card is optional.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: capture image and push to server