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

Native Development

Posts: 82
Registered: ‎01-11-2013
My Device: DevAlphadevice
My Carrier: rim

Regarding existing app

Hello all,


1>>how to colse or exit whole app in bb10 by onclick of button in c++ code 

2>> how continue app on click of cacel buuton event in c++ code ie firstly am checking network status if it true i want  continu or else exit app


please any one who know reply me 

Posts: 74
Registered: ‎07-22-2008
My Device: BlackBerry Z10
My Carrier: N/A

Re: Regarding existing app

1.  You can use the exit() method to accomplish this.  Please see the link below:



2.  I am not entirely sure what you are trying to do.  Can you elaborate more?

Pratik Sapra
Gaming & Apps Consultant
Developer Relations