Over a million developers have joined DZone.

Random Airplane Mode in Windows Phone

DZone's Guide to

Random Airplane Mode in Windows Phone

· Mobile Zone
Free Resource

Discover how to focus on operators for Reactive Programming and how they are essential to react to data in your application.  Brought to you in partnership with Wakanda

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).

Learn how divergent branches can appear in your repository and how to better understand why they are called “branches".  Brought to you in partnership with Wakanda


Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}