×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    2

    MFStandardExample problem

    Hi!

    I just updated my phone to firmware 5.11 but the MFStandardExample midlet doesn't work on the phone. I always get a Java.lang.SecurityExeption.

    I tracked it back to this line:
    conn = (MFStandardConnection) Connector.open(internalUrl);

    i checked if the internalUrl is right and displayed it on the phone, it seems correct: nfc:rf;rype=mf;mode=internal


    screen.append("Connecting to internal tag.\n");
    String internalUrl = System.getProperty("internal.mf.url");
    screen.append(internalUrl);
    screen.append("Connected to internal tag.\n");
    //exception gets thrown here:
    conn = (MFStandardConnection) Connector.open(internalUrl);
    screen.append("Connected to internal tag.\n");


    Do i need special security settings to connect to the internal Mifare card? Or what else have i done wrong?

    The example works perfectly in the emulator with an external reader (Omnikey CardMan5321) plus a mifare 4k card.

    thanks in advance,
    joli

  2. #2
    Regular Contributor
    Join Date
    Dec 2004
    Posts
    53

    Re: MFStandardExample problem

    This is because your midlet isn't signed. Without a signed midlet you will be unable to access any part of the secure element.

  3. #3
    Registered User
    Join Date
    Jul 2007
    Posts
    9

    Re: MFStandardExample problem

    Eventhough the manual says that you need to have your midlet signed, the code you mention works for me without the midlet being signed. I also have firmware 5.11. I must say that I was suprised that it worked, without signing the midlet.

Similar Threads

  1. Problem with eglSwapBuffers and heap corruption
    By greatape in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-05-24, 03:35
  2. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  3. WAP service problem on Apache
    By bigg_o in forum Browsing and Mark-ups
    Replies: 3
    Last Post: 2005-04-17, 16:05
  4. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36

Posting Permissions

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