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

Adobe AIR Development

Regular Contributor
Posts: 68
Registered: ‎02-27-2011
My Device: Not Specified

Either webworks or Stagewebview how do I close an app.

[ Edited ]

I have my hmtl5 app ready and I'm thinking of using a stage webview incase I wanted to update it with additional functionality that relies on the air sdk. However, there's nothing in the app right now that stops me from using just webworks to publish the app.


What I would like to know is how do I implement a close app button in javascript. I know how to do it in as3 and given that you can't display objects above an stage webview I can't use an invisible button. Is there a way in javascript ot close the app? or does anyone have any ideas/sample code.


Any help much appreciated, Thanks.