-
Notifications
You must be signed in to change notification settings - Fork 0
/
AndroidManifest.xml
90 lines (90 loc) · 2.71 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
<?xml version="1.0" encoding="utf-8"?>
<manifest
android:versionCode="1"
android:versionName="1.0"
package="com.knox.vicinity"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="10" />
<uses-library
android:name="com.google.android.maps" />
<uses-permission
android:name="android.permission.INTERNET"
></uses-permission>
<uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION"
></uses-permission>
<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION"
></uses-permission>
<uses-permission
android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
></uses-permission>
<uses-permission
android:name="android.permission.ACCESS_MOCK_LOCATION"
></uses-permission>
<uses-permission
android:name="android.permission.WAKE_LOCK" />
<!-- Only this application can receive the messages and registration result -->
<permission
android:name="com.example.myapp.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission
android:name="com.example.myapp.permission.C2D_MESSAGE" />
<!-- This app has permission to register and receive message -->
<uses-permission
android:name="com.google.android.c2dm.permission.RECEIVE" />
<application
android:label="@string/app_name"
android:debuggable="true"
android:icon="@drawable/ic_launcher_vicinity"
>
<!-- Only C2DM servers can send messages for the app. If permission is
not set - any other app can generate it -->
<service
android:name=".CloudMessage" />
<receiver
android:name="com.google.android.c2dm.C2DMBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND"
>
<intent-filter>
<action
android:name="com.google.android.c2dm.intent.RECEIVE" />
<category
android:name="com.commonsware.android.c2dm" />
</intent-filter>
<intent-filter>
<action
android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category
android:name="com.commonsware.android.c2dm" />
</intent-filter>
</receiver>
<activity
android:name=".Splash"
android:theme="@android:style/Theme.NoTitleBar"
android:screenOrientation="portrait"
>
<intent-filter>
<action
android:name="android.intent.action.MAIN" />
<category
android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".Home"
android:theme="@android:style/Theme.NoTitleBar"
>
</activity>
<activity
android:name=".LocationSetter"
android:theme="@android:style/Theme.NoTitleBar"
android:screenOrientation="portrait"
></activity>
<uses-library
android:name="com.google.android.maps" />
</application>
</manifest>