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-permission android:name="android.permission.INTERNET" /> 23 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 24 <uses-permission android:name="android.permission.WAKE_LOCK" /> 25 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:node="remove" /> 26 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="remove" /> 27 28 <application 29 android:allowBackup="true" 30 android:icon="@mipmap/ic_launcher" 31 android:label="@string/app_name" 32 android:theme="@style/XYZAppTheme" 33 android:fullBackupContent="true"> 34 35 <activity 36 android:name=".ui.AttractionListActivity" 37 android:label="@string/app_name" > 38 39 <intent-filter> 40 <action android:name="android.intent.action.MAIN" /> 41 <category android:name="android.intent.category.LAUNCHER" /> 42 </intent-filter> 43 44 </activity> 45 46 <activity 47 android:name=".ui.DetailActivity" 48 android:label="@string/app_name" 49 android:theme="@style/XYZAppTheme.Detail" 50 android:parentActivityName=".ui.AttractionListActivity" /> 51 52 <receiver android:name=".service.UtilityReceiver" /> 53 54 <service android:name=".service.UtilityService" /> 55 56 <service android:name=".service.ListenerService"> 57 <intent-filter> 58 <!-- listeners receive events that match the action and data filters --> 59 <action android:name="com.google.android.gms.wearable.MESSAGE_RECEIVED" /> 60 61 <!-- filters by Constants.CLEAR_NOTIFICATIONS_PATH --> 62 <data android:scheme="wear" android:host="*" android:pathPrefix="/clear"/> 63 64 <!-- filters by Constants.START_PATH, the prefix for 65 Constants.START_ATTRACTION_PATH ('/start/attraction') and 66 Constants.START_NAVIGATION_PATH ('/start/navigation') --> 67 <data android:scheme="wear" android:host="*" android:pathPrefix="/start"/> 68 </intent-filter> 69 </service> 70 71 <meta-data android:name="com.google.android.gms.version" 72 android:value="@integer/google_play_services_version" /> 73 74 <meta-data 75 android:name="com.example.android.xyztouristattractions.config.GlideConfiguration" 76 android:value="GlideModule"/> 77 78 </application> 79 80 </manifest> 81