B4A Library NFC library

Discussion in 'Additional libraries, classes and official updates' started by Erel, Feb 12, 2012.

  1. Erel

    Erel Administrator Staff Member Licensed User

    Currently NFC library doesn't support it.
     
  2. raphaelcno

    raphaelcno Active Member Licensed User

  3. Erel

    Erel Administrator Staff Member Licensed User

    Done.
     
  4. luke2012

    luke2012 Well-Known Member Licensed User

    It's possible to send a file using NFC protocol ?
     
  5. DonManfred

    DonManfred Expert Licensed User

    The NFC protocol only reads that data stored on the NFC-Tag. 140bytes to 4kb (depends on Tag using)...
    A filetransfer must be made on an other way...
     
    luke2012 likes this.
  6. TheMightySwe

    TheMightySwe Active Member Licensed User

    Hi, everytime there is a update of the B4A the NFC library 1.22 get overwritten with 1.00. Is there any way possible to get the 1.22 into the libraries distibuted with the b4A?
     
  7. raphaelcno

    raphaelcno Active Member Licensed User

    Attached Files:

  8. BarryW

    BarryW Active Member Licensed User

    How to use this library to trigger file sharing?

    Tnx...
     
  9. DonManfred

    DonManfred Expert Licensed User

    NFC can not trigger a filesharing. You can accept an special nfc value and then write the code to share a file.
    But you need to write this code. NFC is just reading and/or writing to an nfc-tag.
     
  10. BarryW

    BarryW Active Member Licensed User

    Can you show me an example? Cuz i dont know how to start...

    Tnx...
     
  11. DonManfred

    DonManfred Expert Licensed User

    sorry. No, i didn´t do tht before... i have no exmple
     
  12. BarryW

    BarryW Active Member Licensed User

    Anyway. Tnx...
     
  13. Jmu5667

    Jmu5667 Well-Known Member Licensed User

    Does anyone know who is managing the NFC library, I am using 1.25, I think it needs to be updated with
    UriTypes geo:

    regards

    John.
     
  14. DonManfred

    DonManfred Expert Licensed User

    Erel has posted a link to this thread in Post #1
    2.22 seems to be the more uptodate version
     
    lemonisdead likes this.
  15. DonManfred

    DonManfred Expert Licensed User

    Update Crawl the thread and you will find out that 2.22 was a typo. Inside the zip is a 1.22. the newest version of the lib seems to be 1.25 (can be found on page 3 or 4 of the thread... incl. link to the github-repo of this lib
    I did a fork for myself

    https://github.com/DonManfred/NFCB4A
     
  16. Jmu5667

    Jmu5667 Well-Known Member Licensed User


    Yep, 1.25 is the lastest. I downloaded from github, and installed eclipse. Dont really know what to do next. I opened a .project file but nothing really seems to load.

    any ideas ??
     
  17. DonManfred

    DonManfred Expert Licensed User

    do you want the lib to be compiled again?
    I personally prefer using SLC to compile java-librarys for B4A
     
    Jmu5667 likes this.
  18. DonManfred

    DonManfred Expert Licensed User

    You can use this archive.
    1. The jar and xml are precompiled and you just can use it.
    2. The java-source can be imported in eclipse into the workspace. The java-source can be build with SLC too.
    I have restructured the lib a bit. The nfs lib is now part of the class com.github.nfc

    You need to use "com.github" in b4a-ignore when using SLC
     

    Attached Files:

    raphaelcno likes this.
  19. Jmu5667

    Jmu5667 Well-Known Member Licensed User


    I shall try it tommorrow, thanks DM.
     
  20. raphaelcno

    raphaelcno Active Member Licensed User

    In a future version of the library I would suggest to rename GeTagtUID to GetTagUID (move the "t") :)
     
    DonManfred likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice