How do I use an eventinjector on a browser in blackberry to close the browser. I want to simulate the ESCAPE key being pressed on the handheld when the browser loads so that the app exits the browser and goes back to the main screen. I tried doing this myself but have not been successful. Any help would be most appreciated.
Share
If you really want to control browser, you could use
BrowserField,BrowserField2in your app.You could also inject listener for key pressing or tracking which app is visible right now. But it will be really tricky because users are switching between apps often and there are quite many devices with touch interfaces now (user could close page without esc button).