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

Maxwell House Glass Coffee Server
$14.0
Maxwell House Glass Coffee Server pictureNew Curtis Cross Platform 3ft SCSI-3 to SCSI-3 Server Cable computers networking
$14.2
New Curtis Cross Platform 3ft SCSI-3 to SCSI-3 Server Cable computers networking pictureBlack Server 3 Pocket Waitress Waist Apron Glitter Skulls Name FREE Lady Pizazz
$12.99
Black Server 3 Pocket Waitress Waist Apron Glitter Skulls Name FREE Lady Pizazz pictureBlack Owls server waitress waist apron 3 pocket restaurant cafe bar Classyaprons
$11.89
Black Owls server waitress waist apron 3 pocket restaurant cafe bar Classyaprons pictureBlack Tropical server waitress waist Half apron 3 pocket restaurant Classyaprons
$11.89
Black Tropical server waitress waist Half apron 3 pocket restaurant Classyaprons picture






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