• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <application
28        android:allowBackup="true"
29        android:icon="@mipmap/ic_launcher"
30        android:label="@string/app_name"
31        android:theme="@android:style/Theme.DeviceDefault" >
32
33        <meta-data
34            android:name="com.google.android.wearable.standalone"
35            android:value="false" />
36
37        <activity
38            android:name=".ui.AttractionsActivity"
39            android:label="@string/app_name" />
40
41        <activity
42            android:name="android.support.wearable.activity.ConfirmationActivity"
43            android:theme="@android:style/Theme.Translucent" />
44
45        <service android:name=".service.ListenerService">
46            <intent-filter>
47                <!-- listeners receive events that match the action and data filters -->
48                <action android:name="com.google.android.gms.wearable.DATA_CHANGED" />
49                <!-- filters by Constants.EXTRA_ATTRACTIONS -->
50                <data android:scheme="wear" android:host="*" android:pathPrefix="/attraction"/>
51
52                <action android:name="com.google.android.gms.wearable.MESSAGE_RECEIVED" />
53                <!-- filters by Constants.CLEAR_NOTIFICATIONS_PATH -->
54                <data android:scheme="wear" android:host="*" android:pathPrefix="/clear"/>
55            </intent-filter>
56        </service>
57
58        <service android:name=".service.UtilityService" />
59
60        <meta-data android:name="com.google.android.gms.version"
61            android:value="@integer/google_play_services_version" />
62
63    </application>
64
65</manifest>
66