Page 1 of 1
Taking photo without the Apple Tool visible
Posted: Mon Jul 25, 2011 1:55 pm
by fpierron
Hi,
I want to take photo inside my App without launching the Apple camera tools.
I would like to get the camera stream into a rect and then take the photo throught my app and save it inside my App and not into the Apple Camera roll.
Is it possible ? It seems that the iPhonePickPhoto launches the apple camera tool and you cannot take picture without it.
Frédéric
Re: Taking photo without the Apple Tool visible
Posted: Mon Jul 25, 2011 2:00 pm
by Jellicle
fpierron wrote:Is it possible ?
You have to use the iPhone camera and Apple's camera software to capture the image, but after that you can do whatever you want with it - save it locally, upload it etc.
Gerry
Re: Taking photo without the Apple Tool visible
Posted: Mon Jul 25, 2011 2:40 pm
by fpierron
Yes, I know that, thanks.
Actually, I would like to use the AV framework to get the photo without using the Apple camera control because I need to automate the capture process and the apple camera control needs a human interaction to take a picture.
Frédéric
Re: Taking photo without the Apple Tool visible
Posted: Mon Jul 25, 2011 10:26 pm
by Jellicle
Sadly you are out of luck - that's not possible.
Re: Taking photo without the Apple Tool visible
Posted: Thu Dec 08, 2011 2:00 am
by kvn
I do apologize for resurrecting this old thread, but my question is so identical I didn't see a need to re-ask in a new thread.
Since this post was 6 months ago, I was wondering if there have been any advancements in this area? I would also like to use my own custom UI for a particular camera app I have in mind... can this even be achieved by creating custom functions/commands with Obj-C to integrate with LiveCode? Or is it a limitation from Apple's side that does not make such things accessible via LiveCode?
Thanks for the feedback.
Re: Taking photo without the Apple Tool visible
Posted: Thu Dec 08, 2011 3:56 am
by Jellicle
I'm sure you could write an external that implements your own camera tools - there are many apps that do that on the app store. Some of those apps let you eg. do multiple or timed photos without user intervention, so Apple is cool with that.
Gerry
Re: Taking photo without the Apple Tool visible
Posted: Thu Dec 08, 2011 4:55 am
by kvn
Hmm... ok, well that's good to know that it is at least possible. Bad news is that I will need to get back into Obj-C for that. My goal is that I need to basically overlay my own custom UI on the camera view.. my app is essentially a camera app, thus without the ability to customize the camera UI, I'm hosed
Any idea where I would begin to learn how to do this with externals? I've started with the existing externals videos here, but any further direction would be very helpful. Always a bit challenging and overwhelming when you're getting into something new and trying to find your way
Thanks for your feedback.
Re: Taking photo without the Apple Tool visible
Posted: Thu May 09, 2013 11:34 am
by Mag
I also have this problem as kvn (but for implementing in an Android app), any news about this? Thanks
PS
In Xcode you can use the video recording feature to accomplish this, search for "How to capture video frames from the camera as images using AV Foundation on iOS"
Re: Taking photo without the Apple Tool visible
Posted: Thu May 09, 2013 11:58 am
by Jellicle
Since I replied a while back Monte Goulding has released an AV framework external for iOS (mergAV), available from
http://mergext.com. It can place a camera view anywhere on the screen and capture video and photographs.
Gerry
Re: Taking photo without the Apple Tool visible
Posted: Thu May 09, 2013 2:24 pm
by Mag
Hi Gerry! Thanks to you and kudos (as usual) to Monte!
Re: Taking photo without the Apple Tool visible
Posted: Thu May 09, 2013 2:35 pm
by Mag
Oops, just learned that it's only for iOS... Actually I need a solution for Android
"mergAV is an iOS external that adds functions and commands related to the AVFoundation framework."