forked from buggins/coolreader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroidManifest.xml
186 lines (178 loc) · 9.74 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
<?xml version="1.0" encoding="utf-8"?>
<!-- This file used only by 'Eclipse', if you use 'Android Studio'
file 'app/src/main/AndroidManifest.xml' used instead! -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.coolreader"
android:installLocation="auto"
android:versionName="3.2.57-1" android:versionCode="32570">
<supports-screens
android:xlargeScreens="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true"
android:anyDensity="true"
/>
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<!-- uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE"/-->
<uses-permission android:name="android.permission.INTERNET"/>
<!-- Stop TTS on incoming call -->
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<!-- foreground TTS control service, for API >= 28 -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<!-- Hide Android3 soft buttons on Archos -->
<!--uses-permission android:name="archos.permission.FULLSCREEN.FULL"/-->
<!-- Required permission to use in-app billing. -->
<uses-permission android:name="com.android.vending.BILLING" />
<application android:label="@string/app_name"
android:icon="@mipmap/cr3_logo"
android:allowClearUserData="true"
android:process="org.coolreader"
android:usesCleartextTraffic="true"
>
<!--
android:configChanges="orientation|keyboardHidden|locale|screenSize"
-->
<activity android:name=".CoolReader"
android:label="@string/app_name"
android:configChanges="orientation|keyboardHidden|locale|screenSize|screenLayout|layoutDirection"
android:theme="@android:style/Theme.NoTitleBar"
android:launchMode="singleInstance"
android:windowSoftInputMode="stateAlwaysHidden"
android:screenOrientation="sensor">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="file" android:host="*" />
<data android:scheme="content" />
<data android:mimeType="application/octet-stream" />
<data android:pathPattern=".*\\.fb2\\.zip"/>
<data android:pathPattern=".*\\..*\\.fb2\\.zip"/>
<data android:pathPattern=".*\\..*\\..*\\.fb2\\.zip"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\.fb2\\.zip"/>
<data android:pathPattern=".*\\.zip"/>
<data android:pathPattern=".*\\.fb2"/>
<data android:pathPattern=".*\\..*\\.fb2"/>
<data android:pathPattern=".*\\..*\\..*\\.fb2"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\.fb2"/>
<!-- for inner files in archive opened from system file manager -->
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.fb2"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.fb2"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.fb2"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.fb2"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.fb2"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.fb2"/>
<!-- end of inner files in archive -->
<data android:pathPattern=".*\\.fb3"/>
<data android:pathPattern=".*\\..*\\.fb3"/>
<data android:pathPattern=".*\\..*\\..*\\.fb3"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\.fb3"/>
<data android:pathPattern=".*\\.txt"/>
<data android:pathPattern=".*\\.html"/>
<data android:pathPattern=".*\\.xhtml"/>
<data android:pathPattern=".*\\.htm"/>
<data android:pathPattern=".*\\.chm"/>
<data android:pathPattern=".*\\..*\\.chm"/>
<data android:pathPattern=".*\\..*\\..*\\.chm"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\.chm"/>
<data android:pathPattern=".*\\.epub"/>
<data android:pathPattern=".*\\..*\\.epub"/>
<data android:pathPattern=".*\\..*\\..*\\.epub"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\.epub"/>
<data android:pathPattern=".*\\.fb2\\.epub"/>
<data android:pathPattern=".*\\..*\\.fb2\\.epub"/>
<data android:pathPattern=".*\\..*\\..*\\.fb2\\.epub"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\.fb2\\.epub"/>
<data android:pathPattern=".*\\.pdb"/>
<data android:pathPattern=".*\\.doc"/>
<data android:pathPattern=".*\\.docx"/>
<data android:pathPattern=".*\\.odt"/>
<data android:pathPattern=".*\\..*\\.odt"/>
<data android:pathPattern=".*\\..*\\..*\\.odt"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\.odt"/>
<data android:pathPattern=".*\\.prc"/>
<data android:pathPattern=".*\\.pml"/>
<data android:pathPattern=".*\\.mobi"/>
<data android:pathPattern=".*\\..*\\.mobi"/>
<data android:pathPattern=".*\\..*\\..*\\.mobi"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\.mobi"/>
<data android:pathPattern=".*\\.fb2\\.mobi"/>
<data android:pathPattern=".*\\..*\\.fb2\\.mobi"/>
<data android:pathPattern=".*\\..*\\..*\\.fb2\\.mobi"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\.fb2\\.mobi"/>
<data android:pathPattern=".*\\.azw"/>
<data android:pathPattern=".*\\.tcr"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="file" android:host="*" />
<data android:scheme="content" />
<data android:mimeType="text/plain"/>
<data android:mimeType="text/html"/>
<data android:mimeType="text/richtext"/>
<data android:mimeType="application/x-cbr"/>
<data android:mimeType="application/x-cbz"/>
<data android:mimeType="application/zip"/>
<data android:mimeType="application/rtf"/>
<data android:mimeType="application/x-rtf"/>
<data android:mimeType="application/x-chm"/>
<data android:mimeType="application/fb2"/>
<data android:mimeType="application/fb2.zip"/>
<data android:mimeType="application/fb3"/>
<data android:mimeType="application/epub"/>
<data android:mimeType="application/epub+zip"/>
<data android:mimeType="application/x-fictionbook"/>
<data android:mimeType="application/x-fictionbook+xml"/>
<data android:mimeType="application/x-pilot-prc"/>
<data android:mimeType="application/x-mobipocket-ebook"/>
<data android:mimeType="application/msword"/>
<data android:mimeType="application/doc"/>
<data android:mimeType="application/vnd.msword"/>
<data android:mimeType="application/vnd.ms-word"/>
<data android:mimeType="application/winword"/>
<data android:mimeType="application/word"/>
<data android:mimeType="application/x-msw6"/>
<data android:mimeType="application/x-msword"/>
<data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
<data android:mimeType="application/vnd.oasis.opendocument.text"/>
</intent-filter>
</activity>
<!-- Database service -->
<service
android:name=".db.CRDBService"
android:enabled="true"
android:exported="false" />
<!-- TTS control service -->
<service
android:name=".tts.TTSControlService"
android:enabled="true"
android:exported="false"
android:foregroundServiceType="mediaPlayback" >
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</service>
<!-- Cloud sync service -->
<service
android:name=".sync2.SyncService"
android:enabled="true"
android:exported="false" >
</service>
<!-- Stop TTS on incoming call -->
<receiver android:name="org.coolreader.PhoneStateReceiver">
<intent-filter>
<action android:name="android.intent.action.PHONE_STATE" />
</intent-filter>
</receiver>
</application>
</manifest>