Random Airplane Mode in Windows Phone

DZone 's Guide to

Random Airplane Mode in Windows Phone

· Mobile Zone ·
Free Resource

For those who were developing for Windows Phone for quite a while, you probably know that the emulator itself exposes quite a few gems. The one I found today is rather useless at this point, but it’s interesting nonetheless.

The default emulator settings are fairly limited and the developer isn’t able to customize the OS as much as he would want to.


I already found a hook to get into the call settings, and today I found a way to get the emulator into the Airplane Mode, when all network communication is disabled.

NOTE: This behavior is detected only in the Mango emulator. The device running NoDo doesn’t do the same thing.

Go to Date+Time. While there, make sure that the status bar (where you see the carrier bars and the battery status) is visible. By default, the Set Automatically option (for the system time) should be enabled and you should see something like this:


Now, disable it and re-enable it (whenever you want). Look at what happens in the status bar.

image image

The emulator switched to airplane mode, then to network searching mode and then finally to the normal mode when a cellular network (emulated, of course) is available.

Currently, there is no way to trigger the Airplane Mode in the emulator other than by using blacklisted settings (requires more work).


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}