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.
Questions tagged [airplane-mode]
101 questions
0
votes
0 answers
Enable Airplane mode Automatically in non rooted device
I am working on an Android app and want to enable and disable the airplane mode on a non-rooted device using Action voice assistant.
Is it possible?
I have tried this code but it open's the settings with intent.
public void setFlightMode(Context…

Abdul Rehman Jamil
- 13
- 4
0
votes
0 answers
How to programmatically enable airplane mode on Android?
I'm trying to programmatically enable/disable Airplane mode on Android.
Requested the following permissions in the manifest:
0
votes
0 answers
Pop notification in airplane mode
Is there any way to show the notification from alarm manager while the phone is in airplane mode?
I'm working on an app that uses the background service to display notifications and is testing the ability to display notifications in airplane mode.…

Abdul Rehman Jamil
- 13
- 4
0
votes
1 answer
enable/disable airplane mode using adb command on kotlin language
adb shell settings put global airplane_mode_on 1
adb shell su -c am broadcast -a android.intent.action.AIRPLANE_MODE
It works if done through the adb program. But if you try to execute in your program, nothing happens. Root are present on the…

Rest0rer
- 1
- 2
0
votes
2 answers
How to check Airplane mode in background in iPhone?
I have application which is working best with Wifi,3G..
Now what i want is i want to check in background if Airplane mode is going to be on at any moment and i want to popup alert saying "Airplane mode is On."
Thanks in advance.

dks1725
- 1,631
- 1
- 20
- 29
0
votes
1 answer
AirPlane ToggleButton?
I am trying to use a ToggleButton to switch AirPlane mode on and off. I am not sure how to go about this.
My permissions are:

Christian
- 958
- 5
- 23
- 52
0
votes
1 answer
Handle airplane mode on/off status from iOS app
Is there any way to handle airplane mode on/off from iOS app? If yes then please let me know how to handle it.

Ankit Prajapati
- 129
- 1
- 11
0
votes
1 answer
Airplane Mode with out lose Wifi and Bluetooth using ADB
I am trying to enable/disable Airplane mode via ADB commands.
I have found the following adb commands for enable or disable Airplane mode.
adb shell settings put global airplane_mode_on 1
adb shell am broadcast -a…

Vineesh TP
- 7,755
- 12
- 66
- 130
0
votes
1 answer
Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value
I am trying to load image in activity from another one , When I click on the button to start activity it shows me black screen and never shows and give me this warning
Setting airplane_mode_on has moved from android.provider.Settings.System to…

Reem Aziz
- 1,425
- 2
- 17
- 22
0
votes
1 answer
My code toggles airplane mode continuously
I have a screen (Activity) that does the following: it has a toggle button that toggles the airplane mode; it does it by using a service that spawn off a new Thread. It also has a button that does exactly the same thing in exactly the same way.…

mobileTofu
- 1,071
- 2
- 14
- 25
0
votes
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
- 137
- 2
- 6
- 14
0
votes
1 answer
Android screen lock/car charger is killing my thread
I have a very tough problem I can't solve. I have an app which I can put into airplane mode remotely to save power. I have a thread running which gets the power-save message, removes callbacks for all other threads, puts the phone into airplane…

Tom G
- 2,595
- 5
- 20
- 16
0
votes
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
- 49
- 1
- 5
0
votes
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
- 950
- 1
- 9
- 33
0
votes
1 answer
Picasso sometimes not download photos and crash my application
Picasso.with(getActivity().getApplicationContext()).load(imageString).resize(250, 250)
.into(image, new Callback() {
@Override
public void onSuccess() {
Log.e("profilepicsucess", "");
}
@Override
…

Aya Radwan
- 181
- 5
- 17