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
Shwarup
Posts: 93
Registered: ‎08-18-2011
My Device: 9550
Accepted Solution

Unable to determine the application exit code

Hi Guys,

 

I used bellow code to exit from application programatically.

 

Application::instance()->requestExit();

 

but i am getting following errors:

 

Unable to determine the application exit code

 

please find the attatched error image.

error.jpg

 

please help me to fix it.

 

Thanks,

Shwarup Biswas
Developer
zezke
Posts: 1,004
Registered: ‎12-12-2010
My Device: Z10 (red Limited Edition)

Re: Unable to determine the application exit code

Application::instance()->exit(0);

 

Or any code you want to use instead of 0.

-------------------------------------------
BlackBerry Certified Builder for Native Application Development -- Proud member of the Belgian BlackBerry Developer group
Samples: Park in Ghent
Feeling generous? Nominate me for BB Elite member!
Developer
Shwarup
Posts: 93
Registered: ‎08-18-2011
My Device: 9550

Re: Unable to determine the application exit code

Thanks Zezke. This issue fixed.
Thanks,

Shwarup Biswas