xref: /aosp_15_r20/development/samples/training/network-usage/README.txt (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1*90c8c64dSAndroid Build Coastguard WorkerREADME
2*90c8c64dSAndroid Build Coastguard Worker======
3*90c8c64dSAndroid Build Coastguard Worker
4*90c8c64dSAndroid Build Coastguard WorkerThis Network Usage sample app does the following:
5*90c8c64dSAndroid Build Coastguard Worker
6*90c8c64dSAndroid Build Coastguard Worker-- Downloads an XML feed from StackOverflow.com for the most recent posts tagged "android".
7*90c8c64dSAndroid Build Coastguard Worker
8*90c8c64dSAndroid Build Coastguard Worker-- Parses the XML feed, combines feed elements with HTML markup, and displays the resulting HTML in the UI.
9*90c8c64dSAndroid Build Coastguard Worker
10*90c8c64dSAndroid Build Coastguard Worker-- Lets users control their network data usage through a settings UI. Users can choose to fetch the feed
11*90c8c64dSAndroid Build Coastguard Worker   when any network connection is available, or only when a Wi-Fi connection is available.
12*90c8c64dSAndroid Build Coastguard Worker
13*90c8c64dSAndroid Build Coastguard Worker-- Detects when there is a change in the device's connection status and responds accordingly. For example, if
14*90c8c64dSAndroid Build Coastguard Worker   the device loses its network connection, the app will not attempt to download the feed.
15