Hello forum people
I am experimenting with the JSR179 Location API but am having some problems installing a simple test application onto my Nokia N70, (which installs my non JSR 179 apps fine).
I am using wtk 2.2 for linux. I have created a new project and placed the lapi.jar from the Nokia reference implementation of JSR 179 into the project's lib directory, which makes it possible to build and package the app. I get this error when i try to run it on the emulator:
Uncaught exception java/lang/NoClassDefFoundError: javax/microedition/location/Coordinates: Cannot create class in system package .
Well - that's ok I figured, maybe the emulator's runtime doesn't provide the underlying components for this API so I bluetoothed the jar it to my N70 and tried to install it but I get an Authentication Error! and installation fails.
Maybe I need to build a jar that does not include the classes from the lapi.jar - could these be causing the authentication error? I will try to do this using ant. Can anyone else suggest any other reasons for this problem?
cheers
matthew

Reply With Quote

