1. Download our Official Android App: Forums for Android!

Apps NFC Getting ID?

Discussion in 'Android Development' started by happiocholloh, Mar 31, 2012.

  1. happiocholloh

    happiocholloh Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Mar 31, 2012

    Mar 31, 2012
    2
    0
    5
    Im trying to get the unique tag id through the nexus.
    Im using

    Tag myTag = (Tag) intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);

    and setTitle(myTag.getId());

    but instead of getting a unique constant ID the id keeps changing, I want the ID on the tag itself.

    How can I acheive this?

    and hello everyone.
     

    Advertisement

  2. happiocholloh

    happiocholloh Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Mar 31, 2012

    Mar 31, 2012
    2
    0
    5

Share This Page

Loading...