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 <uses-sdk 26 android:minSdkVersion="20" 27 android:targetSdkVersion="25" /> 28 29 <application 30 android:allowBackup="true" 31 android:icon="@drawable/ic_launcher" 32 android:label="@string/app_name" 33 android:theme="@android:style/Theme.DeviceDefault"> 34 35 <meta-data 36 android:name="com.google.android.wearable.standalone" 37 android:value="false" /> 38 39 <!--If you want your app to run on pre-22, then set required to false --> 40 <uses-library android:name="com.google.android.wearable" android:required="false" /> 41 42 <meta-data android:name="com.google.android.gms.version" 43 android:value="@integer/google_play_services_version"/> 44 <activity 45 android:name=".WearableMainActivity" 46 android:label="@string/app_name"> 47 <intent-filter> 48 <action android:name="android.intent.action.MAIN"/> 49 <category android:name="android.intent.category.LAUNCHER"/> 50 </intent-filter> 51 </activity> 52 <activity 53 android:name="com.example.android.wearable.speedtracker.SpeedPickerActivity"> 54 <intent-filter> 55 <action android:name="android.intent.action.MAIN"/> 56 </intent-filter> 57 </activity> 58 </application> 59 60</manifest> 61