This may well be another very stupid question. I'm building something
which uses the Location API (JSR 179), and which will be delivered to
devices which don't provide the location API natively. So I either need
to include the class files from lapi.jar into my midlet package, or
find some other way of making lapi.jar available on the device. I've
implemented a sub-class of LocationProvider which /should/ communicate
with the GPS module built into the device (but which I can't yet debug,
because of not being able to get the location API onto the device).
I also need to make lapi.jar available to the emulator (Sun Java
Wireless Toolkit 2.2), because currently it's giving me:
Running with storage root DefaultColorPhone
java.lang.NoClassDefFoundError:
javax/microedition/location/LocationException
at uk.co.weft.fisherman.fieldkit.midlet.FieldKitMidlet.<init>(+365)
at java.lang.Class.runCustomCode(+0)
at com.sun.midp.midlet.MIDletState.createMIDlet(+19)
at com.sun.midp.midlet.Scheduler.schedule(+52)
at com.sun.midp.main.Main.runLocalClass(+28)
at com.sun.midp.main.Main.main(+116)
Execution completed.
Any suggestions as to how I do this?
--
Simon Brooke :: [EMAIL PROTECTED] :: http://www.weft.co.uk/
Simon Brooke trading as The Web Engineering Factory and Toolworks.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users