• Post Reply Bookmark Topic Watch Topic
  • New Topic

capture image and push to server

 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Saloon Keeper
Posts: 3326
61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Saloon Keeper
Posts: 3326
61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!