Network State

This example shows how to check the network state. When run, the application simply shows a window containing a button and a label. When the button is clicked, the network state is shown in the label.

A screenshot of the application running in the phone environment

We will focus on the parts of the application that are related to checking the network state and updating the user interface.