1 <?xml version="1.0" encoding="utf-8"?>
3 * Copyright © 2012 Mike Beattie <mike@ethernal.org>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
18 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
19 package="org.altusmetrum.AltosDroid"
20 android:versionCode="@ANDROID_VERSION@"
21 android:versionName="@VERSION@">
22 <uses-sdk android:targetSdkVersion="12" android:minSdkVersion="12"/>
24 <uses-feature android:glEsVersion="0x00020000" android:required="true"/>
26 <!-- Permissions needed to access bluetooth -->
27 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
28 <uses-permission android:name="android.permission.BLUETOOTH" />
29 <!-- Permissions needed to save Telemetry logs to SD card -->
30 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
31 <!-- Permissions needed for GoogleMaps -->
32 <uses-permission android:name="android.permission.INTERNET"/>
33 <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
34 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
35 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
37 <permission android:name="org.altusmetrum.AltosDroid.permission.MAPS_RECEIVE"
38 android:protectionLevel="signature"/>
39 <uses-permission android:name="org.altusmetrum.AltosDroid.permission.MAPS_RECEIVE"/>
41 <!-- Permissions needed to access USB OTG -->
42 <uses-feature android:name="android.hardware.usb.host" />
44 <application android:label="@string/app_name"
45 android:icon="@drawable/app_icon"
46 android:allowBackup="true"
47 android:theme="@style/CustomTheme">
48 <activity android:name="org.altusmetrum.AltosDroid.AltosDroid"
49 android:label="@string/app_name"
50 android:configChanges="orientation|keyboardHidden"
51 android:launchMode="singleTop">
53 <action android:name="android.intent.action.MAIN" />
54 <category android:name="android.intent.category.LAUNCHER" />
58 <activity android:name="org.altusmetrum.AltosDroid.AltosDroid"
59 android:configChanges="orientation|keyboardHidden"
60 android:launchMode="singleTop">
63 android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"/>
66 android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
67 android:resource="@xml/device_filter" />
70 <activity android:name=".DeviceListActivity"
71 android:label="@string/select_device"
72 android:theme="@android:style/Theme.Dialog"
73 android:configChanges="orientation|keyboardHidden" />
75 <activity android:name=".PreloadMapActivity"
76 android:label="@string/preload_maps"
77 android:theme="@android:style/Theme.Dialog"
78 android:configChanges="orientation|keyboardHidden" />
80 <activity android:name=".MapTypeActivity"
81 android:label="@string/map_type"
82 android:theme="@android:style/Theme.Dialog"
83 android:configChanges="orientation|keyboardHidden" />
85 <service android:name=".TelemetryService" />
87 <meta-data android:name="com.google.android.maps.v2.API_KEY"
88 android:value="AIzaSyDSr6u4i9TJmVGhgGk4g0wUUhTy9FGyn0s"/>
89 <meta-data android:name="com.google.android.gms.version"
90 android:value="@integer/google_play_services_version" />