android - webview across the platform. Architect View? -
i have c,linux background less knowledge web application. came across strange requirement, , finding difficult providing solution.
requirement in short:
one code/multiple platforms[ mobile desktop]
what know:
1) ui front.
webview provided across mobile, desktop applications. [ atlease know for: ios, mac, in windows/linux/mac qt ].
conclusion: can have html5 code, can utilized across desktop/mobile platform. problem: how native access html/javascript. go phonegap supports mobile, not desktop [ correct me if wrong]. , if go qt, not support android/ios [ correct me if wrong].
2) writing middle layer in c++: ios/windows/mac/android supports c++.
question:
in ios/android know how bring webview using xcode. how can webview in windows , mac.
in short, have open source framework supports mac/windows/ios/android
is possible write our own native function invoke mechanism javascript c++ code, common.
kindly suggest.
answer :
- you can launch application opening browser or plugin browser,other wise mobile webkit need have ported on platform u wish run app ie mac,windows ,etc
- u can partially port code in multi-platform ,however u can find many opensource sdk phonegap , snehatouch ,etc have application smart phone, but not mobile , desktop/laptop environment, multi-platform destop/laptop can go java application.
- yes can call native function in respective platform invoking webkit using javasript .,
so single code can either work in mobile os , or counter part writing java?c++ code work in desktop/laptop os
Comments
Post a Comment