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

Web and WebWorks Development

Reply
New Contributor
gazsp
Posts: 7
Registered: ‎09-30-2010
My Device: Not Specified

API to force an app to quit

Hi all,

 

Is there an API call I can use to force an app to quit?

 

I'm building a web widget so a javascript function would be ideal. If not, I could code an extension to call into native code.

 

Regards,

Gary.

Developer
jtyberg
Posts: 124
Registered: ‎09-06-2010
My Device: Not Specified

Re: API to force an app to quit

Look at the WebWorks/Widget API.

 

http://www.blackberry.com/developers/docs/widgetapi/

 

blackberry.app.exit();