Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Lantern / FlashLight sample
Started by FAVIO007 Dec 03 2014 07:13 AM

1 reply to this topic
lantern flashlight
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

FAVIO007

[GLOBAL: userInfoPane.html]
FAVIO007
  • Observer

  • 14 posts
  • Corona SDK

Could you some of you provide me a help on this topic?

I need your help in order to develop an application that emulates a lantern. I mean, I need to understand if there is a sample/code/command in order to check if the device has a back flashlight and then how to turn on/off that light (for Android/Ios).

I do appreciate your help on this topic.

I do apologize if that topic doesn’t belong to that category



[TOPIC: post.html]
#2

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

Hi @FAVIO007,

At this time, there is not a built-in function to Corona SDK to access and operate the device's "lantern". However, you could do this using Corona Enterprise if you wish. The following tutorials are an introduction to Enterprise and illustrate how this could be done:

 

http://coronalabs.com/blog/2014/03/18/tutorial-corona-enterprise-quickstart-ios/

http://coronalabs.com/blog/2014/04/01/tutorial-corona-enterprise-quickstart-android/

 

Best regards,

Brent




[topic_controls]
[/topic_controls]