08-22-2012 07:26 AM
I am invoking a browser window from my WebWorks site as follows:
var args = new blackberry.invoke.BrowserArguments(MY_URL);
This all works fine, except that the browser window is not full screen and I see the URL bar. I really want to hide this if at all possible, is there any way to do this?
08-22-2012 01:24 PM
08-22-2012 03:10 PM
I've been down the iframe route and there are two issues with it for me.
1) My app used focus based navigation, but the mobile website requires the cursor to navigate properly. I don't know anyway to change this dynamically.
2) Including an iframe in my HTML has for some reason has prevented my ability to catch the back button events. As soon as I remove the iframe it works fine.
08-22-2012 03:43 PM - edited 08-22-2012 03:45 PM
1) Sadly I think you can't do that because of security problems...
2) The reason for that is because now the app will respond only to event fired inside the iframe, so your app will never get the back button event, since it was fired to the iframe.
Why not use the normal Browser? I think it's a lot better for the user (to be in the stock browser) if you need to redirect him to a site.
08-22-2012 04:09 PM
I would love to just use the normal browser, but unfortunately the client wants a seamless app experience where the user does not see that they are being moved into the browser.
Thanks for your help though!