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
Contributor
mrdialect2012
Posts: 27
Registered: ‎05-10-2012
My Carrier: Vodafone

Screens - When pushing a new screen, does the screen im pushing have to extend screen

ie my class of my new screen, do I need to extend screen or mainscreen?

 

 

 UiApplication.getUiApplication().popScreen(activeScreen);

  UiApplication.getUiApplication().pushScreen(nextscreen);

Please use plain text.
Developer
lakshman9687
Posts: 243
Registered: ‎07-22-2011
My Carrier: AirTel

Re: Screens - When pushing a new screen, does the screen im pushing have to extend screen

Hi,

 

You have to extend MainScreen or FullScreen. or popup also

 

Regards,

Lakshman K

----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.

Please use plain text.
Developer
pradeep_ch
Posts: 543
Registered: ‎12-23-2010
My Carrier: Airtel

Re: Screens - When pushing a new screen, does the screen im pushing have to extend screen

 

To use pushscreen  you need to extend any one of the screen class.

We have different screen classes like Screen,Full screen, MainScreen, PopupScreen... etc

First try to understand the difference between all the screens,

then try to extend based on your requirements.

 

 

Thanks.

Please use plain text.