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

New Developer
Posts: 12
Registered: ‎11-22-2011
My Device: Z30 ; Z10 ; Q10
My Carrier: Verizon Wireless

Query about Global Screens

Hi i am developing an device security application. I have implemented lock mechanism using Global screen. For my Lock module i have two Global Screens: 1) Lock Screen 2) Unlock Screen. Lock Screen is global screen with type GLOBAL_MODEL and unlock screen is of type GLOBAL_QUEUE. but when i close the lock screen ,it does not show the Unlock Screen. Later i discovered that it was due to having no screen in display stack. Can anybody tell me , How does global screens are managed in BlackBerry. Does Global screens have any display stack.??


As far as i understand global screen are not pushed into display stack in which normal screens are pushed. Am i right??

i tried to get screen count  using getScreenCount method after pushing the global screen, but it returns 0.


Please advice.