Home | History | Annotate | Download | only in WearMessagingApp
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3  Copyright 2017 The Android Open Source Project
      4 
      5  Licensed under the Apache License, Version 2.0 (the "License");
      6  you may not use this file except in compliance with the License.
      7  You may obtain a copy of the License at
      8 
      9      http://www.apache.org/licenses/LICENSE-2.0
     10 
     11  Unless required by applicable law or agreed to in writing, software
     12  distributed under the License is distributed on an "AS IS" BASIS,
     13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  See the License for the specific language governing permissions and
     15  limitations under the License.
     16 -->
     17 <sample>
     18     <name>WearMessagingApp</name>
     19     <group>Wearable</group>  <!-- This field will be deprecated in the future
     20                             and replaced with the "categories" tags below. -->
     21     <package>com.example.android.wearable.wear.messaging</package>
     22 
     23     <minSdk>22</minSdk>
     24     <targetSdkVersion>25</targetSdkVersion>
     25     <targetSdkVersionWear>25</targetSdkVersionWear>
     26 
     27     <wearable>
     28         <has_handheld_app>true</has_handheld_app>
     29     </wearable>
     30 
     31     <!-- Include additional dependencies here.-->
     32     <!-- dependency>com.google.android.gms:play-services:5.0.+</dependency -->
     33 
     34     <dependency>com.android.support:appcompat-v7:25.3.1</dependency>
     35     <dependency>com.android.support:cardview-v7:25.3.1</dependency>
     36     <dependency>com.android.support:design:25.3.1</dependency>
     37 
     38     <dependency>com.google.android.gms:play-services-wearable:10.2.6</dependency>
     39     <dependency>com.google.android.gms:play-services-auth:10.2.6</dependency>
     40 
     41     <dependency>com.github.bumptech.glide:glide:3.8.0</dependency>
     42     <dependency>com.google.code.gson:gson:2.8.0</dependency>
     43 
     44     <dependency_wearable>com.android.support:appcompat-v7:25.3.1</dependency_wearable>
     45     <dependency_wearable>com.android.support:design:25.3.1</dependency_wearable>
     46 
     47     <strings>
     48         <intro>
     49             <![CDATA[
     50             Sample demonstrates best practices for building a messaging experience on Android Wear.
     51             ]]>
     52         </intro>
     53     </strings>
     54 
     55     <template src="Wear" />
     56 
     57     <metadata>
     58         <!-- Values: {DRAFT | PUBLISHED | INTERNAL | DEPRECATED | SUPERCEDED} -->
     59         <status>DRAFT</status>
     60         <!-- See http://go/sample-categories for details on the next 4 fields. -->
     61         <!-- Most samples just need to udpate the Categories field. This is a comma-
     62              seperated list of topic tags. Unlike the old category system, samples
     63              may have multiple categories, so feel free to add extras. Try to avoid
     64              simply tagging everything with "UI". :)-->
     65         <categories>Wearable</categories>
     66         <technologies>Android</technologies>
     67         <languages>Java</languages>
     68         <solutions>Mobile</solutions>
     69         <!-- Values: {BEGINNER | INTERMEDIATE | ADVANCED | EXPERT} -->
     70         <!-- Beginner is for "getting started" type content, or essential content.
     71              (e.g. "Hello World", activities, intents)
     72 
     73              Intermediate is for content that covers material a beginner doesn't need
     74              to know, but that a skilled developer is expected to know.
     75              (e.g. services, basic styles and theming, sync adapters)
     76 
     77              Advanced is for highly technical content geared towards experienced developers.
     78              (e.g. performance optimizations, custom views, bluetooth)
     79 
     80              Expert is reserved for highly technical or specialized content, and should
     81              be used sparingly. (e.g. VPN clients, SELinux, custom instrumentation runners) -->
     82         <level>INTERMEDIATE</level>
     83         <!-- Dimensions: 512x512, PNG fomrat -->
     84         <icon>screenshots/icon-web.png</icon>
     85         <!-- Path to screenshots. Use <img> tags for each. -->
     86         <screenshots>
     87             <img>screenshots/1-main.png</img>
     88             <img>screenshots/2-settings.png</img>
     89         </screenshots>
     90         <!-- List of APIs that this sample should be cross-referenced under. Use <android>
     91         for fully-qualified Framework class names ("android:" namespace).
     92 
     93         Use <ext> for custom namespaces, if needed. See "Samples Index API" documentation
     94         for more details. -->
     95         <api_refs>
     96             <android>android.app.ActionBar</android>
     97         </api_refs>
     98 
     99         <!-- 1-3 line description of the sample here.
    100 
    101             Avoid simply rearranging the sample's title. What does this sample actually
    102             accomplish, and how does it do it? -->
    103         <description>
    104             Sample demonstrating how to instantiate an ActionBar on Android, define
    105             action items, and set an "up" navigation link. Uses the Support Library
    106             for compatibility with pre-3.0 devices.
    107         </description>
    108 
    109         <!-- Multi-paragraph introduction to sample, from an educational point-of-view.
    110         Makrdown formatting allowed. This will be used to generate a mini-article for the
    111         sample on DAC. -->
    112         <intro>
    113             Long intro here.
    114 
    115             Multi-paragraph introduction to sample, from an educational point-of-view.
    116             *Makrdown* formatting allowed. See [Markdown Documentation][1]
    117             for details.
    118 
    119             [1]: http://daringfireball.net/projects/markdown/syntax
    120         </intro>
    121     </metadata>
    122 </sample>
    123