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
newbie100
Posts: 105
Registered: ‎05-22-2008
My Device: Not Specified

Re: COMPLETE SAMPLE : Re: UiEngine.queueStatus problem when device is locked

PS :

 

The 10 sec interval in the application is too short, as the next event would refresh the screen when you

unlock the keyboard.

 

If you increase it to say 60 sec, and then try, you will see the effect.

 

You can see what the screen looks like by looking at the hang.JPG file on my iDisk

 

  

Thank 

Please use plain text.
Developer
peter_strange
Posts: 19,601
Registered: ‎07-14-2008
My Device: Not Specified

Re: COMPLETE SAMPLE : Re: UiEngine.queueStatus problem when device is locked

Minor point, probably not relevant, and this is from memory so might be complete tosh....

 

I've had problems using priority 1 because my screen was maintained over the top of a real BB screen - from memory one of the request notification screens - and this actually caused a deadlock, can't remember how. So I tend to use 99 now, i.e.

queueStatus(globalScreen, 99, true);

Please use plain text.
Developer
newbie100
Posts: 105
Registered: ‎05-22-2008
My Device: Not Specified

Re: COMPLETE SAMPLE : Re: UiEngine.queueStatus problem when device is locked

Thanks Peter, I tried using 99 but had the same issue when testing in the simulator.

 

Did not try on an actual device, but my guess is it would behave the same on the device as well....

 

 

Please use plain text.
Administrator
MSohm
Posts: 14,379
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: COMPLETE SAMPLE : Re: UiEngine.queueStatus problem when device is locked

Thank you for posting the sample, I was able to reproduce this issue.  I also tried this in 4.3.0 and 4.5.0 and it worked as expected (the screen was automatically refreshes).  So it appears that the issue was fixed.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.