03-29-2011 02:39 PM - edited 03-29-2011 02:56 PM
Hello everyone,
I am currently new to development for the blackberry and I have a problem. I am currently developing lotus notes for the blackberry and using JavaScript on the web side of the form. I am looking for a way to close the browser application using: window.close(); , self.close(); , parent.close(); , System.exit(1);
window.close(); does nothing. According to the API it suppose to close the current page and bring the user to the previous page that is in history.
If I can get that working then my next question would be how would I clear the browser history through JavaScript.
Any ideas, All the help is greatly appreciated
Also, i was thinking about the closing the session of the blackberry. Would anyone have any idea how to do that
03-30-2011 03:43 AM
Hello
I checked this out a while ago, but from what I can rememeber you can only use window.close, if you opened the window using javscript. I believe its related to security.
Not sure if that will help you though!
Cheers
Andrew