/samples/training/network-usage/README.txt

https://github.com/aizuzi/platform_frameworks_base · Plain Text · 14 lines · 9 code · 5 blank · 0 comment · 0 complexity · c38805e163084acb50badacd450f0418 MD5 · raw file

  1. README
  2. ======
  3. This Network Usage sample app does the following:
  4. -- Downloads an XML feed from StackOverflow.com for the most recent posts tagged "android".
  5. -- Parses the XML feed, combines feed elements with HTML markup, and displays the resulting HTML in the UI.
  6. -- Lets users control their network data usage through a settings UI. Users can choose to fetch the feed
  7. when any network connection is available, or only when a Wi-Fi connection is available.
  8. -- Detects when there is a change in the device's connection status and responds accordingly. For example, if
  9. the device loses its network connection, the app will not attempt to download the feed.