How to open push a new screen and pop the existing one?

Hello

Let's say I'm on A screen and I press a button to load the screen B. What is the best way to load screen B and remove the screen has?

In other words, there are many cases in which I have to open, or push, a new screen and I want to close or pop, the pre-existing one. I tried to do this in two ways, but I keep getting errors.

Thank you!

Hello

have you tried with

UiApplication.getUiApplication () .popScreen (activeScreen);

UiApplication.getUiApplication () .pushScreen (nextscreen);

Please use the option "search" in this forum. you will get a lot a lot of samples on this topic.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • How can cracking for printer installation CD, I get a new one?

    Hello, I have what looks like a crack in my installation for my Deskjet F4280 disc. I searched and searched the site, but I can't find any information to get another. I've lived a lot of problems to install this, and I'm really nervous without one. A

  • Dv6730ed restore HP Recovery Manager

    Hi you all at the community of HP,. For some reason any HP dv6730ed of my daughter (2008) lost it's recovery manager on the D: drive and now there is an urgent need to reset the laptop to its factory settings, due to virus etc... Repeatedly pressing

  • Remote VI: display Subvi.

    Hello Plug-in option to connect to a distant VI pour controller levels an application from a computer via the web naviquateur of the United Nations. The main VI appears well in the browser, but when I try crowing the front panel of a under VI this on

  • Unable to scan using HP Deskjet Ink Advantage 2515

    I'm unable to scan using my HP Deskjet Ink Advantage 2515.   I bought this product about 1.5 years back.  It was working fine then.  Now the printer works, but the scanner gives a not found error "HP Deskjet 2510".  OS: Windows 7 - printer connected

  • GameSpy for FSX is dead.

    Microsoft plans on fixing this problem?