Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

airplain mode
Started by maub69 Dec 13 2016 08:12 AM

1 reply to this topic
airplain ofline hardware control
[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

maub69

[GLOBAL: userInfoPane.html]
maub69
  • Observer

  • 2 posts
  • Corona SDK

Hello everyone,

I'm looking for a cross-platform framework that allows me to directly set the phone settings.

I'd like to know if in the CORONA SDK framework exists an API to set the airplain mode (offline mode).

Thanks for the answers.

 

Maurizio



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,376 posts
  • Enterprise

I don't know about Android, but I've never seen an iOS app be able to change the Airplane mode setting. Airplane mode exists as a safety feature and I don't believe that the OS makers would risk the legal liability to allow it to be set programmatically.

 

Corona SDK does not have an API for this. There may be a URL scheme that lets you open the settings panel.

 

Rob




[topic_controls]
[/topic_controls]