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 <uses-permission android:name="android.permission.INTERNET"/> 6 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 7 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 8 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> 9 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> 10 11 <uses-feature android:name="android.hardware.location.gps" android:required="true" /> 12 <uses-feature 13 android:glEsVersion="0x00020000" android:required="true"/> 14 <uses-sdk 15 android:minSdkVersion="18" 16 android:targetSdkVersion="21" /> 17 18 <application 19 android:name=".PhoneApplication" 20 android:allowBackup="true" 21 android:icon="@drawable/ic_launcher" 22 android:label="@string/app_name" 23 android:theme="@style/AppTheme" > 24 <meta-data 25 android:name="com.google.android.maps.v2.API_KEY" 26 android:value="@string/map_v2_api_key"/> 27 <meta-data android:name="com.google.android.gms.version" 28 android:value="@integer/google_play_services_version"/> 29 <activity 30 android:name=".PhoneMainActivity" 31 android:label="@string/app_name" 32 android:screenOrientation="portrait"> 33 <intent-filter> 34 <action android:name="android.intent.action.MAIN" /> 35 36 <category android:name="android.intent.category.LAUNCHER" /> 37 </intent-filter> 38 </activity> 39 <service android:name=".db.UpdateService"> 40 <intent-filter> 41 <action android:name="com.google.android.gms.wearable.BIND_LISTENER" /> 42 </intent-filter> 43 </service> 44 </application> 45 46 </manifest> 47