Ludei has ported canvas+ technology for android wearables so now anyone can create apps using HTML5. Amazing, huh?
Want to see the code in action? Check the following video
The code in this repo has been used for the video footage.
This demo has three different parts that pretend to emulate:
- The local time and temperature.
- Our heart rate.
- The flight departures that we could have.
The user can slide from one to other section and tap twice if he wants to go to the previous.
This demo is rendered using html5 canvas and uses CAAT to create the UI.
Local time and temperature
Heart rate
Departures
Now it's easy to get your html5 apps running in android wearables thanks to Ludei. Please follow the next steps:
- Log into the dev portal.
- Create or select your project to compile for android wear.
- Click on compile project.
- Upload the zip with this demo (zip created with index.html file, Lib and static folders).
- Select Android wear.
- Select Canvas+.
- Select Compiler version 2.1.
- Accept terms of services.
- Click Compile project button to begin the compilation.
After a while you will get the apk file to install in your android wear devices.