0

Combining NDEF messages

Ram94 gravatar image

asked 2017-07-17 19:26:32 +0200

I want to use the Launch App message as well as the Text Record Message together, so that when my app is launched, I can also access the message that will give me something like the device name.

IS this possible ??

Thanks, Ramkumar

edit retag flag offensive close delete report spam

1 answer

Sort by » oldest newest most voted
1
joh2 gravatar image

answered 2017-07-18 10:59:06 +0200

Hi Ramkumar,

It is possible to add multiple records to the same NDEF message. You can test this out using the Writable NDEF Message Example in our SDK. Try using NFC Tools on android to write a Launch app record along with a text record, you can observe that if NFC tag is scanned with android, only the app will be launched. Android will only show/execute the first record in the NDEF message. If reading the NFC tag using NFC Tools, you can see both records. When you are writing your own app, you can read the whole NDEF message and parse it into separate records for use in your app.

Best regards,

Jørgen

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

User menu

    or sign up

Recent questions

Question Tools

1 follower

Stats

Asked: 2017-07-17 19:26:32 +0200

Seen: 90 times

Last updated: Jul 18