-
Notifications
You must be signed in to change notification settings - Fork 3
/
AndroidManifest.xml
446 lines (394 loc) · 20.4 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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.zftlive.android"
android:installLocation="auto"
android:versionCode="1"
android:versionName="1.0" >
<!-- 屏幕兼容模式配置 -->
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<!-- SDK版本信息 -->
<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="19" />
<!-- 测试用例 -->
<instrumentation
android:name="android.test.InstrumentationTestRunner"
android:label="Tests for zftlive"
android:targetPackage="com.zftlive.android" />
<!-- 配置权限清单(开始) -->
<!-- 访问账户Gmail列表权限 -->
<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" />
<!-- 这个权限用于进行网络定位 -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<!-- 这个权限用于访问GPS定位 -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<!-- 用于访问wifi网络信息,wifi信息会用于进行网络定位 -->
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<!-- 获取运营商信息,用于支持提供运营商信息相关的接口 -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- 这个权限用于获取wifi的获取权限,wifi信息会用来进行网络定位 -->
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<!-- 写入扩展存储,向扩展卡写入数据,用于写入离线定位数据 -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- 访问网络,网络定位需要上网 -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- 允许应用读取低级别的系统日志文件 -->
<uses-permission android:name="android.permission.READ_LOGS" />
<!-- 在SDCard中创建与删除文件权限 -->
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
<!-- 读写手机状态和身份 -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<!-- 向外拨打电话的权限 -->
<uses-permission android:name="android.permission.CALL_PHONE" />
<!-- 调用照相机相关权限 -->
<uses-permission android:name="android.permission.CAMERA" />
<!-- 发送短信权限 -->
<uses-permission android:name="android.permission.SEND_SMS" />
<!-- 读送短信权限 -->
<uses-permission android:name="android.permission.READ_SMS" />
<!-- 写短信权限 -->
<uses-permission android:name="android.permission.WRITE_SMS" />
<!-- 接收短信权限 -->
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.READ_LOGS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.GET_TASKS"/>
<permission
android:name="oem.permission.SENDMAIL"
android:protectionLevel="normal" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature
android:name="android.hardware.camera.autofocus"
android:required="false" />
<!-- Push service 运行需要的权限 -->
<!-- 开机启动权限 -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<!-- 振动权限 -->
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER" />
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
<!-- 禁用键盘锁权限 -->
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<!-- 更改系统设置的权限 -->
<uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
<!-- 访问闪光灯的权限 -->
<uses-permission android:name="android.permission.FLASHLIGHT" />
<!-- 发送短信验证码的权限 -->
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<!-- 统计SDK用的 -->
<uses-permission android:name="android.permission.GET_TASKS" />
<!-- 配置权限清单(结束) -->
<application
android:name="com.zftlive.android.MApplication"
android:allowBackup="false"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<!-- 在本应用中导入需要使用的包,放在application里面activity外面 -->
<uses-library android:name="android.test.runner" />
<!-- 配置程序启动界面 -->
<activity
android:name=".Launcher"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- 程序主界面 -->
<activity
android:name=".sample.MainActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/MainActivity"
android:launchMode="singleTask"
android:logo="@drawable/ic_list_white_48dp"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<!-- android:windowSoftInputMode="adjustPan" 键盘就会覆盖屏幕 -->
<!-- android:windowSoftInputMode="stateVisible|adjustResize" 屏幕整体上移 -->
<!-- 引导界面 -->
<activity
android:name=".common.GuideActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/GuideActivity"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<!-- 意见反馈界面 -->
<activity
android:name=".common.FeedbackActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/FeedbackActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<!-- 扫描二维码界面 -->
<activity
android:name=".zxing.CaptureActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" />
<!-- 底部泡泡菜单 -->
<activity
android:name=".sample.popupwindow.PopDialogMenuActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/PopDialogMenuActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<!-- 曲线图样例 -->
<activity
android:name=".sample.chart.LineChartActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/LineChartActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<!-- 异步加载列表图片样例 -->
<activity
android:name=".sample.image.ImageListviewActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/ImageListviewActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<!-- 调用摄像头拍照样例 -->
<activity
android:name=".sample.camera.CameraPictureActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/CameraPictureActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<!-- 数据库操作示例 -->
<activity
android:name=".sample.db.DBDemoActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/DBDemoActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<!-- 生成二维码/验证码示例 -->
<activity
android:name=".sample.zxing.ZxingGenBinActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/ZxingGenBinActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<!-- 扫描二维码/条形码示例 -->
<activity
android:name=".sample.zxing.ZxingSacnnerActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/ZxingSacnnerActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<!-- 调用webservice接口SOAP协议查看天气示例 -->
<activity
android:name=".sample.soap.ProviceActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/SOAP"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<activity
android:name=".sample.soap.CityActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
</activity>
<activity
android:name=".sample.soap.WeatherActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
</activity>
<!-- 发送手机短信验证码示例 -->
<activity
android:name=".sample.sms.PhoneValidateCodeActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/PhoneValidateCodeActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<!-- 各种进度条示例 -->
<activity
android:name=".sample.progressbar.ProgressBarActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/ProgressBarActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<!-- 自动获取表单数据示例 -->
<activity
android:name=".sample.data.AutoGainFormActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/AutoGainFormActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<!-- Activity过场动画示例 -->
<activity
android:name=".sample.animation.AnimationInActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/AnimationInActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<activity
android:name=".sample.animation.AnimationOutActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
</activity>
<!-- 发送短信/拦截示例 -->
<activity
android:name=".sample.sms.SMSOperationActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/SMSOperationActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<!-- 基本常用操作测试样例 -->
<activity
android:name=".sample.basic.BasicTestActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/BasicTestActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<!-- DrawerLayout侧滑菜单样例 -->
<activity
android:name=".sample.menu.DrawerLayoutActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/DrawerLayoutActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<!-- 水平+垂直滚动+首行首列固定+翻页Listview样例 -->
<activity
android:name=".sample.fixed.HVScorllListviewActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/HVScorllListviewActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.zftlive.android.SAMPLE_CODE" />
</intent-filter>
</activity>
<!-- 静态注册短信广播接收器 -->
<receiver android:name=".sample.sms.SMSBroadcastReceiver" >
<intent-filter android:priority="2147483647" >
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
<service android:name="com.zdp.aseo.content.AseoZdpUpdateService" />
<activity
android:name="com.iflytek.voiceads.request.IFLYBrowser"
android:screenOrientation="portrait" />
<meta-data android:name="IFLYTEK_APPKEY_AD" android:value="54fe544f"/>
<!-- 动态注册短信拦截Service http://blog.csdn.net/zhujunwang/article/details/7912829 -->
<!-- <service android:name=".sample.sms.SMSInterceptService" android:exported="false" android:permission="oem.permission.SENDMAIL" > -->
<!-- <intent-filter > -->
<!-- <action android:name="com.zftlive.android.sample.sms.service.SMSReceived" /> -->
<!-- <category android:name="android.intent.category.DEFAULT" /> -->
<!-- </intent-filter> -->
<!-- </service> -->
</application>
</manifest>