Camera picture to a button or image

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
tyarmsteadBUSuSfT
Posts: 151
Joined: Sat Aug 25, 2012 1:14 am

Camera picture to a button or image

Post by tyarmsteadBUSuSfT » Sun Oct 20, 2013 7:22 pm

I know I'm missing something as I've tried to use the MobilePickPhoto to allow the use to take a picture and have the app set it as a large button icon or as an image on the screen to be saved. I have tired a number of options including:

mobilePickPhoto "camara", 200,200
if it is "cancel" then exit mouseUp
put the short name of last image into image.png
set the customproperties image "itemPic" to image.png
set the visible of image "itemPic" to true

I have use image and button as the target.
It will display as the templateimage on the screen but not into the button or image file

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Camera picture to a button or image

Post by LCNeil » Mon Oct 21, 2013 11:33 am

Hi tyarmsteadBUSuSfT,

Please find attached a stack that should be able to help you with taking pictures and setting an pre existing image to this new image.

Kind Regards,

Neil Roger

--
RunRev Support Team ~ http://www.runrev.com
--
Attachments
hideimage.livecode.zip
(1.64 KiB) Downloaded 198 times

tyarmsteadBUSuSfT
Posts: 151
Joined: Sat Aug 25, 2012 1:14 am

Re: Camera picture to a button or image

Post by tyarmsteadBUSuSfT » Mon Oct 21, 2013 11:29 pm

thank you Neil,
Tyrone

Post Reply