MobilePickPhoto Error
Posted: Mon Aug 20, 2012 8:57 pm
Hello All,
While using the command MobilePickPhoto "camera" on my Android Devices, I experienced: "Error: could not create temporary image file". I have searched the forums and the broader web and it seems like no one else has run into this problem.
I am using LC 5.5.1 and my Android Devices are the Samsung Galaxy Tab 2 and the Samsung Stealth V.
Here is my code that I am calling:
So every time the 'answer the result' line is encountered, the error shows up.
Any ideas? Thanks.
Jacob
While using the command MobilePickPhoto "camera" on my Android Devices, I experienced: "Error: could not create temporary image file". I have searched the forums and the broader web and it seems like no one else has run into this problem.
I am using LC 5.5.1 and my Android Devices are the Samsung Galaxy Tab 2 and the Samsung Stealth V.
Here is my code that I am calling:
Code: Select all
on mouseUp
set the name of the templateimage to "DataEntry"
set the width of the templateimage to 240
set the height of the templateimage to 320
set the visible of the templateimage to false
if exists(img "DataEntry") then
delete img "DataEntry"
end if
mobilePickPhoto "camera"
answer the result
if exists(image "DataEntry") then
set the width of image "DataEntry" to tWidth
set the height of image "DataEntry" to tHeight
put "" into picData
put base64encode(image "DataEntry") into picData
set the cPicData of this card to picData
--Now change the appearance of the btn so the user knows that a picture has been taken
set the backgroundcolor of me to 0,255,0
end if
end mouseUp
Any ideas? Thanks.
Jacob