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
Highlighted
New Developer
Posts: 14
Registered: ‎07-16-2008
My Device: Not Specified

Common Code Example in the BlackBerry Application Developer Guide Volume 1

Has anyone been able to make use of the code example BaseApp.java?

It can be found in teh the "BlackBerry Application Developer Guide Volume 1" pdf file on page 17.

 

It looks very straight forward, it has a close MenuItem and TrackwheelListener that should pop up a menu.

 

But when I try to use it with a screen of my that extends FullScreen, the BaseApp's MenuItem and TrackwheelListener code doesn't seem to ever get called?

 

Does the sample just not work?

Or any idea of what I might be doing wrong? 

 

Thanks 

BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Common Code Example in the BlackBerry Application Developer Guide Volume 1

The samples included with version 4.0.2 and lower of the BlackBerry JDE extend demoapp, which is similar to to the BaseApp sample.  Please have a look a those samples and compare it to your implementation.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 98
Registered: ‎08-17-2010
My Device: BlackBerry 8300 simulator
My Carrier: Vodafone

Re: Common Code Example in the BlackBerry Application Developer Guide Volume 1

Dear petritis,

 

As per my knowledge you can not use menus and titles in FullScreen, instead you should use MainScreen if you want to use any of the above.

 

 

 

 

Regards,
Ajit Sharma
Developer
Posts: 17,012
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Common Code Example in the BlackBerry Application Developer Guide Volume 1

resurrecting a 3.5 years old thread, serious necromancy skills here.
----------------------------------------------------------
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.
@SimonHain on twitter