Questions tagged [airplane]

Airplane is a setting to disable the device's signal transmitting functions on mobile devices.

Airplane mode is a setting available on most modern mobile electronic devices like cellphone, tablet and etc. that when engaged, suspends the device's signal transmitting functions (both WIFI and Cellular network), thereby disabling the device's capacity to place or receive calls or text messages or access internet, while still permitting use of other functions, and let user use the device in some restricted area like Airplane.

108 questions
1
vote
0 answers

Bluetooth not working properly

I have an app that communicates between two iPhones with Bluetooth. When a play is made on one device it shows on the other. I want to use it on an airplane for trips however if I turn ON airplane mode and then turn ON Bluetooth the app doesn't…
user1114881
  • 727
  • 1
  • 12
  • 23
1
vote
2 answers

How to restart airplane mode programmatically iphone

I am studying about coding and I got a question to control airplane mode in iphone programmatically For android phone, we can use usb connection and adb to send unix command to control airplane mode. Is there any possibility to control airplane…
NBB
  • 97
  • 1
  • 3
  • 12
1
vote
0 answers

Region monitoring while Device is in Airplane mode

I can see that from iOS 8.3 onwards , location services are working fine in airplane mode and per second locations are delivered. But I am not able to get the region monitoring ie, region exit or region enter when device is in ariplane mode. Can…
1
vote
2 answers

App to turn off airplane mode on android

First little background why i need to write this app. My phone got wet and unfortunately screen doesn't work now (I can't see anything and I can't press anything). Phone has airplane mode turn on so my photos cannot synchronize. I cannot connect…
thorgil
  • 41
  • 1
  • 5
1
vote
2 answers

How to detect airplane mode on whole application in android

I am working on developing an Android app that will detect airplane mode throughout whole application. where to i add this code? @SuppressWarnings("deprecation") @TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1) public static boolean…
Raj
  • 807
  • 1
  • 8
  • 33
1
vote
0 answers

How to prevent CoreData from completing iCloud Ubiquity setup/merging during testing?

I'm following the docs/guide here: https://developer.apple.com/library/ios/documentation/DataManagement/Conceptual/UsingCoreDataWithiCloudPG/UsingSQLiteStoragewithiCloud/UsingSQLiteStoragewithiCloud.html#//apple_ref/doc/uid/TP40013491-CH3 After…
Kenny Wyland
  • 19,242
  • 24
  • 109
  • 205
1
vote
1 answer

Want to find out if iPhone can receive incoming calls (airplane mode)

My application's users don't like interruptions like incoming phone calls. I want to find out if the device is in Airplane mode, warn the user about possible interruptions and recommend invoking Airplane mode. The reachability examples tell me if…
iter
  • 3,890
  • 6
  • 31
  • 52
1
vote
0 answers

Check for Airplane mode while data roaming is enabled with Apple's Reachability Class

The below snippet is used to check the network availability in an application using Apple's Reachability class. - (BOOL) networkAvailable{ return connectivityStatus != NotReachable && ![delegate isForcedOutOfCoverage];} isForcedOutOfCoverage is an…
Dhammini F.
  • 339
  • 2
  • 17
1
vote
1 answer

Android System App Permissions

I'm busy trying to add some functions to an app to do things like toggle airplane mode, or change APN settings etc. For this I need permissions like "write_secure_settings" and "write_apn_settings", which are only allowed for system apps. Just for…
RVZ
  • 11
  • 5
1
vote
0 answers

android settings: not found (/system/bin/settings missing)

I've built a tasker like app called Condi. In order to enable disable airplane mode in the latest Jellybeans and higher I use this terminal command: settings put global airplane_mode_on 1 this works well but on some phones the settings command is…
Anton Wolkov
  • 133
  • 10
1
vote
4 answers

How to go to next line after every row in a 2D array?

So I need to come up with something like this: It's a layout of seats on an airplane. 1 A B C D 2 A B C D 3 A B C D 4 A B C D 5 A B C D 6 A B C D 7 A B C D But instead my code prints this: ABCD ABCABCD ABCABCD ABCABCD ABC This is my code, any…
1
vote
0 answers

Airplane mode in HTC devices (Android)

I am trying to make a simple airplane mode toggle app for android. I am able to turn the airplane mode ON but when I toggle it off, the mobile network is not turning back ON on my HTC Thunderbolt (Android 2.3.4). wifi is working fine. Wifi and…
user1720839
  • 91
  • 2
  • 8
1
vote
0 answers

How can I know if airplane mode is on?

Possible Duplicate: Determining if Airplane Mode is enabled on an iPhone? My application is using the GPS, and I check its availability with : if([CLLocationManager locationServicesEnabled] && [CLLocationManager authorizationStatus] ==…
Oyashiro
  • 505
  • 5
  • 18
1
vote
2 answers

Android: LocationManager when Airplane mode on

I am testing the location part of my app with various configurations. In AirPlane mode I don't get any message sent to ILocationListener, good or bad, from the following LocationManager on an Android 2.2. In this case the bestProvider is…
Ian Vink
  • 60,720
  • 99
  • 311
  • 535
0
votes
1 answer

android:null pointer exception in airplane mode

I am making an app in which i have to check whether the device is in airplane mode or not and i am using follwing code and it is null pointer exception .My code is as follows: public static boolean isAirplaneModeOn(Context context) { …
Aditya1510
  • 854
  • 1
  • 14
  • 31