Adds missing nodes to template xml so description and other info is added to github repos. am: efd2f1d6b0 am: 0cfa493f85 am: fa2066d64a am: 8e6d3926d2
am: 1ee8c8594a
Change-Id: I72ff7079845380107cd709077e77a76156f40989
diff --git a/wearable/wear/SpeedTracker/template-params.xml b/wearable/wear/SpeedTracker/template-params.xml
index 93c88f8..4818e53 100644
--- a/wearable/wear/SpeedTracker/template-params.xml
+++ b/wearable/wear/SpeedTracker/template-params.xml
@@ -18,7 +18,7 @@
<sample>
- <name>Speed Tracker</name>
+ <name>SpeedTracker</name>
<group>Wearable</group>
<package>com.example.android.wearable.speedtracker</package>
@@ -39,8 +39,7 @@
<intro>
<![CDATA[
This sample uses the FusedLocation APIs of Google Play Services
-on those devices that have a hardware GPS built in. In those
-cases, this sample provides a simple screen that shows the
+to gather location and speed. The sample provides a simple screen that shows the
current speed of the device on the watch. User can set a speed
limit and if the speed approaches that limit, it changes the
color to yellow and if it exceeds the limit, it turns red. User
@@ -55,4 +54,84 @@
<template src="base"/>
<template src="WearPlusShared"/>
+ <metadata>
+ <!-- Values: {DRAFT | PUBLISHED | INTERNAL | DEPRECATED | SUPERCEDED} -->
+ <status>PUBLISHED</status>
+ <!-- See http://go/sample-categories for details on the next 4 fields. -->
+ <!-- Most samples just need to udpate the Categories field. This is a comma-
+ seperated list of topic tags. Unlike the old category system, samples
+ may have multiple categories, so feel free to add extras. Try to avoid
+ simply tagging everything with "UI". :)-->
+ <categories>GPS, Wearable</categories>
+ <technologies>Android</technologies>
+ <languages>Java</languages>
+ <solutions>Mobile</solutions>
+ <!-- Values: {BEGINNER | INTERMEDIATE | ADVANCED | EXPERT} -->
+ <!-- Beginner is for "getting started" type content, or essential content.
+ (e.g. "Hello World", activities, intents)
+
+ Intermediate is for content that covers material a beginner doesn't need
+ to know, but that a skilled developer is expected to know.
+ (e.g. services, basic styles and theming, sync adapters)
+
+ Advanced is for highly technical content geared towards experienced developers.
+ (e.g. performance optimizations, custom views, bluetooth)
+
+ Expert is reserved for highly technical or specialized content, and should
+ be used sparingly. (e.g. VPN clients, SELinux, custom instrumentation runners) -->
+ <level>INTERMEDIATE</level>
+ <!-- Dimensions: 512x512, PNG fomrat -->
+
+ <!-- List of APIs that this sample should be cross-referenced under. Use <android>
+ for fully-qualified Framework class names ("android:" namespace).
+
+ Use <ext> for custom namespaces, if needed. See "Samples Index API" documentation
+ for more details. -->
+ <api_refs>
+ <android>com.google.android.gms.maps.MapFragment</android>
+ <android>com.google.android.gms.common.ConnectionResult</android>
+ <android>com.google.android.gms.common.api.GoogleApiClient</android>
+ <android>com.google.android.gms.common.api.ResultCallback</android>
+ <android>com.google.android.gms.common.api.Status</android>
+ <android>com.google.android.gms.location.LocationListener</android>
+ <android>com.google.android.gms.location.LocationRequest</android>
+ <android>com.google.android.gms.location.LocationServices</android>
+ <android>com.google.android.gms.wearable.DataApi</android>
+ <android>com.google.android.gms.wearable.PutDataMapRequest</android>
+ <android>com.google.android.gms.wearable.PutDataRequest</android>
+ <android>com.google.android.gms.wearable.Wearable</android>
+ </api_refs>
+
+ <!-- 1-3 line description of the sample here.
+
+ Avoid simply rearranging the sample's title. What does this sample actually
+ accomplish, and how does it do it? -->
+ <description>
+ Sample demonstrates recording location and speed with a Wear device in mind. Location is
+ retrieved via FusedLocatinProvider which retrieves coordinates from the phone or Wear
+ depending on whether the phone is disconnected or not and whether the Wear device has a
+ GPS chip.
+ </description>
+
+ <!-- Multi-paragraph introduction to sample, from an educational point-of-view.
+ Markdown formatting allowed. This will be used to generate a mini-article for the
+ sample on DAC. -->
+ <intro>
+<![CDATA[
+
+Steps for trying out this sample:
+* Compile and install the mobile app onto your mobile device or emulator.
+* Compile and install the wearable app onto your Wear device or emulator.
+(**Note:** wearable apps are not automatically pushed from your mobile device
+unless you build a production release, see [here][1] for more info).
+
+Sample demonstrates retrieving location and speed samples on Wear using the FusedLocationProvider.
+It also passes GPS location information back to the mobile device via the Data Layer to be rendered
+on a Map Fragment.
+
+[1]: https://developer.android.com/training/wearables/apps/creating.html#Install
+]]>
+ </intro>
+ </metadata>
+
</sample>