1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright © 2012 Mike Beattie <mike@ethernal.org>
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
16 You should have received a copy of the GNU General Public License along
17 with this program; if not, write to the Free Software Foundation, Inc.,
18 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
21 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
22 package="org.altusmetrum.AltosDroid"
23 android:versionCode="@ANDROID_VERSION@"
24 android:versionName="@VERSION@">
25 <uses-sdk android:targetSdkVersion="12" android:minSdkVersion="12"/>
27 <uses-feature android:glEsVersion="0x00020000" android:required="true"/>
29 <!-- Permissions needed to access bluetooth -->
30 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
31 <uses-permission android:name="android.permission.BLUETOOTH" />
32 <!-- Permissions needed to save Telemetry logs to SD card -->
33 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
34 <!-- Permissions needed for GoogleMaps -->
35 <uses-permission android:name="android.permission.INTERNET"/>
36 <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
37 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
38 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
40 <permission android:name="org.altusmetrum.AltosDroid.permission.MAPS_RECEIVE"
41 android:protectionLevel="signature"/>
42 <uses-permission android:name="org.altusmetrum.AltosDroid.permission.MAPS_RECEIVE"/>
44 <!-- Permissions needed to access USB OTG -->
45 <uses-feature android:name="android.hardware.usb.host" android:required="false" />
47 <application android:label="@string/app_name"
48 android:icon="@drawable/app_icon"
49 android:allowBackup="true"
50 android:theme="@style/CustomTheme">
51 <activity android:name="org.altusmetrum.AltosDroid.AltosDroid"
52 android:label="@string/app_name"
53 android:configChanges="orientation|keyboardHidden"
54 android:launchMode="singleTop">
56 <action android:name="android.intent.action.MAIN" />
57 <category android:name="android.intent.category.LAUNCHER" />
61 <activity android:name="org.altusmetrum.AltosDroid.AltosDroid"
62 android:configChanges="orientation|keyboardHidden"
63 android:launchMode="singleTop">
66 android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"/>
69 android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
70 android:resource="@xml/device_filter" />
73 <activity android:name=".DeviceListActivity"
74 android:label="@string/select_device"
75 android:theme="@android:style/Theme.Dialog"
76 android:configChanges="orientation|keyboardHidden" />
78 <activity android:name=".PreloadMapActivity"
79 android:label="@string/preload_maps"
80 android:theme="@android:style/Theme.Dialog"
81 android:configChanges="orientation|keyboardHidden" />
83 <activity android:name=".MapTypeActivity"
84 android:label="@string/map_type"
85 android:theme="@android:style/Theme.Dialog"
86 android:configChanges="orientation|keyboardHidden" />
88 <activity android:name=".IdleModeActivity"
89 android:label="@string/idle_mode"
90 android:theme="@android:style/Theme.Dialog"
91 android:configChanges="orientation|keyboardHidden" />
93 <activity android:name=".IgniterActivity"
94 android:label="@string/igniters"
95 android:theme="@android:style/Theme.Dialog"
96 android:configChanges="orientation|keyboardHidden" />
98 <activity android:name=".SetupActivity"
99 android:label="@string/setup"
100 android:theme="@android:style/Theme.Dialog"
101 android:configChanges="orientation" />
103 <activity android:name=".ManageFrequenciesActivity"
104 android:label="@string/manage_frequencies"
105 android:theme="@android:style/Theme.Dialog"
106 android:configChanges="orientation|keyboard" />
108 <service android:name=".TelemetryService" />
110 <meta-data android:name="com.google.android.maps.v2.API_KEY"
111 android:value="@GOOGLEKEY@"/>
112 <meta-data android:name="com.google.android.gms.version"
113 android:value="@integer/google_play_services_version" />