Is their a way to remove the nav bar on the top and bottom from the webview of the browser and put a close function into the html file that is being called? I am trying to make the webview seem that it is actually just a window opening and not actually going directly to a website.
Thanks,
Alex
W
Wolfgang Damm
said
almost 11 years ago
If you don't require the back button, you can just set document.location to go to the website. Keep in mind that you will need to offer the user a way to get back (and on Android pressing the back button will exit the ARView). Removing the nav bar is not supported.
A
Alex
said
almost 11 years ago
Thanks for the speedy response! I guess what I was trying to do was open the webview without the top and bottom nav bar and in the html page have a command within the page to close the webview if that was possible.
W
Wolfgang Damm
said
almost 11 years ago
unfortunately that's not possible at the moment. If you are using the SDK to build your own application you are able to build it your onw however. Just use the default messaging mechanism (call an architectsdk://...) and notify your native application that it should display a webview on top.
Alex