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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


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. 

Highlighted
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