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
SachinKanade
Posts: 20
Registered: ‎03-03-2010
My Device: 8110

Close application

Hi All,

How will i close the blackberry application by using command

Developer
simon_hain
Posts: 16,354
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Close application

system.exit

----------------------------------------------------------
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
Developer
ShimmyShine
Posts: 46
Registered: ‎07-25-2009
My Device: Torch 9800

Re: Close application

You could try this:

 

 

public boolean onClose() {
    System.exit(0);
    return true;
}

 

Shimmy