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
shamusschubert
Posts: 117
Registered: ‎10-22-2008
My Device: Not Specified

How to close a FullScreen?

I created  an application that has a MainScreen and another screen based on a FullScreen.

 

My MainScreen has a menu that works fine, including opening the FullScreen.

 

When I get to the FullScreen, there is no menu and the escape key and such does not work.  Doesn't FullScreen implement default menus and keyboard listeners?

 

How do I create a multi-screen application and navigate from screen to screen?

 

Cose samples, plz. 

 

Thanks.

 

Eclispse 3.4
JDE 5
Bold/Tour/Storm
Developer
eaoliver
Posts: 205
Registered: ‎07-14-2008
My Device: 7230, 8700, 8820, 9000

Re: How to close a FullScreen?

Try passing Screen.DEFAULT_CLOSE into the FullScreen constructor.

 

Earl 

Earl Oliver
Retired
saziz
Posts: 76
Registered: ‎07-11-2008
My Device: Z10

Re: How to close a FullScreen?

Why not just use two MainScreens? You can switch between multiple screens in your application using UiApplication.pushScreen() and UiApplication.popScreen()

 

If you must use FullScreen, the code sample within the following article describes how to add the Close Menu item manually within FullScreen:

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800508/...

Sarim
BlackBerry Development Advisor
www.BlackBerryDeveloper.com