-
Notifications
You must be signed in to change notification settings - Fork 5
/
AndroidManifest.xml
262 lines (241 loc) · 12.9 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.roboo.like.google"
android:versionCode="1"
android:versionName="1.0" >
<!-- 测试锁屏需要的权限 -->
<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
<!-- 杀死后台进程权限 -->
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
<!-- 使用云巴sdk需要的权限 -->
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- 4.4系统挂掉,缺少此权限 -->
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
<!-- 允许程序添加系统窗口 -->
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<!-- 读取联系人权限 -->
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_SMS" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- //================================================================ -->
<!-- //================================================================ -->
<!-- 使用百度地图需要的权限 -->
<!-- //================================================================ -->
<!-- //================================================================ -->
<!-- 使用网络功能所需权限 -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<!-- SDK离线地图和cache功能需要读写外部存储器 -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<!-- 获取设置信息和详情页直接拨打电话需要以下权限 -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<!-- <uses-permission android:name="android.permission.CALL_PHONE" /> -->
<!-- 使用定位功能所需权限,demo已集成百度定位SDK,不使用定位功能可去掉以下6项 -->
<permission android:name="android.permission.BAIDU_LOCATION_SERVICE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.BAIDU_LOCATION_SERVICE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_GPS" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
<uses-permission android:name="android.permission.READ_LOGS" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<!-- 极光推送需要的权限 -->
<permission
android:name="com.roboo.like.google.permission.JPUSH_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.roboo.like.google.permission.JPUSH_MESSAGE" />
<uses-permission android:name="android.permission.RECEIVE_USER_PRESENT" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
<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_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" /> <!-- since 1.6.0 -->
<!-- 极光推送需要的权限 -->
<!-- 创建快捷方式需要的权限 -->
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
<!-- 创建快捷方式需要的权限 -->
<!-- //================================================================ -->
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="16" />
<application
android:name=".GoogleApplication"
android:allowBackup="true"
android:hardwareAccelerated="false"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<meta-data
android:name="com.baidu.lbsapi.API_KEY"
android:value="uuFQCOAy7CNeCuFrGnDN09p7" />
<activity
android:name=".StartActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".PictureActivity"
android:launchMode="singleTop" />
<activity android:name=".LocationActivity" />
<activity android:name=".MoodActivity" />
<activity android:name=".TextActivity" />
<activity android:name=".PictureDetailActivity" />
<activity android:name=".UserActivity" />
<activity android:name="com.roboo.like.google.DroidGalleryFlowActivity" />
<activity android:name=".AddActivity" />
<activity android:name=".SettingsActivity" />
<activity android:name=".WIFIActivity" />
<activity android:name=".BusActivity" />
<activity android:name=".BusLineActivity" />
<activity android:name=".BusStationActivity" />
<activity android:name=".MainActivity" />
<activity android:name=".SMSActivity" />
<activity android:name=".CityActivity" />
<activity android:name=".WeatherActivity" />
<activity
android:name=".JPushActivity"
android:theme="@style/Dialog.Theme" />
<activity android:name=".ContacterActivity" />
<activity
android:name=".NewsActivity"
android:launchMode="singleTop" />
<activity android:name=".CameraActivity" />
<activity android:name=".CommentActivity" />
<activity android:name=".RouteActivity" />
<activity android:name=".GalleryFlowActivity" />
<activity
android:name="com.roboo.like.google.WebViewActivity"
android:windowSoftInputMode="adjustPan|stateHidden" />
<service android:name=".NetworkService" />
<service android:name=".WIFIDownloadService" />
<service android:name=".LockScreenService" />
<receiver
android:name=".LockScreenReceiver"
android:enabled="true" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<!-- //================================================================ -->
<!-- //================================================================ -->
<!-- 使用百度定位需要的服务 -->
<!-- //================================================================ -->
<!-- //================================================================ -->
<service
android:name="com.baidu.location.f"
android:enabled="true"
android:process=":remote" />
<!-- //================================================================ -->
<!-- 使用云巴需要的服务 以及APPKEY -->
<service
android:name="io.yunba.android.core.YunBaService"
android:exported="true" />
<receiver android:name="io.yunba.android.core.YunBaReceiver" >
<intent-filter>
<action android:name="android.intent.action.USER_PRESENT" />
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>
<receiver android:name="com.roboo.like.google.receiver.YunBaReceiver" >
<intent-filter>
<action android:name="io.yunba.android.MESSAGE_RECEIVED_ACTION" />
<category android:name="com.roboo.like.google" />
</intent-filter>
</receiver>
<meta-data
android:name="YUNBA_APPKEY"
android:value="53aa24ac90354b806cea8a42" />
<!-- 使用云巴需要的服务 以及APPKEY -->
<!-- JPush SDK核心功能 -->
<service
android:name="cn.jpush.android.service.DownloadService"
android:enabled="true"
android:exported="false" />
<!-- JPush SDK 核心功能 -->
<service
android:name="cn.jpush.android.service.PushService"
android:enabled="true"
android:exported="false" >
<intent-filter>
<action android:name="cn.jpush.android.intent.REGISTER" />
<action android:name="cn.jpush.android.intent.REPORT" />
<action android:name="cn.jpush.android.intent.PushService" />
<action android:name="cn.jpush.android.intent.PUSH_TIME" />
</intent-filter>
</service>
<!-- JPush SDK核心功能 -->
<receiver
android:name="cn.jpush.android.service.PushReceiver"
android:enabled="true" >
<intent-filter android:priority="1000" >
<action android:name="cn.jpush.android.intent.NOTIFICATION_RECEIVED_PROXY" />
<!-- Required 显示通知栏 -->
<category android:name="com.roboo.like.google" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.USER_PRESENT" />
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
<!-- Optional -->
<intent-filter>
<action android:name="android.intent.action.PACKAGE_ADDED" />
<action android:name="android.intent.action.PACKAGE_REMOVED" />
<data android:scheme="package" />
</intent-filter>
</receiver>
<!-- Required SDK核心功能 -->
<receiver android:name="cn.jpush.android.service.AlarmReceiver" />
<!-- 用户自定义的广播接收器 -->
<receiver
android:name="com.roboo.like.google.receiver.JPushReceiver"
android:enabled="true" >
<intent-filter>
<action android:name="cn.jpush.android.intent.REGISTRATION" />
Required 用户注册SDK的intent
<action android:name="cn.jpush.android.intent.UNREGISTRATION" />
<action android:name="cn.jpush.android.intent.MESSAGE_RECEIVED" />
Required 用户接收SDK消息的intent
<action android:name="cn.jpush.android.intent.NOTIFICATION_RECEIVED" />
Required 用户接收SDK通知栏信息的intent
<action android:name="cn.jpush.android.intent.NOTIFICATION_OPENED" />
Required 用户打开自定义通知栏的intent
<category android:name="com.roboo.like.google" />
</intent-filter>
</receiver>
<!-- 值来自开发者定义的渠道标识 -->
<meta-data
android:name="JPUSH_CHANNEL"
android:value="roboo" />
<!-- 值来自开发者平台取得的AppKey -->
<meta-data
android:name="JPUSH_APPKEY"
android:value="@string/JPUSH_KEY" />
<!-- JPush SDK核心功能 -->
</application>
</manifest>