Revision as of 08:53, 28 June 2012 by hamishwillee (Talk | contribs)

Archived:LocalDevice.isPowerOn() missing from S60 3rd Edition initial release and FP1 devices (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

This known issue was originally created by Alanbur and has been verified by Nokia Developer.

Article Metadata
Tested with
Devices(s): Nokia E70
Platform(s): S60 3rd Edition, S60 3rd Edition FP1
S60 3rd Edition FP1
S60 3rd Edition (initial release)
MIDP 2.0
Created: alanbur (03 Feb 2008)
Last edited: hamishwillee (28 Jun 2012)



The LocalDevice.isPowerOn() method is missing from the Bluetooth API (JSR-82) implementation in S60 3rd Edition and S60 3rd Edition FP1 devices.


The LocalDevice.isPowerOn() method is part of JSR-82. The method is, however, missing from the API implementations in S60 3rd Edition and S60 3rd Edition, FP1 devices. This method was added in the maintenance release of the API, BT API 1.1.

How to reproduce

Use LocalDevice.isPowerOn() in your code:

LocalDevice ld = LocalDevice.getLocalDevice();
boolean power = ld.isPowerOn();
} catch (BluetoothStateException ex) {

This will throw a java.lang.Error.


In devices compliant with the MSA Subset (JSR-248), that is S60 3rd Edition FP2 and newer devices, the version of the Bluetooth API can be queried by using the system property "bluetooth.api.version". Version 1.1 of the Bluetooth API is implemented in S60 3rd Edition, FP2 devices. Do not use the isPowerOn() method in older devices and if you do not get the API version "1.1" by using the system property. Also note also that Bluetooth API 1.1 is implemented in Series 40 5th Edition devices (and newer).

39 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.