×

Discussion Board

Results 1 to 11 of 11

Hybrid View

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

    Nokia 6212 classic build in NFC software passes over push registered programs

    Dear colleagues,

    we are using Nokia 6212 classic with a build in NFC software. If we install the NFCPushExample of the Nokia MIDlet package to test the dynamic PushRegistry features, we can start the software and we can make a push registration - no problem so far. But if we exit this application and want to start the software once again by scanning a NDEF tag, the build in software obviously passes over the push registered NFCPushExample program. The build in software manages the tag and the push registered application does not start - that is the problem. Now we have two questions:

    First question: How to get rid of the build in NFC software, so it is possible to start a dynamically push registered software by NFC tag scanning?

    Second question: Is there a method to get a list of all statically push registered applications on a device?

  2. #2
    Registered User
    Join Date
    Feb 2009
    Location
    Hagenberg, Austria
    Posts
    121

    Re: Nokia 6212 classic build in NFC software passes over push registered programs

    Hallo drnie08,

    which record type did you try to register? There are certain record types (at least SmartPoster and vCard) that are reserved for Nokia's native applications. As far as I know, there is no way to override these restrictions.

    br,
    Michael

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

    Re: Nokia 6212 classic build in NFC software passes over push registered programs

    Dear mroland,

    Nokia published an example you can find under "NFCPushExmaple.java".
    That is the example I was talking about. I compiled it with Netbeans 6.8 in
    the path "NFCPushExample/NFCPushExample.java". The following code
    line shows the one and only registration process:

    // --------------------- SNIP -----------------------
    package NFCPushExample;

    // ...
    PushRegistry.registerConnection("ndef:rtd?name=urn:nfc:wkt:T",
    "NFCPushExample.NFCPushExample", "*");

    // --------------------- SNAP -----------------------

    Can you see any problems in this code? Do not hesitate to request for
    additional information

    Thank you for your efforts.

    Guido

  4. #4
    Registered User
    Join Date
    Feb 2009
    Location
    Hagenberg, Austria
    Posts
    121

    Re: Nokia 6212 classic build in NFC software passes over push registered programs

    Hallo Guido,

    I've just checked the example and it works as expected. Did you receive the message "Push Registration completed" on the first start of the MIDlet?
    I've tried it with the following steps:
    1) Start MIDlet
    2) Accept push registration (as the MIDlet was not signed)
    3) Select write NDEF and transmit the text record to an empty tag
    4) Close MIDlet
    5) Place phone on the tag again
    6) MIDlet starts

    br,
    Michael

  5. #5
    Registered User
    Join Date
    Mar 2008
    Posts
    12

    Re: Nokia 6212 classic build in NFC software passes over push registered programs

    Dear Michael,

    as we bought the Nokia mobile phone, we got 3 RFID tags for testing.
    One of thes tags I will now for the following test:

    1) Start MIDlet
    2) Accept Push Registration
    3) choose "Read NDEF"
    4) place the phone on the above mentioned RFID tag
    5) The software tells me:

    EPC nfc:ndef.type=mfik;uid=1e01fb7d

    6) Exit MIDlet
    7) place the phone once again on the RFID tag
    8) The phone says:

    "Öffnen? Nokia 6212
    classic Introduction
    Sammlung\Nokia
    6212 classic
    Introduction"

    I tried the other RFID Tags with the following results:

    EPC nfc:ndef.type=mfik;uid=4a337bfc
    "Wecker aktivieren?"

    EPC nfc:ndef.type=mfik;uid=0eb9047e
    "Öffnen? I Must Be In
    Love.aac
    Musikdateien\I Must
    Be In Love.aac"


    Perhaps these are "priviledged" RFID tags.

  6. #6
    Registered User
    Join Date
    Mar 2008
    Posts
    12

    Re: Nokia 6212 classic build in NFC software passes over push registered programs

    And important: The phone told me "Push Registration completetd" !!!

  7. #7
    Registered User
    Join Date
    Feb 2009
    Location
    Hagenberg, Austria
    Posts
    121

    Re: Nokia 6212 classic build in NFC software passes over push registered programs

    Hallo Guido,

    Quote Originally Posted by drnie08 View Post
    as we bought the Nokia mobile phone, we got 3 RFID tags for testing.
    One of thes tags I will now for the following test:

    1) Start MIDlet
    2) Accept Push Registration
    Good. You now rgistered the Text record type (urn:nfc:wkt:T) to your MIDlet.

    Quote Originally Posted by drnie08 View Post
    3) choose "Read NDEF"
    4) place the phone on the above mentioned RFID tag
    5) The software tells me:

    EPC nfc:ndef.type=mfik;uid=1e01fb7d
    You read some random tag now.

    Quote Originally Posted by drnie08 View Post
    6) Exit MIDlet
    7) place the phone once again on the RFID tag
    8) The phone says: ...

    Perhaps these are "priviledged" RFID tags.
    No, these are not privileged tags (or actually some of them might ase they seem to contain smart poster records).

    None of these tags started your MIDlet because none of these tags contained the registered record type. Remember that you only registered your MIDlet to start when ever a Text record is detected. So to start your application, you need a tag that contains such a Text record. For this, the application allows you to write a predefined text record to a tag. You have to select "write NDEF" from the MIDlet's menu and then touch a tag.

    If you want to use other records than the Text record type to launch your MIDlet, I suggest you have a look at Appendix B (Launching applications with MIDP 2.0 PushRegistry) of the JSR 257 and the documentation of the Nokia extensions to the JSR 257. There, you can learn how to specify connection URIs and filters for push registry registration.

    br,
    Michael

Similar Threads

  1. Replies: 6
    Last Post: 2010-03-22, 12:38
  2. Cannot get NFC tag driven Static Push Registry (via JAD) to work on 6212
    By andrew_d_mackenzie in forum Near Field Communication
    Replies: 0
    Last Post: 2010-02-22, 12:19
  3. Develop API dotNet for communicate with 6212 Classic NFC
    By kamel2mars in forum Near Field Communication
    Replies: 0
    Last Post: 2009-05-26, 10:50
  4. Nokia 6212 classic - CPU?
    By makibo in forum General Development Questions
    Replies: 3
    Last Post: 2009-02-24, 13:42
  5. Nokia 6212 Classic NFC
    By geri-m in forum Near Field Communication
    Replies: 19
    Last Post: 2008-08-21, 13: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
  •  
×