summaryrefslogtreecommitdiffstats
path: root/samples/training/network-usage/README.txt
blob: cc9a7a06fe78dcbc62975ea45b27c6c97d0c8d55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
README
======

This Network Usage sample app does the following:

-- Downloads an XML feed from StackOverflow.com for the most recent posts tagged "android".

-- Parses the XML feed, combines feed elements with HTML markup, and displays the resulting HTML in the UI.

-- Lets users control their network data usage through a settings UI. Users can choose to fetch the feed
   when any network connection is available, or only when a Wi-Fi connection is available.

-- Detects when there is a change in the device's connection status and responds accordingly. For example, if
   the device loses its network connection, the app will not attempt to download the feed.