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="25" /> 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 33 <meta-data 34 android:name="com.google.android.wearable.standalone" 35 android:value="false" /> 36 37 <meta-data android:name="com.google.android.gms.version" 38 android:value="@integer/google_play_services_version" /> 39 <activity 40 android:name=".WearableActivity" 41 android:label="@string/app_name" > 42 <intent-filter> 43 <action android:name="android.intent.action.MAIN" /> 44 <category android:name="android.intent.category.LAUNCHER" /> 45 </intent-filter> 46 </activity> 47 <service android:name=".NotificationUpdateService"> 48 <intent-filter> 49 <!-- listeners receive events that match the action and data filters --> 50 <action android:name="com.google.android.gms.wearable.DATA_CHANGED" /> 51 52 <!-- filters by Constants.BOTH_PATH ('/both') and 53 Constants.WATCH_ONLY_PATH ('/watch-only') --> 54 <data android:scheme="wear" android:host="*" android:pathPrefix="/both"/> 55 <data android:scheme="wear" android:host="*" android:pathPrefix="/watch-only"/>; 56 </intent-filter> 57 <intent-filter> 58 <action 59 android:name="com.example.android.wearable.synchronizednotifications.DISMISS" /> 60 </intent-filter> 61 </service> 62 63 </application> 64 65 </manifest> 66