KorryRogers
Posts: 0
Joined: Fri Aug 15, 2014 2:53 am

Upload Image File From Camera

I've got my app setup so that it will take a picture and post the base64 string back to my appery database. This all works properly. What I need to know is whether or not I can upload an image directly to the Appery files database and whether or not that file database API will work natively on Android and iOS. I've read this tutorial: http://devcenter.appery.io/tutorials/... and I was wondering if it's possible to post the fileURI directly from the camera back to the files database.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Upload Image File From Camera

Hi Korry -

In this tutorial 'uploadMultipleFilesHelper' function read HTML form-input content and uploads to DB. (by the way this method won't work for Android 4.4.4 look here: https://getsatisfaction.com/apperyio/...)

And if you want to read file from the device you will need to use PhoneGap File API for this - http://docs.phonegap.com/en/3.3.0/cor...

Return to “Issues”