Page 1 of 1

Problem with iphonepickphoto

Posted: Sat Jun 25, 2011 11:17 am
by info26
Hi all,

in my application the user can insert an image in a card but when I call iphonepickphoto the iPhone cakk the PotoPiker or the camera but I cannot selet any image Iphone seems loched, do anithings for exit you can push home button

This is my code There is somethink wrong?

Code: Select all


set the name of the templateimage to "myimage"
iphonepickphoto "library", 92,72
if the result is not empty then
put  image "myimage" into currentImage
delete image "myimage"
put currentImage into image "foto"
 end if
Tell me a suggest
Thank's

Re: Problem with iphonepickphoto episode II

Posted: Wed Jun 29, 2011 5:58 pm
by info26
Hi,


Now the imge import work, but i cannot store it in the correct image field

The image returned, is placed above every other object, seems suspended in the head and not into the desired field

Do you have any suggestions to solve the problem

Thank's

Re: Problem with iphonepickphoto

Posted: Wed Jun 29, 2011 6:20 pm
by Klaus
Hi info26,

maybe it will work, if you check the correct condtition?

Code: Select all

...
set the name of the templateimage to "myimage"
iphonepickphoto "library", 92,72

## The result is empty on success!  :-) 
if the result = empty then
  lock screen
  put img "myimage" into img "foto"
  delete img "myimage"
  unlock screen
end if
...
8)
Best

Klaus

Re: Problem with iphonepickphoto

Posted: Fri Jul 01, 2011 11:28 am
by info26
It works!
Great!

Thank

Klaus

Re: Problem with iphonepickphoto

Posted: Fri Jul 01, 2011 12:09 pm
by Klaus
info26 wrote:It works!
Go figure! 8)