Discussion Board

Results 1 to 4 of 4

Thread: Leyendo Tag ID

  1. #1
    Registered User
    Join Date
    May 2007

    Smile Leyendo Tag ID


    ¿Como puedo saber el ID unico del TAG en formato NDEF? ¿asi?

    NDEFMessage message = nfc.readNDEF();
    if(message != null) {
    NDEFRecord[] records = message.getRecords();
    if (records != null) {
    for (int i = 0; i < records.length; i++) {


  2. #2
    Registered User
    Join Date
    May 2007

    Re: Leyendo Tag ID

    You might get quicker answers if you write in a language that everyone can understand, known as English.

  3. #3
    Regular Contributor
    Join Date
    Mar 2007
    Helsinki, Finland

    Re: Leyendo Tag ID

    If you are asking how you can get the tag UID (which is what I think you are asking) you can get that by using the TargetProperties getUID() method.


    You don't need to read the NDEF message if you only need the UID of the tag.

    If this doesn't answer your question, please post another message with more details in English.
    Raluca Cindrea
    Helsinki, Finland

  4. #4
    Registered User
    Join Date
    May 2007

    Re: Leyendo Tag ID

    Gracias por la ayuda.

    Lo pude sacar en esta linea:

    TagUID = targetProperties[0].getUid();

    Gracias de nuevo
    España también programa :)

Similar Threads

  1. About <resourceConfiguration> tag
    By cybergap in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2006-04-19, 09:46
  2. Exception: Expected start tag found end tag
    By jjefrey in forum OMA DM/DS/CP
    Replies: 8
    Last Post: 2006-03-31, 07:55
  3. Nokia 3410 voice tag
    By terraciano in forum General Development Questions
    Replies: 0
    Last Post: 2003-10-31, 20:45
  4. Replies: 0
    Last Post: 2002-10-29, 07:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts