1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2014 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<manifest xmlns:android="http://schemas.android.com/apk/res/android" 18 package="com.example.android.wearable.speedtracker"> 19 20 <uses-feature android:name="android.hardware.type.watch"/> 21 <uses-feature android:name="android.hardware.location.gps" android:required="false" /> 22 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> 23 <uses-permission android:name="android.permission.WAKE_LOCK" /> 24 25 <application 26 android:allowBackup="true" 27 android:icon="@drawable/ic_launcher" 28 android:label="@string/app_name" 29 android:theme="@android:style/Theme.DeviceDefault"> 30 31 <meta-data 32 android:name="com.google.android.wearable.standalone" 33 android:value="false" /> 34 35 <!--If you want your app to run on pre-22, then set required to false --> 36 <uses-library android:name="com.google.android.wearable" android:required="false" /> 37 38 <meta-data android:name="com.google.android.gms.version" 39 android:value="@integer/google_play_services_version"/> 40 <activity 41 android:name=".WearableMainActivity" 42 android:label="@string/app_name"> 43 <intent-filter> 44 <action android:name="android.intent.action.MAIN"/> 45 <category android:name="android.intent.category.LAUNCHER"/> 46 </intent-filter> 47 </activity> 48 <activity 49 android:name="com.example.android.wearable.speedtracker.SpeedPickerActivity"> 50 <intent-filter> 51 <action android:name="android.intent.action.MAIN"/> 52 </intent-filter> 53 </activity> 54 </application> 55 56</manifest> 57