State and Notifications

Windows Mobile 5.0 introduces a centralized API for querying device settings and raising events when these settings change. This is known as the State and Notifications Broker and is available to both native code and managed code projects through the Microsoft.WindowsMobile.Status namespace. The settings are held in the system registry, and thanks to new functionality in Windows CE 5.0 the system is capable of providing events when certain registry values change. The SystemState class is the central point for the State and Notifications Broker. It features static properties you can use to quickly access all of the available system properties. For example, you can retrieve the cellular phone signal strength by using a single ...

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.