summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorJeff Hamilton <jham@android.com>2011-06-17 16:19:33 -0500
committerJeff Hamilton <jham@android.com>2011-06-17 16:19:33 -0500
commitfd77aaaa6b1b79ba0438a78e357aa877552830b1 (patch)
tree0dec8d4b867d9ab7b39ac3a4e9787ef1e9a570df /AndroidManifest.xml
parentf3828cd09f12cbf2980af72187628a608db8e938 (diff)
downloadandroid_packages_apps_Gello-fd77aaaa6b1b79ba0438a78e357aa877552830b1.tar.gz
android_packages_apps_Gello-fd77aaaa6b1b79ba0438a78e357aa877552830b1.tar.bz2
android_packages_apps_Gello-fd77aaaa6b1b79ba0438a78e357aa877552830b1.zip
Launch into browser when a URL is received over NFC.
Change-Id: I32c6dcc4e257a32a341b9c2f165cd3764da08b64
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 00354a46..20561767 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -102,6 +102,13 @@
<data android:scheme="file" />
<data android:mimeType="application/x-webarchive-xml"/>
</intent-filter>
+ <!-- Accept inbound NFC URLs at a low priority -->
+ <intent-filter android:priority="-101">
+ <action android:name="android.nfc.action.NDEF_DISCOVERED" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <data android:scheme="http" />
+ <data android:scheme="https" />
+ </intent-filter>
<!-- We are also the main entry point of the browser. -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />