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

thedesolatesoul

Expert
Licensed User
Big like!!!
Thank you

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
I dont know, but Mifare Ultralight does not use NDEF (I think). This library is reading/writing raw bytes.

Hi,
Will this allow you to turn your device into a NFC (Mifare) tag ?
I dont think so.

My knowledge of the different kinds of cards and tags is not so great.
 

bluedude

Well-Known Member
Licensed User
You can use NDEF on Mifare Ultralight, no problem. Most people use NDEF on all kinds of stickers. Only for special NFC solutions you would need to do raw reading or writing. Stuff like: public transport cards (encrypted)
 

Toley

Active Member
Licensed User
Any example how to use this library ? The Intent stuff is not really easy to understand.
 

joschi

Member
Licensed User
Hi!

Have someone an example? I need to read the UID from the TAG.

tehdesolatesoul: do you know is this with your LIB possible?

Thanks for help

Best regards
 
Top