Page 1 of 1

iOS 7.0 Camera, LiveCode 6.5 problems

Posted: Sun Dec 15, 2013 5:49 pm
by joel.epsteinBUS31vi
Hi all -

Perhaps I'm doing something wrong, but I'm having consistent problems with the following:

Code: Select all

on mouseUp
    set the lockloc of the templateimage to true
    set the width of the templateimage to "300"
    set the height of the templateimage to "400"
    set the left of the templateimage to "10"
    set the top of the templateimage to "10"
    mobilePickPhoto "camera"
end mouseUp
When running the above on my device (iPhone 4S running iOS 7.0.3 and LiveCode 6.5.0 (build 3009), the camera control does indeed come up, and I can take a photo, but when I get to the point that I tap "use photo" the application just quits.

Same behavior happens if I use "front camera" or "rear camera."

The odd thing is, however, that when I replace "camera" with "library," I'm able to successfully pick an image from my library and it appears on the card.

So, I'm wondering if there's some sort of bug with LiveCode 6.5 and iOS 7 when it comes to capturing an image. Or, perhaps, I need to do something different with captured images instead of images from the library? Any advice?

Thanks so much.

Joel

Re: iOS 7.0 Camera, LiveCode 6.5 problems

Posted: Sun Dec 15, 2013 8:21 pm
by Dixie
Joel...

I was messing with this the other day.. this works for me on a device

Re: iOS 7.0 Camera, LiveCode 6.5 problems

Posted: Sun Dec 15, 2013 9:11 pm
by joel.epsteinBUS31vi
Hi Dixie -

Thanks so much for taking time to send this my way. It does indeed work. But... the first two times I tried it on my device it crashed. Odd... I'll reboot and try it again.

Peace.

Joel