| Reply | « Previous Thread | Next Thread » |
|
public void discover() {
try{ // retrieve the local Bluetooth device object LocalDevice local = LocalDevice.getLocalDevice(); // retrieve the Bluetooth address of the local device String address = local.getBluetoothAddress(); // retrieve the name of the local Bluetooth device String name = local.getFriendlyName(); helloStringItem.setText(name); } catch (BluetoothStateException e){String bsc_fnd="Hit Exception";} } So i have the above code and I loaded the app on to Nokia 6820 phone[runs fine on WTK] and the da.. phone keeps saying that it is,"Unable to load class BluetoothStateException", Anybody know why this would happen?? |
| farasnf@yahoo.com |
| View Public Profile |
| Find all posts by farasnf@yahoo.com |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| need information about j2me polish | rathikathangaraj | Mobile Java General | 4 | 2007-12-19 10:01 |
| ALERT: Unable to load class javax/microedition/pim/PIMException | menengol | Mobile Java Tools & SDKs | 0 | 2005-03-31 16:02 |
| Unable to load Nokia class using eclipse | lucerne2 | Mobile Java General | 0 | 2004-05-22 21:34 |
| Exceptions while loading application | avinash_rs | Mobile Java General | 0 | 2003-06-09 11:53 |
| Please suggest me about this.....Unable to load class | pencilX | Mobile Java General | 0 | 2002-12-31 14:18 |