-
Notifications
You must be signed in to change notification settings - Fork 14
/
AndroidManifest.xml
executable file
·121 lines (105 loc) · 5.18 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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.easefun.polyvsdk"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="23" />
<!-- 基础权限 -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_LOGS" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<!-- 属于android6.0运行时权限,android6.0在使用时,需要再次请求以下权限 -->
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- android.permission.READ_PHONE_STATE是PolyvSDKClient.initCrashReport使用到的权限,如果没有调用此方法,可以去掉该权限 -->
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-feature android:name="android.hardware.camera" />
<instrumentation
android:name="android.test.InstrumentationTestRunner"
android:targetPackage="com.easefun.polyvsdk" >
</instrumentation>
<application
android:name="com.easefun.polyvsdk.demo.MyApplication"
android:allowBackup="true"
android:hardwareAccelerated="true"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<uses-library android:name="android.test.runner" />
<activity
android:name="com.easefun.polyvsdk.demo.NewTestActivity"
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="com.easefun.polyvsdk.demo.RecordActivity"
android:label="@string/title_activity_record"
android:screenOrientation="landscape"
android:theme="@style/NoActionBar" >
</activity>
<activity
android:name="com.easefun.polyvsdk.demo.IjkVideoActicity"
android:configChanges="orientation|screenSize|keyboardHidden"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar" >
</activity>
<activity
android:name="com.easefun.polyvsdk.demo.download.PolyvDownloadListActivity"
android:configChanges="orientation|screenSize|keyboardHidden"
android:label="@string/app_name"
android:parentActivityName="com.easefun.polyvsdk.demo.NewTestActivity"
android:theme="@android:style/Theme.NoTitleBar" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.easefun.polyvsdk.demo.NewTestActivity" />
</activity>
<activity
android:name="com.easefun.polyvsdk.demo.VideoListActivity"
android:configChanges="orientation|screenSize|keyboardHidden"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
</activity>
<activity
android:name="com.easefun.polyvsdk.demo.upload.PolyvUploadListActivity"
android:configChanges="orientation|screenSize|keyboardHidden"
android:label="@string/app_name"
android:parentActivityName="com.easefun.polyvsdk.demo.NewTestActivity"
android:theme="@android:style/Theme.NoTitleBar" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.easefun.polyvsdk.demo.NewTestActivity" />
<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="video/*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="video/*" />
</intent-filter>
<!--
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="video/*" />
</intent-filter>
-->
</activity>
<!-- service -->
<service android:name="com.easefun.polyvsdk.demo.PolyvDemoService" >
</service>
<service android:name="com.easefun.polyvsdk.demo.download.PolyvDLNotificationService" >
</service>
<service android:name="com.easefun.polyvsdk.demo.upload.PolyvULNotificationService" >
</service>
</application>
</manifest>