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">
24 <uses-feature android:glEsVersion="0x00020000" android:required="true"/>
26 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
28 <!-- Permissions needed to access bluetooth -->
29 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
30 <uses-permission android:name="android.permission.BLUETOOTH" />
31 <!-- Permissions needed to save Telemetry logs to SD card -->
32 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
33 <!-- Permissions needed for GoogleMaps -->
34 <uses-permission android:name="android.permission.INTERNET"/>
35 <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
36 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
37 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
39 <permission android:name="org.altusmetrum.AltosDroid.permission.MAPS_RECEIVE"
40 android:protectionLevel="signature"/>
41 <uses-permission android:name="org.altusmetrum.AltosDroid.permission.MAPS_RECEIVE"/>
43 <!-- Permissions needed to access USB OTG -->
44 <uses-feature android:name="android.hardware.usb.host" android:required="false" />
46 <application android:label="@string/app_name"
47 android:icon="@drawable/app_icon"
48 android:allowBackup="true"
49 android:theme="@style/CustomTheme">
50 <activity android:name="org.altusmetrum.AltosDroid.AltosDroid"
51 android:label="@string/app_name"
52 android:configChanges="orientation|keyboardHidden"
53 android:launchMode="singleTop">
55 <category android:name="android.intent.category.LAUNCHER" />
56 <action android:name="android.intent.action.MAIN" />
57 <action android:name="android.intent.action.VIEW" />
58 <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"/>
61 android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
62 android:resource="@xml/device_filter" />
65 <activity android:name=".DeviceListActivity"
66 android:label="@string/select_device"
67 android:theme="@android:style/Theme.Dialog"
68 android:configChanges="orientation|keyboardHidden" />
70 <activity android:name=".PreloadMapActivity"
71 android:label="@string/preload_maps"
72 android:theme="@android:style/Theme.Dialog"
73 android:configChanges="orientation|keyboardHidden" />
75 <activity android:name=".MapTypeActivity"
76 android:label="@string/map_type"
77 android:theme="@android:style/Theme.Dialog"
78 android:configChanges="orientation|keyboardHidden" />
80 <activity android:name=".IdleModeActivity"
81 android:label="@string/idle_mode"
82 android:theme="@android:style/Theme.Dialog"
83 android:configChanges="orientation|keyboardHidden" />
85 <activity android:name=".IgniterActivity"
86 android:label="@string/igniters"
87 android:theme="@android:style/Theme.Dialog"
88 android:configChanges="orientation|keyboardHidden" />
90 <activity android:name=".SetupActivity"
91 android:label="@string/setup"
92 android:theme="@android:style/Theme.Dialog"
93 android:configChanges="orientation" />
95 <activity android:name=".ManageFrequenciesActivity"
96 android:label="@string/manage_frequencies"
97 android:theme="@android:style/Theme.Dialog"
98 android:configChanges="orientation|keyboard" />
100 <service android:name=".TelemetryService" />
102 <meta-data android:name="com.google.android.maps.v2.API_KEY"
103 android:value="@GOOGLEKEY@"/>
104 <meta-data android:name="com.google.android.gms.version"
105 android:value="@integer/google_play_services_version" />