Run Phonegap application, that supports HTML5 and Javascript on Android Wear

陌路散爱 提交于 2019-12-06 12:29:16

问题


I had already executed Hello World apk on Android wear emulator, now I want to use HTML inside asset folder to execute it in wear emulator but I am not getting any success


回答1:


Android wear supports only Java application not to render HTML document. Please refer to https://developer.android.com/training/building-wearables.html for Android were app in details.




回答2:


It does not work like you are used to from normal Phonegap/Cordova yet. But as you can use a full Chrome Browser on the watch (like com.appfour.wearbrowser) I think it can be done! So what you need to do is fork Chrome on Android Wear and let it launch your website...




回答3:


For simple HTML, our Android HTML software renderer should work, see https://github.com/kobjects/htmlview



来源:https://stackoverflow.com/questions/24635244/run-phonegap-application-that-supports-html5-and-javascript-on-android-wear

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!