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
Contributor
Posts: 23
Registered: ‎05-11-2011
My Device: 9800 BOLD
My Carrier: Videotron
Accepted Solution

Close apps

Hi everybody

 

Can you tell me a way to make a exit button to terminate a

WebWorks apps with or without javascript ?

 

I try  this.close and  window.close without succes.

 

I develop on the PlayBook simulator and the closing

gesture is not the thing i want...i want a button.

 

TIA

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Close apps

You want blackberry.app.exit()

 

http://www.blackberry.com/developers/docs/webworks/api/playbook/blackberry.app.html

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Contributor
Posts: 23
Registered: ‎05-11-2011
My Device: 9800 BOLD
My Carrier: Videotron

Re: Close apps

Thx tneil,

 

I'm really happy...you point me the right stuff. Because

with this page http://www.blackberry.com/developers/docs/webworks/api/playbook/

you cannot really, in my case,  find what you want.

 

So many Thx again you really do a great job

 

 

 

Highlighted
Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Close apps

I would encourage you to go back to that link and hit refresh a couple of times Smiley Happy

 

The reason I say that is that we just uploaded a new version of the API documents that are leaps and bounds better than the old ones

 

Actually, I would suggest bookmarking the following URL... We are consolidating the links to redirect here:

http://www.blackberry.com/developers/docs/webworks/api/

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter