/watch-faces

A repository of custom watch faces made for my smartwatch(WearOS).

Primary LanguageKotlin

Analog Watch Face - Wear OS

This is an analog watch face made by Krushi Raj Tula.

I recommend to go through the references I mentioned if you want to start/continue developement on top of this project. This project is written in Kotlin for Android. If you're familiar working with Java or Android development using Java then you can directky jump off, not much of new things are required for understanding this.

You can read docs about Kolin here.

References I used for building this are:

  1. Create a watchface for Wear with Kotlin - Codelabs
  2. Build watch faces for Wear OS

Below is the screenshot directly taken from my Fossil Gen 5 Carlyle watch(round faced)

To connect physical watch to android studio for debugging

You can find these steps somewhere in the reference 1, but I wanted to make it simple and have it listed directly here.

  1. Connect the phone to which the watch is paired via bluetooth using a USB cable

  2. Turn on debugging via USB in phone

  3. Open Wear OS companion app on you phone and under the advanced setting select debugging over bluetooth

  4. You will see something like below

    Host: Disconnected
    Target: Connected
  5. Execute the following commands to get it connected

    # the path specified below is path to Android SDK installation on windows
    # it can be different in your case based on the operating system
    # I'm changing directory to that path because I need to access adb command
    # If you readily have access to adb command ignore the cd command
    # and execute the next two commands
    cd "C:\Users\<username>\AppData\Local\Android\Sdk\platform-tools"
    • To debug over bluetooth
    adb forward tcp:4444 localabstract:/adb-hub
    adb connect 127.0.0.1:4444

    Now you should see the below in your phone, in advaced setting of Wear OS companion app.

    Host: Connected
    Target: Connected
    • To debug over WiFi

    Go to developer settings in you watch and select debug over WiFi now you can see a local IP address of your watch, which resembles 192.168.*.* use that IP address below. I'm using 192.168.1.100 for example purpose.

    adb connect 192.168.1.100

    Then select for the prompt in you watch.

  6. Now you can see your watch under devices list in Android studio