Questions tagged [ndef]

The NFC Data Exchange Format (NDEF) specification is a common data format for NFC Forum Devices and NFC Forum Tags.

NDEF is a lightweight, binary message format used in NFC for data exchange.

463 questions
4
votes
1 answer

Is it possible to launch system/third party app using an NDEFLaunchApp record to get the URI and by using LaunchUriAsync without NFC Tags?

So I have spent the whole night looking like a zombie in the morning trying to figure out how the OS handles an NFC tap for an NDEFLaunchApp Record and I have known the following. I'm pretty sure that there is a workaround which lets you launch a…
user1705923
4
votes
2 answers

NFC and MIME TYPE case sensitive

I'm attempting just the basic version of NFC, but then I discovered that MIME TYPE is case sensitive. The package name for my app has one capital letter. Package name: com.example.Main_Activity
Mark Ismail
  • 468
  • 2
  • 8
  • 20
4
votes
1 answer

NFC NDEF message formatting : payload size (ISO 15693 header, NfcV)

"Hey bro, what's up ?" I'm in trouble with NDEF message formatting. I went through the NFC forum to know how to build a NDEF message with a single NDEF record (text RTD) with a payload, so I can program my tag (M24LR16E) through I2c. In addition to…
Oswin
  • 475
  • 1
  • 5
  • 17
4
votes
1 answer

Write NDEF message multiple times to same tag?

On Android, as soon as an NFC tag gets in proximity of the phone, the system delievers an intent to my application that contains an objects that allows me to read and write the NDEF message of this tag. Specifically, I can write to this tag as often…
Christian
  • 43
  • 3
4
votes
2 answers

what is the relationship between NFC and NDEF

What exactly is the relationship between NFC and NDEF? Does any NFC device always have to have data in NDEF format? Or is it possible to have NFC but not NDEF (although I think vice versa is not possible is it?) ? What would an empty NFC card be…
user13267
  • 6,209
  • 22
  • 69
  • 121
4
votes
1 answer

Adding NuGet ndef library to windows phone 8 project

So I tried to add the NDEF library for proximity application in Visual Studio 2012 for a Windows Phone 8 app. In Package Manager I checked Allow NuGet to download missing packages during build and in the Solution Explorer I selected Enable NuGet…
Swift Sharp
  • 2,514
  • 3
  • 25
  • 49
4
votes
1 answer

How to make a vcard/vcal Ndef message on Android

I'm new to Android coding, I'm interested in NFC technology. My first steps are focused on the Tag reading/write mode, currently I cannot see plenty of information on how to work with the Vcard/Vcal MIME types and NDEF Records/Messages. It would be…
maze_mx
  • 93
  • 1
  • 7
4
votes
1 answer

2 NDEF messages/records on one NFC tag - Android

Does anybody tried how the Android default behavior, when on the NFC tag are saved 2 NDEF records, one is pointing to the URL with application .apk, while the 2nd has application proprietary data? The use case is following: When user has not an…
STeN
  • 6,172
  • 21
  • 75
  • 121
3
votes
1 answer

How to read detected NFC tag (NDEF content) details in android?

I want to read NDEF content contained within a detected NFC tag (i.e., Tag id, Tag Size, Tag Type, Is tag Writable, Target Type, and message types).
Siva
  • 426
  • 2
  • 8
  • 24
3
votes
1 answer

How to write NDEF records to NFC tag?

How do I write NDEF message to NFC tag? Do I have to change manifest file? So far I have code to generate NDEF message: public NdefRecord createTextRecord(String payload, Locale locale, boolean encodeInUtf8) { byte[] langBytes =…
Camil
  • 45
  • 3
3
votes
0 answers

Replacing CoreNFC UI in readerSession?

Is it possible to open an NFCReaderSession or NFCNDEFReaderSession, making tags readable in app using CoreNFC framework WITHOUT opening the bottom modal session? I want to use the functionality of CoreNFC but I would essentially like to design the…
Mike Perhats
  • 191
  • 1
  • 8
3
votes
0 answers

Android HCE card emulation not calling processCommandApdu

I am trying to emulate an NDEF NFC tag but processCommandApdu is not being called. The service appears to start, I have tried a number of AID and nothing seems to work. I have also tried using PackageManager to start the HCE. Not sure what I am…
3
votes
0 answers

How to mock creation of NdefMessage in JUnit test for Android

In my code I am creating NdefMessage from bytes, which gives me ability to parse the payload from one of its record. Unfortunately, when I am writing Junit tests for that parser I am getting an exception as I invoking: NdefMessage(bytesToParse) So…
K.Os
  • 3,769
  • 5
  • 32
  • 73
3
votes
0 answers

How can I send a simple String using NFC

I am designing an app that needs to transfer a simple string using NFC, I have tried with multiple devices and still not working, something seems to be going wrong even though this is code snippet was taken directly from the android developer…
3
votes
1 answer

Strange character when reading NFC tag

I am trying to read an NFC tag using Android. I'm a beekeeper and this is to ID my hives when I approach them. I have searched here but I am still having issues reading the tag. I want to read the text, but when it reads, there is a square-like…
kee01
  • 37
  • 3
1 2
3
30 31