0

我是使用 Java 开发 S40 Nokia 应用程序的新手。我需要像android模拟器一样向模拟器发送纬度和经度,您可以通过从模拟器传递纬度和经度来更新位置。

我正在使用eclipse,任何人都可以帮忙吗?

4

1 回答 1

1

Nokia SDK for Java 1.0 can play co-ordinates from a saved file to any midlet. When this file exists, any MIDlet which uses JSR 179 API to get current location in the emulator, will receive these saved co-ordinates at regular intervals.

Emulator also includes a Route Editor. You can launch it from the emulator's Tools > Route Editor menu. Route Editor helps you create a file with co-ordinates, this file is saved by the Route Editor to a location under the current emulator instance's directory. You can check out the details from the emulator documentation.

Also, if you are using SDK 2.0, you can pinpoint your current location, as well as draw route from the "Tools" >> "Location Simulation" options.

于 2011-08-31T21:39:33.663 回答