×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    4

    Angry Problems writing tags with 6131 NFC 1.1 emulator

    I am having problems writing the virtual tags using 6131 NFC SDK 1.1. I am using the NDEFConnection object and the writeNDEF(msg) method. I basically open the connection, write the data and close the connection each time I write.
    The problem I found is that most of the time tag data seems to be written correctly (no IOException), and I am also able to read data I write but no data is written on the .dat file.
    So if I restart my midlet without closing the emulator I am able to read successfully data, but if I close the emulator I lose my data. Strange thing is that sometimes data are stored... and sometimes only buffered. Can someone provide some help?
    How does the storing work? Is this a bug or I am missing something?

  2. #2
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Lisbon - Portugal
    Posts
    96

    Re: Problems writing tags with 6131 NFC 1.1 emulator

    Are you using the save data/ reload data options that exist in the context menu that appears if you right click a tag?

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    4

    Re: Problems writing tags with 6131 NFC 1.1 emulator

    Yes, I noticed that if I choose "save data" options data are updated on the file... But is this the right behavior? So data cannot be stored on file from the code?

  4. #4
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Lisbon - Portugal
    Posts
    96

    Re: Problems writing tags with 6131 NFC 1.1 emulator

    Yes, that is standard behaviour...
    You do not want to write code specific for the emulator, and I think it doesn't make sense.
    The thing is that each emulator run is unrelated with the previous one, so the mechanism used by nokia to simulate tag data persistence is by explicitly deciding to save data within the UI.

Similar Threads

  1. Problems Eclipse + 6131 NFC SDK
    By S4T in forum Near Field Communication
    Replies: 2
    Last Post: 2009-11-25, 15:28
  2. Nokia 6131 NFC and SATSA api
    By joana.estafanell in forum Near Field Communication
    Replies: 2
    Last Post: 2007-10-29, 11:01
  3. 3220 NFC Shell communication problem (Error Code: -6)
    By AllenHuang in forum Near Field Communication
    Replies: 1
    Last Post: 2007-09-17, 07:54
  4. Problems with the S60 3rd Emulator and NB5.0 Debugger
    By femia in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2007-05-22, 16:31
  5. Replies: 0
    Last Post: 2003-06-05, 21:09

Posting Permissions

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