Get image from mobile camera
Posted: Wed Jan 04, 2012 6:59 pm
I have tried:
on mouseUp
## This is the only way to name an imge BEFORE it is created
set the name of the templateimage to "harry"
mobilePickPhoto "front camera" ,100 , 100
if the result <> empty then
--put the result into image "image1"
put "harry" into image "image1"
EXIT mouseup
end if
## Succes, now you can use the new image
end mouseUp
Whichever out method I use the image is not shown in image1 it is in the centre of the stack.
Also if I run the stack within livecode I get an error on line ' mobilePickPhoto "front camera" ,100 , 100 '
stating
Line 4 (Handler: can't find handler) near "mobilePickPhoto", char 1
Cheers
SteveW
on mouseUp
## This is the only way to name an imge BEFORE it is created
set the name of the templateimage to "harry"
mobilePickPhoto "front camera" ,100 , 100
if the result <> empty then
--put the result into image "image1"
put "harry" into image "image1"
EXIT mouseup
end if
## Succes, now you can use the new image
end mouseUp
Whichever out method I use the image is not shown in image1 it is in the centre of the stack.
Also if I run the stack within livecode I get an error on line ' mobilePickPhoto "front camera" ,100 , 100 '
stating
Line 4 (Handler: can't find handler) near "mobilePickPhoto", char 1
Cheers
SteveW