1<?xml version="1.0" encoding="utf-8"?> 2<manifest xmlns:android="http://schemas.android.com/apk/res/android" 3 package="com.example.android.wearable.speedtracker" > 4 5 6 <uses-sdk 7 android:minSdkVersion="18" 8 android:targetSdkVersion="25" /> 9 10 <!-- BEGIN_INCLUDE(manifest) --> 11 12 <!-- Note that all required permissions are declared here in the Android manifest. 13 On Android M and above, use of permissions not in the normal permission group are 14 requested at run time. --> 15 <uses-permission android:name="android.permission.INTERNET"/> 16 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 17 <uses-permission android:name="android.permission.WAKE_LOCK" /> 18 19 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" 20 android:maxSdkVersion="18"/> 21 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> 22 <!-- END_INCLUDE(manifest) --> 23 24 <uses-feature android:name="android.hardware.location.gps" android:required="true" /> 25 <uses-feature 26 android:glEsVersion="0x00020000" android:required="true"/> 27 28 <application 29 android:name=".PhoneApplication" 30 android:allowBackup="true" 31 android:icon="@drawable/ic_launcher" 32 android:label="@string/app_name" 33 android:theme="@style/Theme.AppCompat.Light" > 34 <meta-data 35 android:name="com.google.android.maps.v2.API_KEY" 36 android:value="@string/map_v2_api_key"/> 37 <meta-data android:name="com.google.android.gms.version" 38 android:value="@integer/google_play_services_version"/> 39 <activity 40 android:name=".PhoneMainActivity" 41 android:label="@string/app_name" 42 android:screenOrientation="portrait"> 43 <intent-filter> 44 <action android:name="android.intent.action.MAIN" /> 45 46 <category android:name="android.intent.category.LAUNCHER" /> 47 </intent-filter> 48 </activity> 49 <service android:name=".db.UpdateService"> 50 <intent-filter> 51 <!-- listeners receive events that match the action and data filters --> 52 <action android:name="com.google.android.gms.wearable.DATA_CHANGED" /> 53 <!-- filters by Constants.PATH. --> 54 <data android:scheme="wear" android:host="*" android:pathPrefix="/location"/> 55 </intent-filter> 56 </service> 57 </application> 58 59</manifest> 60