-
JSR-180 on actual device
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
-
Hi,
It is not possible to add system libraries such as javax.microedition... dynamically in MIDP/CLDC platform.
// Jari