altosdroid: Get rid of on-line only maps tab
[fw/altos] / altosdroid / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3  * Copyright © 2012 Mike Beattie <mike@ethernal.org>
4  *
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.
8  *
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.
13  *
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.
17 -->
18 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
19           package="org.altusmetrum.AltosDroid"
20           android:versionCode="6"
21           android:versionName="1.5">
22     <uses-sdk android:targetSdkVersion="12" android:minSdkVersion="12"/>
23     <!-- Google Maps -->
24     <uses-feature android:glEsVersion="0x00020000" android:required="true"/>
25
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"/>
36
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"/>
40
41     <!-- Permissions needed to access USB OTG -->
42     <uses-feature android:name="android.hardware.usb.host" />
43
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">
52             <intent-filter>
53                 <action android:name="android.intent.action.MAIN" />
54                 <category android:name="android.intent.category.LAUNCHER" />
55             </intent-filter>
56         </activity>
57
58         <activity android:name="org.altusmetrum.AltosDroid.AltosDroid"
59                   android:configChanges="orientation|keyboardHidden"
60                   android:launchMode="singleTop">
61           <intent-filter>
62             <action
63                 android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"/>
64           </intent-filter>
65           <meta-data
66               android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
67               android:resource="@xml/device_filter" />
68         </activity>
69
70         <activity android:name=".DeviceListActivity"
71                   android:label="@string/select_device"
72                   android:theme="@android:style/Theme.Dialog"
73                   android:configChanges="orientation|keyboardHidden" />
74
75         <activity android:name=".PreloadMapActivity"
76                   android:label="@string/preload_maps"
77                   android:theme="@android:style/Theme.Dialog"
78                   android:configChanges="orientation|keyboardHidden" />
79
80         <activity android:name=".MapTypeActivity"
81                   android:label="@string/map_type"
82                   android:theme="@android:style/Theme.Dialog"
83                   android:configChanges="orientation|keyboardHidden" />
84
85         <service android:name=".TelemetryService" />
86
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" />
91     </application>
92 </manifest>