GithubHelp home page GithubHelp logo

watchface-template's Introduction

DEPRECATED

Don't use this library anymore, it is obsolete! Check out the Android Wear Watch Face Sample from the Android Dev Team!

watchface-template

Requires Python 2.7.x.

Usage:

  • Clone the repo and give it a new name (denoted here by <new-watchface-name>)

     git clone [email protected]:twotoasters/watchface-template.git <new-watchface-name>
    
  • Navigate into the newly created folder with your repo and run the project generation script with the desired input parameter values

     cd <new-watchface-name>
     ./generate-project.py -w <watchfaceName> -a <appName> -p <packageName>
    
  • Remove the Git history and re-add the dependent watchface-gears submodule

     rm -rf .git
     rm -rf submodules/watchface-gears
     git init
     git submodule add [email protected]:twotoasters/watchface-gears.git submodules/watchface-gears
    
  • Start implementing your watchface in the wear module's Watchface class

watchface-template's People

Contributors

stefansundin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

watchface-template's Issues

round or square using different drawables

Is there a way to add a different drawable for square and round watches so we can take advantage of squares extra screen? I'm new to coding and been looking around but haven't found one that makes sense. Thanks

Newbie Issue

I don't feel that there is an issue with the code, I imagine it works great. My issue is newbie related, and it would be great if you could add something to the readme.

I'm am trying to run/debug this and I don't know the proper configurations. My wear app, says 'Default Activity not found', as does the mobile app. Could you please add something in the readme on how to get this running? I have updated my images and it looks nice in the preview window, and now I'm ready to see it in either the emulator or on a device.

Thanks in advance!

SyntaxError: unexpected EOF while parsing in generate-project.py

Hey, thank you for your awesome template. However I'm getting the following error while trying to run generate-project.py:

Traceback (most recent call last):
  File "./generate-project.py", line 79, in <module>
    generateProject(params['-w'], params['-a'], params['-p'])
  File "./generate-project.py", line 60, in generateProject
    input("\nPress Enter to continue...\n")
  File "<string>", line 0

    ^
SyntaxError: unexpected EOF while parsing

What's going wrong here?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.