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: 785

chfajardo

Member
Licensed User
I actually think the library that I uploaded also supports Mifare writing. http://www.basic4ppc.com/android/fo...and-ibeacon-libraries-for-free.42137/#content
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?
 

bioident

Member
Licensed 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:
Top