Questions tagged [airplane-mode]

Airplane mode is a setting on mobile devices (smart phones, tablets, etc) that disables the cellular and WiFi radios of the device. Use with an appropriate programming language tag.

101 questions
0
votes
0 answers

App crashes in Airplane mode because of Game Center

So I have a Game that uses Game Center, I used a tutorial online. It authenticates the user when the View did load. To see your leaderboards and achievements, you press a button, and that code is separate from the authentication. It was all working…
user3386154
  • 99
  • 1
  • 10
0
votes
0 answers

Detect if Airplane mode is ON or OFF in iOS

I am trying to detect the airplane mode using private framework - "AppSupport framework". I have changed the content of RadiosPreferences.h file in it. New content is @protocol RadiosPreferencesDelegate -(void)airplaneModeChanged; @end @interface…
Funny
  • 566
  • 5
  • 16
0
votes
3 answers

Turn Off Airplane/Flight Mode automatically if ON

I have written code to ON/OFF AirPlane/Flight mode programmatically, and still i am using two different buttons to control that, one to ON Airplane mode and second to OFF Airplane mode, using below code: @SuppressWarnings("deprecation") public…
Sophie
  • 2,594
  • 10
  • 41
  • 75
0
votes
2 answers

How Do I Disable AIRPLANE MODE tablet supports 4.4.2

I have to disable AIRPLANE MODE and DATE TIME SETTINGS in my app, for that i used these intent filters but none of them works for me
Sun
  • 6,768
  • 25
  • 76
  • 131
0
votes
2 answers

How to identify iCloud logged in user in airplane mode?

I try to get userRecordID in airplane mode, but I get an error, any other way? class func asdf() { var defaultContainer = CKContainer.defaultContainer() var publicDatabase = defaultContainer.publicCloudDatabase …
János
  • 32,867
  • 38
  • 193
  • 353
0
votes
2 answers

Windows Phone 8.1 Airplane mode event

I want an application (windows Phone 8.1) which shutdown when Airplane mode is ON, and start again when Airplane mode OFF. For this I need event of Airplane mode ON/OFF. I did not found any API for this. Can you please tell me how to achieve in…
0
votes
1 answer

any way to manipulate airplane mode programatically? android

I want to turn on or off airplane mode for a battery saving app im making. Is there really no way to do this? Here is my current code: package com.example.airplaneog; import android.content.Intent; import android.os.Bundle; import…
Kelvin
  • 233
  • 1
  • 4
  • 13
0
votes
1 answer

canDisplayBannerAds and Airplane Mode

I'm testing my app in the Sandbox, and I'm using canDisplayBannerAds with iOS7. I had this working acceptably until I did some tests where I started the app in Airplane Mode (important to me because I need to detect if there is a network connection…
Chris Prince
  • 7,288
  • 2
  • 48
  • 66
0
votes
1 answer

Table view without a network connection IOS

We're new to IOS programming. We have a simple app that builds a table view using JSON data collected from an API we made. When there is no network connection, the app crashes of course, because all the UITableViewController delegate methods are…
0
votes
1 answer

Airplane mode in Android on BlackBerry

I have been loading an Android app onto a Z10, and noticed the code that worked on Android is not working properly on the BlackBerry. Specifically, the following variable boolean isAirplaneMode = Settings.System.getInt(getContentResolver(), …
0
votes
1 answer

Add option to toggle airplane mode to Windows 8 application

I would like to ask if it is possible to add an option in the Settings charm to toggle the airplane mode in a Windows 8 application. Thanks in advance!
Dimitris Makris
  • 5,183
  • 2
  • 34
  • 54
0
votes
1 answer

Using a PendingIntent to toggle airplane mode

I am working on an app for Android, for which I would like to be able to toggle Airplane Mode using a PendingIntent. Is this possible? If so, how would I do it? Any help would be greatly appreciated!
Zero
  • 1,864
  • 3
  • 21
  • 39
0
votes
1 answer

Why doesn't CLLocationManager fail when Airplane Mode is switched on?

I have a service class that is CLLocationManager's delegate. If I run the app, then open the Settings App and switch on Airplane Mode, my delegate gets nothing from CLLocationManager. I would expect locationManager:didFailWithError to be called, but…
Undistraction
  • 42,754
  • 56
  • 195
  • 331
0
votes
1 answer

Android why after airplane mode off the phone asks for sim's pin code

As i've read through the internet some phones after the airplane mode ask for the pin code again like when you switch on the phone. This has to do with the phone's brand or the version of android? Is there a way to bypass that through settings for…
ASK
  • 117
  • 1
  • 12
0
votes
1 answer

Set airplanemode at a specific time

public class AirPlaneModeActivity extends Activity { Button b; TimePicker tp; Calendar cal; AlarmManager am ; PendingIntent pi; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …