Browse Source

Do not directly send bittorrent mime type urls to the server, but let Android download the file first (to work around authorization).

pull/11/head
Eric Kok 12 years ago
parent
commit
2b2ecdea61
  1. 10
      android/AndroidManifest.xml

10
android/AndroidManifest.xml

@ -19,7 +19,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.transdroid" package="org.transdroid"
android:versionName="1.1.14" android:versionName="1.1.14"
android:versionCode="156" android:versionCode="157"
android:installLocation="auto"> android:installLocation="auto">
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="16" /> <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="16" />
@ -54,12 +54,12 @@
<data android:mimeType="application/x-bittorrent" /> <data android:mimeType="application/x-bittorrent" />
<data android:scheme="http" android:mimeType="application/x-bittorrent" /> <data android:scheme="http" android:mimeType="application/x-bittorrent" />
</intent-filter> </intent-filter>
<intent-filter> <!-- <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" android:host="*" android:pathPattern=".*\\.torrent" /> <data android:scheme="http" android:host="*" android:pathPattern=".*\\.torrent" />
</intent-filter> </intent-filter> -->
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
@ -67,12 +67,12 @@
<data android:mimeType="application/x-bittorrent" /> <data android:mimeType="application/x-bittorrent" />
<data android:scheme="file" android:mimeType="application/x-bittorrent" /> <data android:scheme="file" android:mimeType="application/x-bittorrent" />
</intent-filter> </intent-filter>
<!-- <intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="file" android:pathPattern=".*\\.torrent" /> <data android:scheme="file" android:pathPattern=".*\\.torrent" />
</intent-filter> --> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />

Loading…
Cancel
Save