TKV
TKV

Reputation: 2663

How can I quit a BlackBerry application when the user selects a menu item?

I have an exit button in my application and I want to properly quit the whole application when the button is clicked. Is exit(0) enough to exit the BlackBerry application completely?

Upvotes: 1

Views: 1019

Answers (1)

Ryan Shripat
Ryan Shripat

Reputation: 5704

Use the following code to exit a BlackBerry application programmatically:

System.exit(0);

Upvotes: 2

Related Questions