-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAndroidManifest.xml
More file actions
69 lines (58 loc) · 2.59 KB
/
AndroidManifest.xml
File metadata and controls
69 lines (58 loc) · 2.59 KB
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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.hsr"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="21" />
<!-- define a permission -->
<permission
android:name="com.example.hsr.permission.MAPS_RECEIVE"
android:protectionLevel="signature" >
<!--
the application defines the permission and the application uses
the permission must be using the same code signature
-->
</permission>
<!-- use a permission defined -->
<uses-permission android:name="com.example.hsr.permission.MAPS_RECEIVE" />
<uses-permission android:name="permission_name" />
<uses-permission android:name="android.permission.INTERNET" >
</uses-permission>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<!-- use a permission from google play service ,miss the permission causes malfunction of map -->
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<!-- add openGLES for map rendering -->
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<!-- true means if the device does not support the opengl version, then device is not allowed to install the app -->
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!--
must be placed before end of <application> tag, the api key value
is only for one development computer
-->
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="AIzaSyAy_v-Tilaunr2QYRVh9ZKDtWkGZ1xZw8U" />
</application>
</manifest>