I need to create a simple Android application that emulates a Mifare Ultralight card. It should only "sends" data (to be taken from an editable buffer) when is read and write on the same buffer when it receives data.
But I don't know how to emuate this kind of communication between reader and emulated card. I already read about Android HCE, but I don't know how to implement Mifare Ultralight communication (ISO 14443 type A).
I also read this, this and of course I read about Android HCE.
I really don't know how communication must be implemented. Suppose that I've already registered and correctly setup android service for HCE etc., from the Android Developer Website (with basic application) I can send for the first time data when emulator is read.
But for MIFARE Ultralight card emulation:
1) Should I use the basic NFC methods after get the buffer?
2) How to enable communication between the card emulator and the reader?
3) Where these methods for read and write must be used?
EDIT: Let's imagine a MIFARE wallet.... So, like if I need to store and get data of cards. At mifare4mobile website they told me that SDK is available but anybody know how and where.
Thank you!