Photos to database or folder then showing them

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
jakea782
Posts: 26
Joined: Wed Dec 11, 2013 4:43 pm

Photos to database or folder then showing them

Post by jakea782 » Sat Jun 27, 2015 9:24 am

I'm having a bit of trouble figuring out how to take a picture then save it to a database or folder and letting it be shown in a field or a grid. Here's the process i'm trying to figure out.

1. Bring up camera to take photo
2. Take photo
3. Photo is saved to a database or phone folder
4. Display photo in a section of my app c/o a filed or grid
5. User can browse through photos later by scrolling through this field with them

Hope that makes sense.

zaxos
Posts: 222
Joined: Thu May 23, 2013 11:15 pm

Re: Photos to database or folder then showing them

Post by zaxos » Sat Jun 27, 2015 7:33 pm

Hey there, for the database part you first of all you have to set the mode of the column in the database to BLOB then in livecode dictionary search for base64Encode and base64Decode, i believe you will find all the info you need from there and on, for the camera part i'm afraid i have no idia.
EDIT: mobilePickPhoto maybe? look it up in the dictionary.
Knowledge is meant to be shared.

Post Reply