Frage

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(), 
                Settings.System.AIRPLANE_MODE_ON,0) != 0;

is set to false even though the Airplane mode is enabled. Is there any way to query the airplane mode on a blackberry?

War es hilfreich?

Lösung

Spoke with a BB developer, and it seems to be currently not possible to do that programmatically.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top