Informing the User of Network Activity

In this hour, we're most interested in how to query the application server and retrieve the XML returned from a query. Networking support does not necessitate any specific user interface or layout updates to the Been There, Done That! application. However, any time the user is required to wait for an operation that takes time—for example, for XML data to be downloaded from a server and parsed—it is important to inform the user that something is happening, using a visual mechanism such as an indeterminate ProgressBar control, as shown in Figure 15.1. Otherwise, the user might abandon the application due to lack of response.

FIGURE 15.1

Using an indeterminate progress bar to inform the user about a lengthy operation.

Q Trivia Quiz i Downloading trivia questions

0 0

Post a comment