Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

capture image and push to server

 
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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??
 
Saloon Keeper
Posts: 7235
169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 7235
169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic