B4A Library Mifare Ultralight NFC Library

This library implements the basic functionality exposed in Android for Mifare Ultralight.
See here: http://developer.android.com/reference/android/nfc/tech/MifareUltralight.html
It allows you to connect to it, read pages and write pages to it.

MUL
Author:
thedesolatesoul
Version: 1
  • MifareUltralight
    Methods:
    • Close As Boolean
    • Connect As Boolean
    • Initialize (in As Intent)
    • IsInitialized As Boolean
    • ReadPage (PageNum As Int) As Byte[]
    • WritePage (PageNum As Int, Data() As Byte)
    Permissions:
    • android.permission.NFC
  • MifareUltralightTester
    Methods:
    • isMifareUltralightIntent (in As Intent) As Boolean
 

Attachments

  • MUL.zip
    3.1 KB · Views: 1,038

chfajardo

Member
Licensed User
Longtime User
can you tell me if it is possible to use the NFCTagWriter right after the Mifare card is read, without having to remove the mifare card and put it again? I am trying to subtract a value every time the card is read. Read is ok. But to write, i have to take the card far from the phone and near again. Is there a workaround for this?
 

BarryW

Active Member
Licensed User
Longtime User
Can this library use to trigger file sending to other phone? Tnx...
 

bioident

Member
Licensed User
Longtime User
Hi,

When I use Your example.
And my screen was sleep.
Then I get error : " Error occured: An error main_read (java line 456, StringIndexOutofBoundsException
leght: 0 m regionstart:0, regionlenght:16"
Please help :)
 
Last edited:

bioident

Member
Licensed User
Longtime User
How Can I change key A ,B from NFC library ?
I want store some information and secure it
 
Top