The S60 SDK provides a number of APIs which can be used for developing location-based applications for devices that provide support for location acquisition.
To support location-based application development, the S60 SDK includes the following tools which can be used to fully test these applications in the emulator:
Simulation PSY - A positioning subsystem used in the S60 emulator (see Simulation PSY user guide).
Simulation PSY Route Generator - Used to generate new simulation files used by the Simulation PSY (Simulation PSY route generator user guide).
Simulation PSY Configurator - Used to select the desired simulation file used by the Simulation PSY (see Simulation PSY Configurator user guide).
The figure below illustrates the relation of different tools and the location framework that are available for application developers.
Note: The code samples provided in the instructions in this section are C++ examples. For corresponding MIDP code, please refer to Location API (JSR-179) provided in the Java API documentation delivered with the SDK (see Start > S60 Developer Tools > 3rd Edition FP2 SDK v1.1 > MIDP > Java API Documentation).
Figure 66: Relation of different tools and the location framework available for application developers
Location application: An application developed using location APIs.
Location Framework: A framework that provides location-based services and location APIs for application developers. For more details on the location framework, please refer to the S60 API Reference Guide.
Configurations/Location: An application in the emulator that is mainly used to activate location functionality and to select the desired positioning subsystem (PSY). The positioning subsystem provided in the emulator is the Simulation PSY.
Simulation PSY: A positioning subsystem used in the emulator. For more information, see Simulation PSY user guide.
Note: You can also use the Simulation PSY in case you wish to test your application using simulated locations in the target device. This requires that the SimPsyConfigurator is installed on the device.
SimPsyConfigurator: A tool primarily used to select the desired simulation file used by the Simulation PSY. The SimPsyConfigurator is used for selecting the desired simulation file format: NMEA, or SPS format. .
Note: SimPsyConfigurator can also be run in a target device by installing simpsyconfigurator.sis
(included
with the SDK) file to an S60 device, which has the required location support.
For more information, see Simulation
PSY Configurator user guide.
SimPSY Route Generator: The SimPSY Route Generator is used to generate new simulation files used by the Simulation PSY. This tool is used via the Preferences window of the S60 emulator. For more details, see Simulation PSY route generator user guide.
Simulation File: A file in either NMEA or SPS format which is used by the Simulation PSY.