KML Data Example is not in example directory
nma_1_0\example\src\com\nokia\maps\example doesnot contain KML Data example ?
This prevents from executing on device (after rebuild ok from source).
The optional packages needed to build are not listed in readme.txt : Location Based :), Wireless Messaging, Java Me Webservices
Re: KML Data Example is not in example directory
i removed KML Data from Midlet list and ran the debugger, i have the following messages :
Exception: java/lang/ClassNotFoundException
at com.sun.midp.io.InternalConnector.openPrim(+135)
at com.sun.midp.io.InternalConnector.open(+9)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+6)
at com.nokia.targetdebug.Logger$1.logFile(+35)
at com.nokia.targetdebug.Logger$1.trace(+15)
at com.nokia.targetdebug.DebuggerMIDlet.startApp(+9)
at javax.microedition.midlet.MIDletProxy.startApp(+7)
Exception: java/lang/ClassNotFoundException
at com.sun.midp.io.InternalConnector.openPrim(+135)
at com.sun.midp.io.InternalConnector.open(+9)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+6)
at com.nokia.targetdebug.Logger$1.logFile(+35)
at com.nokia.targetdebug.Logger$1.trace(+15)
at com.nokia.targetdebug.DebuggerMIDlet.startApp(+22)
at javax.microedition.midlet.MIDletProxy.startApp(+7)
Exception: java/lang/ClassNotFoundException
at com.sun.midp.io.InternalConnector.openPrim(+135)
at com.sun.midp.io.InternalConnector.open(+9)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+6)
at com.nokia.targetdebug.Logger$1.logFile(+35)
at com.nokia.targetdebug.Logger$1.trace(+15)
at com.nokia.targetdebug.DebuggerMIDlet.startApp(+40)
at javax.microedition.midlet.MIDletProxy.startApp(+7)
Exception: java/lang/NumberFormatException
at java.lang.Integer.parseInt(Integer.java:417)
at java.lang.Integer.parseInt(Integer.java:499)
at com.nokia.targetdebug.Utils.readIntProperty(+12)
at com.nokia.targetdebug.KDWPStateManager.<init>(+25)
at com.nokia.targetdebug.DebuggerMIDlet.startApp(+51)
at javax.microedition.midlet.MIDletProxy.startApp(+7)
Exception: java/lang/ClassNotFoundException
at com.sun.midp.io.InternalConnector.openPrim(+135)
at com.sun.midp.io.InternalConnector.open(+9)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+6)
at com.nokia.targetdebug.Logger$1.logFile(+35)
at com.nokia.targetdebug.Logger$1.trace(+15)
at com.nokia.targetdebug.DebuggerMIDlet.startApp(+68)
at javax.microedition.midlet.MIDletProxy.startApp(+7)
Exception: java/lang/NumberFormatException
at java.lang.Integer.parseInt(Integer.java:417)
at java.lang.Integer.parseInt(Integer.java:499)
at com.nokia.targetdebug.Utils.readIntProperty(+12)
at com.nokia.targetdebug.ListRunningMIDlets.<init>(+14)
at com.nokia.targetdebug.DebuggerMIDlet.startApp(+79)
at javax.microedition.midlet.MIDletProxy.startApp(+7)
Exception: java/lang/ClassNotFoundException
at com.sun.midp.io.InternalConnector.openPrim(+135)
at com.sun.midp.io.InternalConnector.open(+9)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+6)
at com.nokia.targetdebug.Logger$1.logFile(+35)
at com.nokia.targetdebug.Logger$1.info(+15)
at com.nokia.targetdebug.KDWPStateManager.run(+8)
Exception: java/lang/ClassNotFoundException
at com.sun.midp.io.InternalConnector.openPrim(+135)
at com.sun.midp.io.InternalConnector.open(+9)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+6)
at com.nokia.targetdebug.Logger$1.logFile(+35)
at com.nokia.targetdebug.Logger$1.error(+15)
at com.nokia.targetdebug.ListRunningMIDlets.run(+15)
Exception: java/lang/ClassNotFoundException
at com.sun.midp.io.InternalConnector.openPrim(+135)
at com.sun.midp.io.InternalConnector.open(+9)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+6)
at com.nokia.targetdebug.Logger$1.logFile(+35)
at com.nokia.targetdebug.Logger$1.trace(+15)
at com.nokia.targetdebug.KDWPServer.<init>(+58)
at com.nokia.targetdebug.KDWPStateManager.run(+36)
Exception: java/lang/ClassNotFoundException
at com.sun.midp.io.InternalConnector.openPrim(+135)
at com.sun.midp.io.InternalConnector.open(+9)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+6)
at com.nokia.targetdebug.Logger$1.logFile(+35)
at com.nokia.targetdebug.Logger$1.info(+15)
at com.nokia.targetdebug.ListRunningMIDlets.run(+109)
Exception: java/lang/ClassNotFoundException
at com.sun.midp.io.InternalConnector.openPrim(+135)
at com.sun.midp.io.InternalConnector.open(+9)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+6)
at com.nokia.targetdebug.Logger$1.logFile(+35)
at com.nokia.targetdebug.Logger$1.info(+15)
at com.nokia.targetdebug.KDWPStateManager.run(+78)
Exception: java/lang/ClassNotFoundException
at com.sun.midp.io.InternalConnector.openPrim(+135)
at com.sun.midp.io.InternalConnector.open(+9)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+6)
at com.nokia.targetdebug.Logger$1.logFile(+35)
at com.nokia.targetdebug.Logger$1.info(+15)
at com.nokia.targetdebug.KDWPServer.run(+8)
Exception: java/lang/ClassNotFoundException
at com.sun.midp.io.InternalConnector.openPrim(+135)
at com.sun.midp.io.InternalConnector.open(+9)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+6)
at com.nokia.targetdebug.Logger$1.logFile(+35)
at com.nokia.targetdebug.Logger$1.trace(+15)
at com.nokia.targetdebug.KDWPServer.run(+33)
Exception: java/lang/ClassNotFoundException
at com.sun.midp.io.InternalConnector.openPrim(+135)
at com.sun.midp.io.InternalConnector.open(+9)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+6)
at com.nokia.targetdebug.Logger$1.logFile(+35)
at com.nokia.targetdebug.Logger$1.trace(+15)
at com.nokia.targetdebug.KDWPServer.run(+55)
Exception: java/lang/ClassNotFoundException
at com.sun.midp.io.InternalConnector.openPrim(+135)
at com.sun.midp.io.InternalConnector.open(+9)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+6)
at com.nokia.targetdebug.Logger$1.logFile(+35)
at com.nokia.targetdebug.Logger$1.trace(+15)
at com.nokia.targetdebug.KDWPServer.run(+176)
Connected to KVM
Exception: java/lang/ClassNotFoundException
at com.sun.midp.io.InternalConnector.openPrim(+135)
at com.sun.midp.io.InternalConnector.open(+9)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+6)
at com.nokia.targetdebug.Logger$1.logFile(+35)
at com.nokia.targetdebug.Logger$1.info(+15)
at com.nokia.targetdebug.KDWPServer.run(+353)
Attached JPDA debugger to localhost:51078
canvas touch enabled: true
What else is needed ?
Minimal Map Midlet works fine, testing the others ...
Re: KML Data Example is not in example directory
Marker Example crashes Emulator SDK 1.1 and real device Asha 302 with clicking on Set marker.
Step by step debug : line 49 of MarkerDemo.java
map.addMapObject(marker);
A new try with Map_API_debug gave the same behaviour (crash without any information)
Re: KML Data Example is not in example directory
The Asha issue has been raised and a fix is in the pipeline - further discussion will be consolidated in this thread:
[url]http://www.developer.nokia.com/Community/Discussion/showthread.php?235575-Map-API-Asha-and-Java-SDK-1.1[/url]