How to use images taken from camera on Android

Hi, done some searching, nothing positive from reading.

I have a task which requires photos to be taken with the device camera and these images uploaded.

Is there any way that Android devices can do this with Corona. From what I can tell Corona does not work with the android camera API nor can I access any files outside of my apps sandbox?

Is this true. If so its a mega let down. Hope someone can enlighten me with a way to do it?

I really need to be able to access a image taken.

Thanks. [import]uid: 118379 topic_id: 29703 reply_id: 329703[/import]

Taking pictures with Corona a couple of years ago was a real bear, now it’s much easier.

Check out:
http://developer.coronalabs.com/reference/index/mediashow#hide

Here’s a solid thread on how to save out as a high res:
http://developer.coronalabs.com/forum/2012/02/12/saving-camera-picture

As for uploading images have a look at:
http://developer.coronalabs.com/code/how-upload-image-server-multipartform-data

The general idea is that the image file needs to be base64 encoded then sent to the server to be decoded by a server side script language like PHP or ASP.net. Both scripts have their own functions that would decode a base64 string and produce an image file from it on the server.

[import]uid: 8045 topic_id: 29703 reply_id: 119231[/import]

HAHAHA, your right. I totally got angry earlier by reading old posts before actually trying, thought i had to buy Enterprise to make it work. That will teach me.

Thanks very much. :slight_smile: [import]uid: 118379 topic_id: 29703 reply_id: 119245[/import]