close
The Wayback Machine - https://web.archive.org/web/20150906003920/https://developer.android.com/samples/XYZTouristAttractions/Wearable/AndroidManifest.html
Show navigation Hide navigation
XYZTouristAttractions / Wearable /

AndroidManifest.xml

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
    package="com.example.android.xyztouristattractions" >
20
 
21
    <uses-feature android:name="android.hardware.type.watch" />
22
 
23
    <uses-sdk
24
        android:minSdkVersion="21"
25
        android:targetSdkVersion="22" />
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
        <activity
34
            android:name=".ui.AttractionsActivity"
35
            android:label="@string/app_name" />
36
 
37
        <activity
38
            android:name="android.support.wearable.activity.ConfirmationActivity"
39
            android:theme="@android:style/Theme.Translucent" />
40
 
41
        <service android:name=".service.ListenerService">
42
            <intent-filter>
43
                <action android:name="com.google.android.gms.wearable.BIND_LISTENER" />
44
            </intent-filter>
45
        </service>
46
 
47
        <service android:name=".service.UtilityService" />
48
 
49
        <meta-data android:name="com.google.android.gms.version"
50
            android:value="@integer/google_play_services_version" />
51
 
52
    </application>
53
 
54
</manifest>