BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-13-2009, 07:21 AM   #1 (permalink)
New Member
 
Join Date: Apr 2009
Model: storm
PIN: N/A
Carrier: no
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with events

Please Login to Remove!

Hello I'am developing a bluetooth application on BB Storm
I got a class "client" which opens a bluetooth connection via jsr 82.

That works fine, I am able to establish the connection and send data.

But the events provided by the client class are not raised in the Application.

The HelloWorldScreen-Class implements a device listener, the client class has a device listener object.

public class HelloWorldScreen extends MainScreen implements DeviceListener {

public void setDeviceListener(DeviceListener l)
{
this.listener = l;
}

public void connectionEstablished()
{
this.add(new LabelField("Connection established"));
this.doPaint();

}


}

public class Client extends Thread{

public void run()
{

}

}
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

NEW Siemens 6ES5 375-0LC11 Simatic S5 Memory Submodule EEProm
$55.0
 NEW Siemens 6ES5 375-0LC11 Simatic S5 Memory Submodule EEProm  picture50Pcs Eeprom 512Kbit 45Ns W27c512-45Z W27c512 Dip New Ic G
$33.39
50Pcs Eeprom 512Kbit 45Ns W27c512-45Z W27c512 Dip New Ic G pictureAtmel AT29C512-20PC 29C512 512KBIT CMOS FLASH EEPROM PDIP32 x 1pc
$5.99
Atmel AT29C512-20PC 29C512 512KBIT CMOS FLASH EEPROM PDIP32 x 1pc picture10Pcs Dip-18 8-Bit Microcontroller Pic16f84a-04/P Pic16f84a Eeprom Ic New K
$21.03
10Pcs Dip-18 8-Bit Microcontroller Pic16f84a-04/P Pic16f84a Eeprom Ic New K picture5Pcs Am29f016b-90Ec Tssop48 Amd Flash Eeprom New Ic W
$6.55
5Pcs Am29f016b-90Ec Tssop48 Amd Flash Eeprom New Ic W picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.