diff options
author | Jeff Hamilton <jham@android.com> | 2011-06-30 12:01:23 -0500 |
---|---|---|
committer | Jeff Hamilton <jham@android.com> | 2011-07-20 17:00:04 -0500 |
commit | e967f7cb12e02f7c852670c315a284aed1310dc1 (patch) | |
tree | 8b853db874594fa5c926aade17b36f74f8be0853 /AndroidManifest.xml | |
parent | 5cc94b4952167973e0467f4b3ff81e33fbf19108 (diff) | |
download | packages_apps_Contacts-e967f7cb12e02f7c852670c315a284aed1310dc1.tar.gz packages_apps_Contacts-e967f7cb12e02f7c852670c315a284aed1310dc1.tar.bz2 packages_apps_Contacts-e967f7cb12e02f7c852670c315a284aed1310dc1.zip |
Allow importing vcards directly from NFC.
There is no longer a need for a content provider
to hold the vcard data, it is processed directly
from the inbound NFC intent.
Upon successful import the contact is opened.
Change-Id: Ib49305d36d2448097af60206eab49133ebca655f
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r-- | AndroidManifest.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 61f096022..98a864aee 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -600,6 +600,13 @@ android:configChanges="orientation|screenSize|keyboardHidden" android:theme="@style/BackgroundOnly"> <intent-filter> + <action android:name="android.nfc.action.NDEF_DISCOVERED" /> + <data android:mimeType="text/x-vcard" /> + <data android:mimeType="text/x-vCard" /> + <data android:mimeType="text/vcard" /> + <category android:name="android.intent.category.DEFAULT" /> + </intent-filter> + <intent-filter> <action android:name="android.intent.action.VIEW" /> <data android:mimeType="text/directory" /> <data android:mimeType="text/vcard" /> |