I am  trying to make an application of a business card which has
name , mob no , company and  other details .

I want to write all these details on to a NFC tag .

And from a different application i want to scan this tag and  save the
information received to the phones contact list

Now i am facing  problem in writing a tag , configuring it as V card
using the URI  "text/x-vCard"
i am  mentioning the command i am using

NdefRecord textRecord = new NdefRecord(NdefRecord.TNF_MIME_MEDIA,"text/
x-vCard".getBytes(),new byte[] {}, textBytes);


also in the manifest i am using  this to read the tag


            <intent-filter>
                 <action
android:name="android.nfc.action.NDEF_DISCOVERED" />
                 <category
android:name="android.intent.category.DEFAULT" />
                 <data android:mimeType="text/x-Vcard" />
            </intent-filter>

can anyone give some  pointers  where i should work around to get back
on the tracks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to