Merge "Updating metadata for NetworkConnect sample" into lmp-docs
diff --git a/connectivity/network/NetworkConnect/screenshots/icon-web.png b/connectivity/network/NetworkConnect/screenshots/icon-web.png
new file mode 100644
index 0000000..29fb3ff
--- /dev/null
+++ b/connectivity/network/NetworkConnect/screenshots/icon-web.png
Binary files differ
diff --git a/connectivity/network/NetworkConnect/screenshots/main.png b/connectivity/network/NetworkConnect/screenshots/main.png
new file mode 100644
index 0000000..1c7ae0f
--- /dev/null
+++ b/connectivity/network/NetworkConnect/screenshots/main.png
Binary files differ
diff --git a/connectivity/network/NetworkConnect/template-params.xml b/connectivity/network/NetworkConnect/template-params.xml
index a1d5991..4c0618d 100644
--- a/connectivity/network/NetworkConnect/template-params.xml
+++ b/connectivity/network/NetworkConnect/template-params.xml
@@ -37,4 +37,37 @@
<template src="base"/>
<common src="logger"/>
+ <metadata>
+ <status>PUBLISHED</status>
+ <categories>Connectivity</categories>
+ <technologies>Android</technologies>
+ <languages>Java</languages>
+ <solutions>Mobile</solutions>
+ <level>INTERMEDIATE</level>
+ <icon>screenshots/icon-web.png</icon>
+ <screenshots>
+ <img>screenshots/main.png</img>
+ </screenshots>
+ <api_refs>
+ <android>android.os.AsyncTask</android>
+ </api_refs>
+
+ <description>
+ <![CDATA[
+This sample demonstrates how to connect to the network and fetch raw HTML using
+HttpURLConnection. AsyncTask is used to perform the fetch on a background thread.
+ ]]>
+ </description>
+
+ <intro>
+ <![CDATA[
+This sample application demonstrates how to connect to the network and fetch raw
+HTML. It uses AsyncTask, a background task manager, to perform the network fetch
+on a background thread. By using AsyncTask, the app can avoid hanging on the UI
+thread, and instead update the UI when the response is ready. To establish the
+network connection, the sample uses HttpURLConnection.
+ ]]>
+ </intro>
+ </metadata>
+
</sample>