Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
peter_strange
Posts: 17,956
Registered: ‎07-14-2008

Re: Sample Please Wait or Progress Bar Code

The basic idea is that there is a Runnable that the Screen waits for.  So you can code whatever you like in the Runnable. 

 

I believe the normal BT discovery process is asynchronous, so you will need to have the Runnable Thread wait for completion, which I would do using wait/notify methods of an Object,  This is standard Java synchronization so search normal Java information sources for advice on this. 

Please use plain text.
New Developer
ufoloko
Posts: 27
Registered: ‎09-19-2008

Re: Sample Please Wait or Progress Bar Code

Im using this code but I have a strange behavior.

I have 2 blackberry both with OS7, but observer just update screen in just one device. In other device appears the thread dont start.

I have this behavior on some devices. Some work and some other not work.

Any Idea ?
Please use plain text.
Developer
peter_strange
Posts: 17,956
Registered: ‎07-14-2008

Re: Sample Please Wait or Progress Bar Code

I suggest you start a new Thread with your new problem.

 

I would debug the processing on device. I suspect there is a difference between the devices, such as the permissions that the app has been given.

Please use plain text.
Regular Contributor
KingNaresh
Posts: 51
Registered: ‎04-30-2013
My Carrier: Blackberry

Re: Sample Please Wait or Progress Bar Code using thread

hi all,

 

     Can any one explain gauge field process based on the thread concept. 

     If i click the button the Gauge fied is loading and gauge field process willl end when move to new screen.

     I saw peter and simson code but i cant understand.

 

Thanks..

Please use plain text.
Developer
peter_strange
Posts: 17,956
Registered: ‎07-14-2008

Re: Sample Please Wait or Progress Bar Code using thread

Sorry I don't understand this question.  Can I suggest you start a new Thread and perhaps have another go at explaining the problem. 

Please use plain text.
Regular Contributor
KingNaresh
Posts: 51
Registered: ‎04-30-2013
My Carrier: Blackberry

Re: Sample Please Wait or Progress Bar Code using thread

My queries is how to process the gauge field(using only thread) in popupscreen or mainscreen depends upon the server process. Plz guide me for this process... Thanks for advance..

Please use plain text.