1

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

trejder
  • 17,148
  • 27
  • 124
  • 216
Saikat Saha
  • 772
  • 1
  • 16
  • 38
  • 2
    I think you might want to state your question more precisely. What exactly is it you're trying, what kind of error message do you get, etc. – Peter Friese Jul 08 '14 at 15:09
  • 1
    I want to use phonegap in android wear, is it possible, i tried but the app gets stopped by emulator – Saikat Saha Jul 09 '14 at 07:36

3 Answers3

3

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.

Channy
  • 184
  • 4
1

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...

Felix Weber
  • 518
  • 1
  • 4
  • 8
1

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

Stefan Haustein
  • 18,427
  • 3
  • 36
  • 51