For one of my project, I need to load the external page from inside my worklight (hybrid mobile) app (replace page screen). For android and IOS, I am going to use webview overlay. I need to load the page for full screen, hence gives the full control to external server page. However, I am not sure how to link my app to the server page. For example, if I need to close the webview overlay, how do I do that? The entire screen is server page. How do I control it from there? Is it even possible to close the webview overlay when the overlay is full screen? Is there other solutions? I need to load the serve page inside my worklight application, not through browser, full screen, and be able to go back to my app. Thanks.
Asked
Active
Viewed 1,011 times
0
-
Did you read the "Integrating server-generated pages in hybrid applications" training module and look at the accompanying sample project? http://www.ibm.com/developerworks/mobile/worklight/getting-started.html#GS_advanced – Idan Adar Aug 18 '14 at 16:39
-
@IdanAdar I read it. But the example in the project only gives webview overlay for a partial view. Of course you could close the webview overaly because you still have some part of your page to control the webview overlay. I want the webview to be on full screen. Just wondering is it a way to close the webview when it is at full screen. I assume that any local file is not seen on the page. Or could it ever be done? – xiongemi Aug 19 '14 at 05:28
-
I don't think so. You need to have the user somehow interact with it; re-consider your UI. – Idan Adar Aug 19 '14 at 05:31