mobile camera

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
flipjay
Posts: 8
Joined: Tue Mar 25, 2014 8:02 pm

mobile camera

Post by flipjay »

I am trying to build a robot application for the Kindle fire. OS 5 and api 22.

Using mobilePickPhoto "camera" does in fact open the camera app but:
1) Using the rear facing camera
2) Requires the user to press the shutter release to take a photo

mobilePickPhoto "front camera" does not solve 1 above.

Also upon capturing the photo manually, I still must (manually shut down the camera app.
I would expect to have live code access to the image however it seems the return is empty.

Any help would be greatly appreciated!

My objective is to place the Kindle Fire inside a closed portable device and be able to automatically obtain a front camera image to process without human intervention.
MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: mobile camera

Post by MaxV »

Advanced mobile camera support will be only available in livecode 8 licensed version (no community).
As you pointed at the present livecode just launches the Android camera program and user has to change rear/front camera and click.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: mobile camera

Post by MaxV »

First: I suggest you to open new thread, otherwise very old and long thread are usually ignored.
Second: what version of livecode do you use? Community (free) or any commercial version?
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: mobile camera

Post by MaxV »

The advanced features about camera are not public, so you have to contact support@livecode.com to know if you can do it with the commercial versions.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: mobile camera

Post by jacque »

Advanced camera controls are in the Business edition.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: mobile camera

Post by MaxV »

jacque wrote: Tue Jan 09, 2018 6:24 pm Advanced camera controls are in the Business edition.
Where is this information?
Could you write what are these advanced features?
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: mobile camera

Post by jacque »

MaxV wrote: Wed Jan 10, 2018 4:42 pm
jacque wrote: Tue Jan 09, 2018 6:24 pm Advanced camera controls are in the Business edition.
Where is this information?
Could you write what are these advanced features?
It's in the release notes, page 39. The advanced controls are also in Indy apparently.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: mobile camera

Post by [-hh] »

AFAIK, all advanced features are NOT available for Android.
shiftLock happens
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: mobile camera

Post by FourthWorld »

What rymonsandy described sounds like a bug. Doesn't sound advanced features are needed, just the ones that are there need to work.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
DolphinTech
Posts: 10
Joined: Thu Dec 28, 2017 1:33 pm

Re: mobile camera

Post by DolphinTech »

Advanced camera controls are in the Business edition.
Is this a "pay to code" marketing strategy or does this have other reasons?
Are there any workarounds (externals?) for community edition
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: mobile camera

Post by FourthWorld »

Which of the advanced features do you need for this issue?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
DolphinTech
Posts: 10
Joined: Thu Dec 28, 2017 1:33 pm

Re: mobile camera

Post by DolphinTech »

I wanted to access the flash light and the light sensor
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: mobile camera

Post by FourthWorld »

I was hoping to find documentation on the "advanced camera features" to see if those would cover what you need, but I was unable to turn up anything at LiveCode.com and the Release Notes for v9 say only:
Allow cameraControl to record without video, or without audio.
The videoDevice & audioDevice cameraControl properties now accept the empty string in order to
disable recording from those input devices.
I think there's probably more to the "advanced camera features" than that. But where are they documented?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
strongbow
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 151
Joined: Mon Jul 31, 2006 1:39 am
Contact:

Re: mobile camera

Post by strongbow »

Look up "cameracontrol" in the dictionary. At least in LC 8.1.7 and updated with more features in LC 9.0 DP8 (I think).

HTH
Post Reply