diff options
author | Benjamin Baxter <benbaxter@google.com> | 2017-03-21 16:00:16 -0700 |
---|---|---|
committer | Benjamin Baxter <benbaxter@google.com> | 2017-03-22 14:58:07 -0700 |
commit | a6e4a8a8f9dc3c98443a7d65e367b075f069a2a1 (patch) | |
tree | 8fd5b7d22c276332ad61bb8ec01e492e65863e5f /wearable/wear/WearMessagingApp | |
parent | 296bd4da61677b27fd1e5b2b1f4c03a1805c91b7 (diff) | |
download | android-a6e4a8a8f9dc3c98443a7d65e367b075f069a2a1.tar.gz |
Initial commit.
Bug: 34841755
Change-Id: Ie6a3e7849dc9d54fc4b223f27385ab2ad8972fa3
Diffstat (limited to 'wearable/wear/WearMessagingApp')
-rw-r--r-- | wearable/wear/WearMessagingApp/.gitignore | 33 | ||||
-rw-r--r-- | wearable/wear/WearMessagingApp/template-params.xml | 121 |
2 files changed, 154 insertions, 0 deletions
diff --git a/wearable/wear/WearMessagingApp/.gitignore b/wearable/wear/WearMessagingApp/.gitignore new file mode 100644 index 00000000..b90e7562 --- /dev/null +++ b/wearable/wear/WearMessagingApp/.gitignore @@ -0,0 +1,33 @@ +# built application files +*.apk +*.ap_ + +# files for the dex VM +*.dex + +# Java class files +*.class + +# generated files +bin/ +gen/ + +# Ignore gradle files +.gradle/ +build/ + +# Local configuration file (sdk path, etc) +local.properties + +# Proguard folder generated by Eclipse +proguard/ +proguard-project.txt + +# Eclipse files +.project +.classpath +.settings/ + +# Android Studio/IDEA +*.iml +.idea diff --git a/wearable/wear/WearMessagingApp/template-params.xml b/wearable/wear/WearMessagingApp/template-params.xml new file mode 100644 index 00000000..ca962fff --- /dev/null +++ b/wearable/wear/WearMessagingApp/template-params.xml @@ -0,0 +1,121 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright 2017 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<sample> + <name>WearMessagingApp</name> + <group>Wearable</group> <!-- This field will be deprecated in the future + and replaced with the "categories" tags below. --> + <package>com.example.android.wearable.wear.messaging</package> + + <minSdk>21</minSdk> + <targetSdkVersion>25</targetSdkVersion> + <targetSdkVersionWear>25</targetSdkVersionWear> + + <wearable> + <has_handheld_app>true</has_handheld_app> + </wearable> + + <!-- Include additional dependencies here.--> + <!-- dependency>com.google.android.gms:play-services:5.0.+</dependency --> + + <dependency>com.android.support:appcompat-v7:25.1.1</dependency> + <dependency>com.android.support:cardview-v7:25.1.1</dependency> + <dependency>com.android.support:design:25.1.1</dependency> + + <!--<dependency>com.google.android.gms:play-services-wearable:10.2.0</dependency>--> + <dependency>com.google.android.gms:play-services-auth:10.2.0</dependency> + + <dependency>com.github.bumptech.glide:glide:3.7.0</dependency> + + <dependency_wearable>com.android.support:appcompat-v7:25.1.1</dependency_wearable> + <dependency_wearable>com.android.support:design:25.1.1</dependency_wearable> + + <strings> + <intro> + <![CDATA[ + Sample demonstrates best practices for building a messaging experience on Android Wear. + ]]> + </intro> + </strings> + + <template src="Wear" /> + + <metadata> + <!-- Values: {DRAFT | PUBLISHED | INTERNAL | DEPRECATED | SUPERCEDED} --> + <status>DRAFT</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>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 --> + <icon>screenshots/icon-web.png</icon> + <!-- Path to screenshots. Use <img> tags for each. --> + <screenshots> + <img>screenshots/1-main.png</img> + <img>screenshots/2-settings.png</img> + </screenshots> + <!-- 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>android.app.ActionBar</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 demonstrating how to instantiate an ActionBar on Android, define + action items, and set an "up" navigation link. Uses the Support Library + for compatibility with pre-3.0 devices. + </description> + + <!-- Multi-paragraph introduction to sample, from an educational point-of-view. + Makrdown formatting allowed. This will be used to generate a mini-article for the + sample on DAC. --> + <intro> + Long intro here. + + Multi-paragraph introduction to sample, from an educational point-of-view. + *Makrdown* formatting allowed. See [Markdown Documentation][1] + for details. + + [1]: http://daringfireball.net/projects/markdown/syntax + </intro> + </metadata> +</sample> |