1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright 2015 Google Inc. All rights reserved. 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<manifest xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:tools="http://schemas.android.com/tools" 20 package="com.example.android.xyztouristattractions"> 21 22 <uses-feature android:name="android.hardware.type.watch" /> 23 24 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:node="remove" /> 25 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="remove" /> 26 27 <uses-sdk 28 android:minSdkVersion="22" 29 android:targetSdkVersion="25" /> 30 31 <application 32 android:allowBackup="true" 33 android:icon="@mipmap/ic_launcher" 34 android:label="@string/app_name" 35 android:theme="@android:style/Theme.DeviceDefault" > 36 37 <meta-data 38 android:name="com.google.android.wearable.standalone" 39 android:value="false" /> 40 41 <activity 42 android:name=".ui.AttractionsActivity" 43 android:label="@string/app_name" /> 44 45 <activity 46 android:name="android.support.wearable.activity.ConfirmationActivity" 47 android:theme="@android:style/Theme.Translucent" /> 48 49 <service android:name=".service.ListenerService"> 50 <intent-filter> 51 <!-- listeners receive events that match the action and data filters --> 52 <action android:name="com.google.android.gms.wearable.DATA_CHANGED" /> 53 <!-- filters by Constants.EXTRA_ATTRACTIONS --> 54 <data android:scheme="wear" android:host="*" android:pathPrefix="/attraction"/> 55 56 <action android:name="com.google.android.gms.wearable.MESSAGE_RECEIVED" /> 57 <!-- filters by Constants.CLEAR_NOTIFICATIONS_PATH --> 58 <data android:scheme="wear" android:host="*" android:pathPrefix="/clear"/> 59 </intent-filter> 60 </service> 61 62 <service android:name=".service.UtilityService" /> 63 64 <meta-data android:name="com.google.android.gms.version" 65 android:value="@integer/google_play_services_version" /> 66 67 </application> 68 69</manifest> 70