10-21-2008 08:50 AM
Hi all.Is there a way to access the screen stack?
I would like my background thread to write the name of the topmost screen while moving through the various applications on the bb (address book, sms ... ).
(I need it for testing purposes)
Solved! Go to Solution.
10-21-2008 09:28 AM - edited 10-21-2008 09:29 AM
What do I need to do for:
public Screen getActiveScreen()
to always retrieve the topmost screen (not only for my application) ?
In which thread should I use it ?
Thank you in advance.
10-21-2008 09:31 AM
Not in the way you want, You can only see screens in your application, and you can go through the stack starting with the top using
UiApplication.getUiApplication().getAciveScreen();
As far as I know, there is no way from your application to see other application's screens, I think that would be regarded as a security exposure.
10-22-2008 02:37 AM