You have to create an NDEF record with mime-type "text/x-vCard" to
represent a vCard:
new NdefRecord(
NdefRecord.TNF_MIME_MEDIA,
"text/x-vCard".getBytes(),
new byte[0],
payload.getBytes());
where payload is the vCard as string (as specified by the vCard spec).
Best wishes
Dominik
On Jun 25, 5:05 pm, spurwa <[email protected]> wrote:
> How to Write and Read csv file on Android ? In this case I want to
> store data ID, Name of Item and Price in the smartcard and try to read
> the data with Nexus S using NFC, so How to write data in csv file to
> smartcard using NFC ?
>
> for futher information, now i use Nexus S and Mifare Card for the
> simulation....
>
> thanks for your help...
--
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