Page 1 of 2

Saving Image

Posted: Wed Nov 14, 2012 3:05 pm
by Neil A Singh

Hello, I am able to access the camera and take a pic but I am unable to save it . Can you help me figure how to do that?


Saving Image

Posted: Wed Nov 14, 2012 3:31 pm
by Maryna Brodina

Hello! You can check where the pictures saved. Try to set Camera type to URL, for the Camera on Success event Run Custom JS

alert(arguments[0].imageURI);

After invoking Camera on device you should get an alert with the image location. You can save that image into the local storage and then access that image.


Saving Image

Posted: Wed Nov 14, 2012 4:34 pm
by Emmz

Saving Image

Posted: Sat Jun 07, 2014 8:20 am
by B510

Hello,

I am in this problem now, I able to take picture and show it to an image box, but don't know how to save it to database.
I have set the Camera type to URL . and put the alert in on Success event..
it shown "Undefined"

could you please advise?

Thanks


Saving Image

Posted: Sat Jun 07, 2014 8:25 am
by Alena Prykhodko

This should help. You need to add upload service http://devcenter.appery.io/tutorials/...


Saving Image

Posted: Sat Jun 07, 2014 8:44 am
by B510

I have followed ..
I put alert ..in error event..
error thrown .. Unauthorized ..

What does it mean?
is it limitation of Starter package?

please help

thank you


Saving Image

Posted: Sat Jun 07, 2014 9:03 am
by Alena Prykhodko

No, this is because you must likely didn't map as told in the picture http://devcenter.appery.io/wp-content...


Saving Image

Posted: Sat Jun 07, 2014 9:22 am
by B510

it mapped ..
and I show you my config for your review ..
what that make me confuse is there is fail when test to upload..

Image Image


Saving Image

Posted: Sat Jun 07, 2014 9:23 am
by B510

Saving Image

Posted: Sat Jun 07, 2014 9:23 am
by B510