forked from thiemonagel/vegdroid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroidManifest.xml
125 lines (100 loc) · 4.87 KB
/
AndroidManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.thiemonagel.vegdroid"
android:installLocation="auto"
android:versionCode="9"
android:versionName="0.1.8 (alpha)" >
<!--
current version distribution: https://developer.android.com/about/dashboards/index.html
(everything before Eclair has 0.4% market share as of 2012-12-03)
Google Maps v2 API requires Froyo or newer
7: Eclair 2.1
8: Froyo 2.2
9: Gingerbread 2.3-2.3.2 (almost unused)
10: Gingerbread 2.3.3-2.3.7
15: Ice Cream Sandwich 4.0
16: Jelly Bean 4.1
17: Jelly Bean 4.2
-->
<!-- "targetSdkVersion indicates the highest version of Android with which you have tested with your application." -->
<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<!--
uses-permission ACCESS_FINE_LOCATION implies uses-feature android.hardware.location.gps,
but that seems overzealous to me, so a more suitable requirement is set below
-->
<uses-feature
android:name="android.hardware.location"
android:required="true" />
<uses-feature
android:name="android.hardware.location.gps"
android:required="false" />
<!--
By default, a touchscreen is required, but touchscreen emulation should work just as well.
Unfortunately, reality doesn't seem to live up to the promise that 'faketouch' is a true
superset of 'touchscreen', cf.
http://www.saschahlusiak.de/2012/10/android-hardware-faketouch-vs-android-hardware-touchscreen/
Given the options of either not allowing installation on faketouch devices or allowing
installation on all devices independent of touch (emulation), I chose the latter.
-->
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<!-- required for Google Maps API v2 -->
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<permission
android:name="de.thiemonagel.vegdroid.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />
<uses-permission android:name="de.thiemonagel.vegdroid.permission.MAPS_RECEIVE" />
<uses-permission android:name="android.permission.INTERNET" />
<!-- improves Google Maps when network is bad -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<application
android:allowBackup="false"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Theme.Sherlock.Light" >
<activity
android:name="de.thiemonagel.vegdroid.MainActivity"
android:label="@string/title_activity_main" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="de.thiemonagel.vegdroid.MapActivity"
android:label="@string/title_activity_map" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="de.thiemonagel.vegdroid.MainActivity" />
</activity>
<activity android:name="LegalNoticesActivity">
</activity>
<!-- When specifing several keys, the last one takes precedence. -->
<!-- Google Maps API v2 key: Thiemo (release certificate FF:35:CA:4D:71:EA:BE:8D:E6:99:B8:F8:82:01:BA:F4:11:54:30:73) -->
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="AIzaSyC6XxZ0RehMdn-05ss_J_6-ztcPZgTRizQ" />
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="AIzaSyAAp-LcACcjZz41ytE-VSt4pIPrdXLj-ts" />
<!-- Google Maps API v2 key: Thiemo (debug certificate CC:D0:97:39:1D:24:DC:97:58:4C:4F:01:B2:B3:3F:1C:57:E4:38:EB) -->
<!--
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="AIzaSyB9IYt3oTaAuGIE3NWYu3c9gl-BClLtTUg" />
-->
<!-- Google Maps API v2 key: doubleA -->
<!--
-->
</application>
</manifest>