문제

I have a customer that is requesting to display at the same time web views and native views. For example with tablets in landscape, display a vertical web menu at the left and a native view as the main view.

With WL.NativePage.show() all the UI is native.

Is there any way for doing this?

Thank you.

도움이 되었습니까?

해결책

You can add native controls to one part of the screen, resize the CordovaWebView, and then implement communication between the two. Check out this blog by Anton Aleksandrov: https://www.ibm.com/developerworks/community/blogs/worklight/entry/android_combining_native_and_web_controls_in_cordova_based_applications?lang=en

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top