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 <!-- BEGIN_INCLUDE(manifest) --> 7 8 <!-- Note that all required permissions are declared here in the Android manifest. 9 On Android M and above, use of permissions not in the normal permission group are 10 requested at run time. --> 11 <uses-permission android:name="android.permission.INTERNET"/> 12 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 13 <uses-permission android:name="android.permission.WAKE_LOCK" /> 14 15 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" 16 android:maxSdkVersion="18"/> 17 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> 18 <!-- END_INCLUDE(manifest) --> 19 20 <uses-feature android:name="android.hardware.location.gps" android:required="true" /> 21 <uses-feature 22 android:glEsVersion="0x00020000" android:required="true"/> 23 24 <application 25 android:name=".PhoneApplication" 26 android:allowBackup="true" 27 android:icon="@drawable/ic_launcher" 28 android:label="@string/app_name" 29 android:theme="@style/Theme.AppCompat.Light" > 30 <meta-data 31 android:name="com.google.android.maps.v2.API_KEY" 32 android:value="@string/map_v2_api_key"/> 33 <meta-data android:name="com.google.android.gms.version" 34 android:value="@integer/google_play_services_version"/> 35 <activity 36 android:name=".PhoneMainActivity" 37 android:label="@string/app_name" 38 android:screenOrientation="portrait"> 39 <intent-filter> 40 <action android:name="android.intent.action.MAIN" /> 41 42 <category android:name="android.intent.category.LAUNCHER" /> 43 </intent-filter> 44 </activity> 45 <service android:name=".db.UpdateService"> 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.PATH. --> 50 <data android:scheme="wear" android:host="*" android:pathPrefix="/location"/> 51 </intent-filter> 52 </service> 53 </application> 54 55</manifest> 56