×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2007
    Posts
    18

    External mifare and MFStandardConnection increment method issue

    Hi all

    I am developing an app to connect to an external mifare card using nokia 6131nfc and manipulate the value on one of the value blocks of the ext mifare card

    i am able to connect and read the contents of an external mifare card using the MFStandardConnection when i run the midlet on an emulator of nokia6131 sdk v1.1 with an omnikey reader..(since my mobile's firmware is old v3.12 i am not able to test the app on the phone itself)

    This is how i do
    Code:
    conn = (MFStandardConnection)Connector.open(connUrl);
    where connUrl is got from target properties when the target is detected..

    I am able to read the data of the binary blocks and the value from the value blocks
    How ever i am facing a problem with the MFBlock class' increment() method when i increment a value block


    I get the following message and the emulator closes abruptly


    Code:
    value = 100
    ALERT: java/lang/NoSuchMethodError: No such method increment.(Lcom/nokia/nfc/nxp/mfstd/MFKey;J)I.

    similar is the case with the decrement() method

    Has anyone ever come across such an issue or is there some problem with the emulator


    Thank you

  2. #2
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    173

    Re: External mifare and MFStandardConnection increment method issue

    I'm not sure, but I believe you have to format the MIFARE card to use MF Value blocks instead of the standard ones to be able to do increment/decrement. Maybe you have to set that up in the general purpose byte or something.

  3. #3
    Registered User
    Join Date
    Mar 2008
    Posts
    1

    Re: External mifare and MFStandardConnection increment method issue

    Hi,
    I do not know how to post a new discussion, I am sorry for highjacking this thread.
    I was trying the mifare examples in the 6212 sdk. One of the samples increments the mifare value block, everything works fine but the only problem is I am not able to increment the value beyond 800 the value returned goes into (-) negative.
    Any Idea how I can store and operate value more than 10000. Thanks - ann

Similar Threads

  1. MFStandardConnection & NDEFTagConnection & Mifare tags in general
    By JDoe in forum Near Field Communication
    Replies: 18
    Last Post: 2008-08-15, 14:04
  2. Problems Reading External Mifare 1k
    By aajf in forum Near Field Communication
    Replies: 5
    Last Post: 2008-03-07, 10:15
  3. Some doubts about 6131 emulator and internal mifare 4k
    By o.ocariz in forum Near Field Communication
    Replies: 3
    Last Post: 2007-10-15, 17:40
  4. Read an external MiFare card - using MFStandardConnection
    By zinxed in forum Near Field Communication
    Replies: 0
    Last Post: 2007-08-10, 10:35

Posting Permissions

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