Home | History | Annotate | Download | only in Application
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2014 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     18         package="com.example.android.wearable.watchface" >
     19 
     20     <uses-sdk android:minSdkVersion="18"
     21               android:targetSdkVersion="21" />
     22 
     23     <!-- Permissions required by the wearable app -->
     24     <uses-permission android:name="com.google.android.permission.PROVIDE_BACKGROUND" />
     25     <uses-permission android:name="android.permission.WAKE_LOCK" />
     26     <uses-permission android:name="android.permission.READ_CALENDAR" />
     27 
     28     <!-- All intent-filters for config actions must include the categories
     29         com.google.android.wearable.watchface.category.COMPANION_CONFIGURATION and
     30         android.intent.category.DEFAULT. -->
     31     <application
     32             android:allowBackup="true"
     33             android:icon="@drawable/ic_launcher"
     34             android:label="@string/app_name"
     35             android:theme="@style/AppTheme" >
     36 
     37         <activity
     38                 android:name=".AnalogAndCardBoundsWatchFaceConfigActivity"
     39                 android:label="@string/app_name">
     40             <intent-filter>
     41                 <action android:name="com.example.android.wearable.watchface.CONFIG_ANALOG" />
     42                 <action android:name="com.example.android.wearable.watchface.CONFIG_CARD_BOUNDS" />
     43                 <category android:name="com.google.android.wearable.watchface.category.COMPANION_CONFIGURATION" />
     44                 <category android:name="android.intent.category.DEFAULT" />
     45             </intent-filter>
     46         </activity>
     47 
     48         <activity
     49                 android:name=".DigitalWatchFaceCompanionConfigActivity"
     50                 android:label="@string/app_name">
     51             <intent-filter>
     52                 <action android:name="com.example.android.wearable.watchface.CONFIG_DIGITAL" />
     53                 <category android:name="com.google.android.wearable.watchface.category.COMPANION_CONFIGURATION" />
     54                 <category android:name="android.intent.category.DEFAULT" />
     55             </intent-filter>
     56         </activity>
     57 
     58         <activity
     59                 android:name=".TiltWatchFaceConfigActivity"
     60                 android:label="@string/app_name">
     61             <intent-filter>
     62                 <action android:name="com.example.android.wearable.watchface.CONFIG_TILT" />
     63                 <category android:name="com.google.android.wearable.watchface.category.COMPANION_CONFIGURATION" />
     64                 <category android:name="android.intent.category.DEFAULT" />
     65             </intent-filter>
     66         </activity>
     67 
     68         <meta-data
     69                 android:name="com.google.android.gms.version"
     70                 android:value="@integer/google_play_services_version" />
     71 
     72     </application>
     73 
     74 </manifest>
     75