Remove versioning data from AndroidManifest.xml.in
[fw/altos] / altosdroid / app / src / main / AndroidManifest.xml.in
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3
4  Copyright © 2012 Mike Beattie <mike@ethernal.org>
5
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.
10
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.
15
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.
19
20 -->
21 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
22           package="org.altusmetrum.AltosDroid">
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" android:required="false" />
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                 <category android:name="android.intent.category.LAUNCHER" />
54                 <action android:name="android.intent.action.MAIN" />
55                 <action android:name="android.intent.action.VIEW" />
56                 <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"/>
57             </intent-filter>
58             <meta-data
59                     android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
60                     android:resource="@xml/device_filter" />
61         </activity>
62
63         <activity android:name=".DeviceListActivity"
64                   android:label="@string/select_device"
65                   android:theme="@android:style/Theme.Dialog"
66                   android:configChanges="orientation|keyboardHidden" />
67
68         <activity android:name=".PreloadMapActivity"
69                   android:label="@string/preload_maps"
70                   android:theme="@android:style/Theme.Dialog"
71                   android:configChanges="orientation|keyboardHidden" />
72
73         <activity android:name=".MapTypeActivity"
74                   android:label="@string/map_type"
75                   android:theme="@android:style/Theme.Dialog"
76                   android:configChanges="orientation|keyboardHidden" />
77
78         <activity android:name=".IdleModeActivity"
79                   android:label="@string/idle_mode"
80                   android:theme="@android:style/Theme.Dialog"
81                   android:configChanges="orientation|keyboardHidden" />
82
83         <activity android:name=".IgniterActivity"
84                   android:label="@string/igniters"
85                   android:theme="@android:style/Theme.Dialog"
86                   android:configChanges="orientation|keyboardHidden" />
87
88         <activity android:name=".SetupActivity"
89                   android:label="@string/setup"
90                   android:theme="@android:style/Theme.Dialog"
91                   android:configChanges="orientation" />
92                   
93         <activity android:name=".ManageFrequenciesActivity"
94                   android:label="@string/manage_frequencies"
95                   android:theme="@android:style/Theme.Dialog"
96                   android:configChanges="orientation|keyboard" />
97                   
98         <service android:name=".TelemetryService" />
99
100         <meta-data android:name="com.google.android.maps.v2.API_KEY"
101                    android:value="@GOOGLEKEY@"/>
102         <meta-data android:name="com.google.android.gms.version"
103                    android:value="@integer/google_play_services_version" />
104     </application>
105 </manifest>