how to write vCard and smart poster bookmark in mifare tag
Hi,
I am developing a midlet to write the vCard and smart poster bookmark url to write on mifare tag.I am able to write a image and read the same but not sure how I can write vCard and bookmark url on tag.Can any one help me out ? if any one has sample code for this it would be very helpful..
thanks in advance,
Asif
Re: how to write vCard and smart poster bookmark in mifare tag
Hallo Asif,
have a look at the sample code in the Forum Wiki. [URL="http://wiki.forum.nokia.com/index.php/NFC_URLWriter"]NFC URLWriter[/URL] is an example that shows how to write NDEF data onto an NDEF compatible tag.
br,
Michael
Re: how to write vCard and smart poster bookmark in mifare tag
Hi Michael,
Thanks for your reply.Any idea about how to write vCard in the tag and also SMS text in the tag for smartposter so that SMS will get intiated upon touching the tag with NFC phone.
rgds,
Asif
Re: how to write vCard and smart poster bookmark in mifare tag
[QUOTE=skasifali;737398]Any idea about how to write vCard in the tag and also SMS text in the tag for smartposter so that SMS will get intiated upon touching the tag with NFC phone.[/QUOTE]
Have a look at the [URL="http://www.nfc-forum.org/specs"]NFC Forum specifications[/URL]. You will want to take a look at the [I]NFC Data Exchange Format (NDEF) Technical Specification[/I], the [I]NFC Record Type Definition (RTD) Technical Specification[/I], the [I]Smart Poster Record Type Definition Technical Specification[/I], the [I]NFC URI Record Type Definition Technical Specification[/I] and the [I]NFC Text Record Type Definition Technical Specification[/I].
For the vCard you will use a MIME type NDEF record with the MIME type text/x-vcard.
For the SMS: A smartposter record is a container for multiple records. Among them is exactly one URI record. The URI for an SMS message will look something like: sms:<TELEPHONENUMBER>?body=<TEXT MESSAGE>. Besides the URI record your smartposter record will most likely also contain a text record (aka title record) that describes the reason for this SMS.
br,
Michael
Re: how to write vCard and smart poster bookmark in mifare tag
Thanks for information
regards,
asif