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
My Carrier: vodafone

Close application

Hi All,

How will i close the blackberry application by using command

Please use plain text.
Developer
simon_hain
Posts: 16,113
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

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
Please use plain text.
Developer
ShimmyShine
Posts: 46
Registered: ‎07-25-2009
My Device: Torch 9800
My Carrier: AT&T

Re: Close application

You could try this:

 

 

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

 

Shimmy

 

Please use plain text.