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

Java Development

Reply
Contributor
Posts: 12
Registered: ‎06-22-2012
My Device: developer
My Carrier: Vodafone

Close Browser Window or Tab

hello

 

My app opens many urls on users request.But the nos of tabs keep on increasing(undesirable!!).But this is not I wished for.

 

I am looking to one of the following alternatives

1. Close the tab

2. Close the Browser Itself(not possible I guess.)

3. Anything that would prevent me having multiple tabs

 

I have tried implemenyting follwing options

1. Use Event Injections

2. Java Script

3. tried searching for any configuration /setting that will enable me to avoid multiple tabs

 

But I have not been successful.For Event Injection I guess it does not works with browser.I have not been able to figure out how will I call JavaScript to close the window/tab.Niether did I get any setting that will prevent me using multiple tabs.

 

Can any one suggest me any thing helpful.I dont want to use BrowserField.I even would like to look at an option for alternate browser that provides me this facility

 

Thanks