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

Native Development

Reply
Developer
annadanesh
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 

Please use plain text.
BlackBerry Development Advisor (Retired)
psapra
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:

https://developer.blackberry.com/native/reference/bb10/com.qnx.doc.neutrino.lib_ref/topic/e/exit.htm...

 

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

Thanks,
Pratik Sapra
Gaming & Apps Consultant
Developer Relations
@pratiksapra
Please use plain text.