Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User mkat's Avatar
    Join Date
    Apr 2005
    Posts
    1
    How can i run a JSR-180 application on an actual device when i get:

    java.lang.ClassNotFoundException: com/sun/midp/io/j2me/sip/Protocol
    at javax.microedition.io.Connector.openPrim(+211)
    at javax.microedition.io.Connector.open(+15)
    at javax.microedition.io.Connector.open(+6)
    at javax.microedition.io.Connector.open(+5)
    at examples.OriginatingINVITE.d(+22)
    at examples.OriginatingINVITE.a(+9)
    at examples.OriginatingINVITE.a(+4)
    at examples.a.run(+7)

    The com.sun.midp.io.j2me.sip package is missing. Appearently this package is substituted with com.nokia.phone.ri.sip in the sipa-midp emulator at runtime.

    Could this be done using the property javax.microedition.io.Connector.protocolpath so it will run on an actual device? How can i set this property in the .jad?

    Or maybe someone has another approach?

    Regards,

    Marcel

  2. #2
    Nokia Developer Expert oskarinarki's Avatar
    Join Date
    Jan 2004
    Posts
    45
    Hi,

    It is not possible to add system libraries such as javax.microedition... dynamically in MIDP/CLDC platform.

    // Jari

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved