Home | History | Annotate | Download | only in Wearable
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3  Copyright 2013 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 
     18 
     19 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     20     package="com.example.android.wearable.synchronizednotifications">
     21 
     22     <uses-sdk android:minSdkVersion="20"
     23         android:targetSdkVersion="22" />
     24 
     25     <uses-feature android:name="android.hardware.type.watch" />
     26 
     27     <application
     28         android:allowBackup="true"
     29         android:icon="@drawable/ic_launcher"
     30         android:label="@string/app_name"
     31         android:theme="@android:style/Theme.DeviceDefault.Light" >
     32         <meta-data android:name="com.google.android.gms.version"
     33                    android:value="@integer/google_play_services_version" />
     34         <activity
     35             android:name=".WearableActivity"
     36             android:label="@string/app_name" >
     37             <intent-filter>
     38                 <action android:name="android.intent.action.MAIN" />
     39                 <category android:name="android.intent.category.LAUNCHER" />
     40             </intent-filter>
     41         </activity>
     42         <service android:name=".NotificationUpdateService">
     43             <intent-filter>
     44                 <!-- listeners receive events that match the action and data filters -->
     45                 <action android:name="com.google.android.gms.wearable.DATA_CHANGED" />
     46 
     47                 <!-- filters by Constants.BOTH_PATH ('/both') and
     48                 Constants.WATCH_ONLY_PATH ('/watch-only') -->
     49                 <data android:scheme="wear" android:host="*" android:pathPrefix="/both"/>
     50                 <data android:scheme="wear" android:host="*" android:pathPrefix="/watch-only"/>;
     51             </intent-filter>
     52             <intent-filter>
     53                 <action
     54                     android:name="com.example.android.wearable.synchronizednotifications.DISMISS" />
     55             </intent-filter>
     56         </service>
     57 
     58     </application>
     59 
     60 </manifest>
     61