summaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorligi <ligi@ligi.de>2013-01-23 16:01:31 +0100
committerligi <ligi@ligi.de>2013-01-23 16:01:31 +0100
commite54dbbcdce01d3180fe1cdbf245fd6ea2dfafcd8 (patch)
treefac7a736fc3d76925b29d79749bca92cd5add427 /AndroidManifest.xml
parenteb11da53c7404f83c32b0a1190d59eada37b0d02 (diff)
downloadAntennaPod-e54dbbcdce01d3180fe1cdbf245fd6ea2dfafcd8.zip
import via intent working initially
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml57
1 files changed, 57 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d223e174e..a0e277a85 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -166,6 +166,63 @@
android:configChanges="keyboardHidden|orientation"
android:label="@string/opml_import_label" >
</activity>
+
+ <activity
+ android:name=".activity.OpmlImportFromIntentActivity"
+ android:configChanges="keyboardHidden|orientation"
+ android:label="@string/opml_import_label" >
+ <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:host="*"
+ android:pathPattern=".*\\.xml"
+ android:scheme="https"/>
+ </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:host="*"
+ android:pathPattern=".*\\.xml"
+ android:scheme="http"/>
+ </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:pathPattern=".*\\.xml"
+ android:scheme="file"/>
+ </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/xml"/>
+ </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="text/xml"/>
+ </intent-filter>
+ </activity>
+
<activity
android:name=".activity.OpmlFeedChooserActivity"
android:label="@string/opml_import_label" >