03-04-2010 05:21 AM
I have an application which I want to close();
Below in the senario.
My app checks for the update verison of it using an webservice call and if it finds one then it has to update it.
Basically the app will open the update url in the BB browser.
Now the problem is that I am able to open the url in the browser but I am unble close my current application.
I am using the following code
String url = "MyURL";
BrowserSession browserSession = Browser.getDefaultSession();
How do I close my application?
Thanks for your help in advance.
Solved! Go to Solution.
03-04-2010 06:02 AM
a bb application will exit when the last screen will be closes (removed from display stack) or system.exit will be caled