S60 devices support different sets of device features, depending on their configuration and the underlying hardware. When you develop applications for multiple S60 devices, you can programmatically determine which platform, software version, languages, features, and accessories a particular device supports. This allows you to programmatically enable and disable application functions for a particular device.
You can use S60 system software extension APIs to:
Check the device platform version.
Retrieve software and language package versions and amount of free space on a disk drive.
Query paths to default folders on a device.
Scan for supported sensor channels on a device.
Discover device features.
Access information and receive notifications on accessories connected to devices.
The following table summarizes the APIs that are available from a particular S60 platform release onwards for determining supported device features.
Use case |
API |
Published |
Examples of use |
---|---|---|---|
Check device platform version |
3.2 |
Enable touch functions on 5th Edition devices and disable them on earlier devices. |
|
Retrieve software and language pack versions and amount of free space on a disk drive |
2.0 |
|
|
Query paths to default folders on a device |
2.0 |
Store images in the Images folder on devices. |
|
Scan for supported sensor channels on a device |
5.0 |
|
|
Discover device features |
2.8 |
|
|
Access information and receive notifications on accessories connected to devices |
5.0 |
|