问题
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