Thursday, December 24, 2009

How to remove all the screens in display stack in Blackberry

In recently i want to delete all the screens in display stack.  I used following code to do it.

int screenCount = UiApplication.getUiApplication().getScreenCount();
for (int i = 0; i < screenCount; i++) {
Screen screen = UiApplication.getUiApplication().getActiveScreen();
Post a Comment