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 » Mon Dec 21, 2015 8:03 pm

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: 1579
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: mobile camera

Post by MaxV » Mon Jan 04, 2016 12:47 pm

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: 1579
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: mobile camera

Post by MaxV » Mon Jan 08, 2018 10:44 am

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: 1579
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: mobile camera

Post by MaxV » Mon Jan 08, 2018 6:30 pm

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: 7215
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: mobile camera

Post by jacque » Tue Jan 09, 2018 6:24 pm

Advanced camera controls are in the Business edition.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

MaxV
Posts: 1579
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: mobile camera

Post by MaxV » 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?
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: 7215
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: mobile camera

Post by jacque » Wed Jan 10, 2018 11:29 pm

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
Location: Göttingen, DE

Re: mobile camera

Post by [-hh] » Wed Jan 10, 2018 11:40 pm

AFAIK, all advanced features are NOT available for Android.
shiftLock happens

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: mobile camera

Post by FourthWorld » Thu Jan 11, 2018 12:15 am

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 » Thu Jan 11, 2018 2:20 pm

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: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: mobile camera

Post by FourthWorld » Thu Jan 11, 2018 4:59 pm

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 » Thu Jan 11, 2018 5:23 pm

I wanted to access the flash light and the light sensor

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: mobile camera

Post by FourthWorld » Thu Jan 11, 2018 8:55 pm

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: 135
Joined: Mon Jul 31, 2006 1:39 am
Location: New Zealand, Australia, Germany, Japan
Contact:

Re: mobile camera

Post by strongbow » Sat Jan 13, 2018 1:07 am

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

Return to “Android Deployment”