platform_frameworks_base/samples/training/network-usage
eightplus 706d7a8aa3 based on android-12.1.0-r26 2022-11-24 11:41:42 +08:00
..
res based on android-12.1.0-r26 2022-11-24 11:41:42 +08:00
src/com/example/android/networkusage based on android-12.1.0-r26 2022-11-24 11:41:42 +08:00
AndroidManifest.xml based on android-12.1.0-r26 2022-11-24 11:41:42 +08:00
OWNERS based on android-12.1.0-r26 2022-11-24 11:41:42 +08:00
README.txt based on android-12.1.0-r26 2022-11-24 11:41:42 +08:00

README.txt

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.