Forum / MIFARE SDK / Communication with Mifare DESFire in Delphi
I want to write application in Delphi, which can communicate with Android phones and DESFire cards. I know, I have to send some bytes to card and card answers me. I read article about it:
I have no idea, how can I write and read bytes from card? I wrote simple application according to Daniel Magin:
This program can only read UID from card.
function TNfc.ReadNFCUID: string;
id := '';
Intent := SharedActivity.getIntent;
if Intent nil then
jIntentName := Intent.getAction;
IntentName := JStringToString(jIntentName);
tagId := Intent.getByteArrayExtra(TJNFCAdapter.JavaClass.EXTRA_ID);
tagFromIntent := Intent.getParcelableExtra
if (tagId nil) and (tagFromIntent nil) then
for i := 0 to tagId.Length - 1 do
id := id + IntToHex(tagId.Items, 2);
Result := id;
+ 0 | - 0
We are sorry. MIFARE SDK is android SDK as of now.
MIFARE SDK Team
+ 0 | - 0
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.