Hi,
I am trying to use Appery to build an app. One of the functions involves selecting and uploading an existing photo from the device's photo gallery. How can I do this?
Any detailed explanation would be much appreciated. Thanks.
Bob
Hi,
I am trying to use Appery to build an app. One of the functions involves selecting and uploading an existing photo from the device's photo gallery. How can I do this?
Any detailed explanation would be much appreciated. Thanks.
Bob
Hello! You can use Camera service with sourcetype = Photolibrary or Saved photo album.
Thanks. That's very helpful. I'm new to Appery. With that said, how do I pass the taken photo to the next page? Thanks.
Save it to localStorage and read from localStorage on the second page.
ok, I mapped it in the data source to a local variable called userphoto. On the next screen, do I read it using an event? If so, what event type and action should I use? Thanks again
Hello Bob,
It depends on your app logic, for more information please look here http://docs.appery.io/documentation/w...
can you advise how to read it from localStorage on the second page please? thanks.
Hello! It depends on what are you going to do. You can bind localStorage variable to a component http://docs.appery.io/tutorials/build... and retrieve it's value using JS code http://msdn.microsoft.com/en-us/libra...
Hi,
The app is taking a photo using the camera on one screen, storing it in a localstorage variable, and then displays it on the following screen. I can get it to display the image from the stored variable on the first page, but can't seem to read it on the following page. What event type needs to be fired on page 2 to get it to read properly?
Hello,
Please try to use page load event. http://docs.appery.io/documentation/w...