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.

inside custom component

Java Development

Reply
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

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. 

New Developer
Posts: 27
Registered: ‎09-19-2008
My Device: 8900

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 ?
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

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.

Regular Contributor
Posts: 87
Registered: ‎04-30-2013
My Device: 9220
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..

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

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. 

Regular Contributor
Posts: 87
Registered: ‎04-30-2013
My Device: 9220
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..

New Developer
Posts: 10
Registered: ‎07-30-2015
My Device: blackberry 10
My Carrier: wifi

Hiding Background Process

Hi friends,

       I am new to blackberry development using javasdk.I want help from you guys.

       The question is how to hide the background process(call generation) with progress bar.

      Thanks in advance