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

New Developer
Posts: 1
Registered: ‎12-17-2008
My Device: Not Specified

problem with end key

Hi i am ravi i m new developer in blackberry, i am using keychar() method when i use escap key then it exit app when i m used end key (red button) then app is exit but when i start app again than it remains same state, how i change it, i want start it frm intial state
Product Manager
Posts: 245
Registered: ‎09-12-2008
My Device: BlackBerry Passport
My Carrier: Rogers

Re: problem with end key

Moving this thread to the Java forum.
BlackBerry Development Advisor
Posts: 15,857
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: problem with end key

The red escape key does not close an application but instead moves an application into the background.  You can override the activate and deactivate methods in the Application class to capture these events and perform any required application initialization.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.