Runtime environment notes

System properties

The implementation support the following system properties for the Mobile Sensor API:

Table: System properties

Property

Value

microedition.sensor.version

Returns the version string if the Mobile Sensor API is supported on the device. Otherwise returns null.

Note:

On Series 40 devices, the returned value is 1.2.

Localisation

SensorInfo.getDescription returns the localized sensor description. There are no other localizations.

Security

All the sensors are public. No permissions are needed.