A html page is opened when the user press one button. I'm using the next piece of code to open the page:
midlet.platformRequest( "http://www.google.com/" );
When the browser is opened and after pressing the hard end key a confirmation dialog message appears with the title “App name”. If the user taps on “YES” button my app will close and the browser will remain opened and displayed. If the user taps on “NO” button the dialog message disappears.
The expected result is to close the browser and to return the user to the app if the “YES” button is selected.
I will appreciate your help.