Enabling and Disabling Adapters

Radios use power, and the battery power on a mobile device is a valuable resource. On consumer devices, which radios are active is a decision that rests with the user, but for enterprise line-of-business applications running on custom or ruggedized hardware, frequently the application developer is responsible for turning network adapters on or off. For example, your application may be used by users who visit public buildings. If the application runs in kiosk mode so that standard features to control radios built into the operating system are not available, you may have to build into the application some way for users to turn off the radios, perhaps when they enter a building such as a hospital where you must turn ...

Get Microsoft® Mobile Development Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.