forked from ghosthamlet/frostwire-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AndroidManifest.xml
218 lines (194 loc) · 11.7 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
<?xml version="1.0" encoding="utf-8"?>
<!-- /* * Created by Angel Leon (@gubatron), Alden Torres (aldenml) * Copyright
(c) 2011, 2012, FrostWire(TM). All rights reserved. * * This program is free
software: you can redistribute it and/or modify * it under the terms of the
GNU General Public License as published by * the Free Software Foundation,
either version 3 of the License, or * (at your option) any later version.
* * This program is distributed in the hope that it will be useful, * but
WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License
for more details. * * You should have received a copy of the GNU General
Public License * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.frostwire.android" android:installLocation="preferExternal"
android:versionCode="95" android:versionName="1.1.0">
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="13" />
<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_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="com.android.vending.BILLING" />
<!-- offercast permissions -->
<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.browser.permission.WRITE_HISTORY_BOOKMARKS" />
<uses-permission
android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS" />
<application android:name="com.frostwire.android.gui.MainApplication"
android:allowBackup="true" android:icon="@drawable/app_icon"
android:label="@string/application_label" android:theme="@style/FrostWireTheme">
<!-- activities -->
<activity android:name="com.frostwire.android.gui.activities.MainActivity"
android:label="@string/application_label">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="tv.ouya.intent.category.GAME"/>
</intent-filter>
<!-- handle .torrent urls, files and magets -->
<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="http" android:host="*" android:pathPattern=".*\\.torrent" />
</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="https" android:host="*" android:pathPattern=".*\\.torrent" />
</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:mimeType="*/*" android:scheme="http" android:host="*" android:pathPattern=".*\\.torrent" />
</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:mimeType="*/*" android:scheme="https" android:host="*" android:pathPattern=".*\\.torrent" />
</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:mimeType="application/x-bittorrent" android:scheme="http" android:host="*" />
</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:mimeType="application/x-bittorrent" android:scheme="https" android:host="*" />
</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="magnet" />
</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:mimeType="*/*" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\.torrent" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\..*\\.torrent" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\..*\\..*\\.torrent" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\..*\\..*\\..*\\.torrent" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\..*\\..*\\..*\\..*\\.torrent" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\.torrent" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\.torrent" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.torrent" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.torrent" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\..*\\.torrent" />
</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:pathPattern=".*\\.torrent" />
</intent-filter>
<!-- share a file sent by another app -->
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*" />
</intent-filter>
<!-- share multiple files sent by another app -->
<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*" />
</intent-filter>
</activity>
<activity android:name="com.frostwire.android.gui.activities.WizardActivity"
android:label="@string/application_label" android:screenOrientation="portrait" />
<activity android:name="com.frostwire.android.gui.activities.PreferencesActivity"
android:label="@string/activity_preferences_name" android:theme="@style/Preferences" />
<activity android:name="com.frostwire.android.gui.activities.BrowsePeerActivity"
android:label="@string/activity_browse_peer_name" />
<activity android:name=".gui.activities.MediaPlayerActivity"
android:label="@string/activity_mediaplayer_name"
android:screenOrientation="portrait" />
<activity android:name="com.frostwire.android.gui.activities.AboutActivity"
android:label="@string/activity_about" />
<activity android:name="com.google.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
<!-- offercast -->
<activity android:name="com.offercast.android.sdk.TermsAndConditionsActivity"
android:label="@string/application_label" />
<service android:name="com.offercast.android.sdk.OCService" />
<receiver android:name="com.offercast.android.sdk.OCBroadcastReceiver"
android:enabled="true" android:exported="false">
<intent-filter android:priority="1001">
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<!-- offercast metadata development -->
<!--
<meta-data android:name="application-id" android:value="8"/> <meta-data
android:name="access-token" android:value="805d0103-c3ab-4421-9708-cdc6328247fb"/>
<meta-data android:name="store-name" android:value="Google"/> <meta-data
android:name="store-category" android:value="Media & Video"/>
-->
<!-- offercast metadata production -->
<!-- -->
<meta-data android:name="application-id" android:value="7" />
<meta-data android:name="access-token"
android:value="5e6c1ceb-2b03-4b2e-a57f-0876395149ad" />
<meta-data android:name="store-name" android:value="Google" />
<meta-data android:name="store-category" android:value="Media & Video" />
<!-- -->
<!-- providers -->
<provider android:name="com.frostwire.android.core.providers.DocumentsProvider"
android:authorities="com.frostwire.android.core.providers.Documents" />
<provider android:name="com.frostwire.android.core.providers.SharingProvider"
android:authorities="com.frostwire.android.core.providers.Sharing" />
<provider android:name="com.frostwire.android.core.providers.ApplicationsProvider"
android:authorities="com.frostwire.android.core.providers.Applications" />
<provider android:name="com.frostwire.android.core.providers.TorrentsProvider"
android:authorities="com.frostwire.android.core.providers.Torrents" />
<!-- services -->
<service android:name="com.frostwire.android.gui.services.EngineService"
android:exported="false" />
<service android:name="com.frostwire.gui.upnp.android.UPnPService"
android:exported="false" />
<service android:name="com.frostwire.android.market.BillingService"
android:exported="false" />
<receiver android:name="com.frostwire.android.gui.services.EngineBroadcastReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<receiver android:name="com.frostwire.android.market.BillingReceiver">
<intent-filter>
<action android:name="com.android.vending.billing.IN_APP_NOTIFY" />
<action android:name="com.android.vending.billing.RESPONSE_CODE" />
<action android:name="com.android.vending.billing.PURCHASE_STATE_CHANGED" />
</intent-filter>
</receiver>
</application>
</manifest>