WatchFaceAlphaKotlin - Demonstrates watch faces using the new androidX alpha libraries (Kotlin)

Overview

Alpha WatchFace Sample (Kotlin)

Demonstrates watch faces using the new androidX alpha libraries (Kotlin).

Introduction

With the release of the androidX alpha watch face libraries (late 2020), Wear OS has simplified watch face development.

This sample gives you an early preview of how you can simplify your development with the new 100% Kotlin libraries.

Steps to build in Android Studio

Because a watch face only contains a service, that is, there is no Activity, you first need to turn off the launch setting that opens an Activity on your device.

To do that (and once the project is open) go to Run -> Edit Configurations. Select the app module and the General tab. In the Launch Options, change Launch: to Nothing. This will allow you to successfully install the watch face on the Wear device.

When installed, you will need to select the watch face in the watch face picker, i.e., the watch face will not launch on its own like a regular app.

For more information, check out our code lab: [1]: https://codelabs.developers.google.com/codelabs/watchface/index.html

Screenshots

Getting Started

This sample uses the Gradle build system. To build this project, use the "gradlew build" command or use "Import Project" in Android Studio.

Support

If you've found an error in this sample, please file an issue: https://github.com/android/wear-os-samples

Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.

You might also like...
Android app for watch replays at wasd.tv with autoscroll chat
Android app for watch replays at wasd.tv with autoscroll chat

WasdReplayAndroid Приложение для просмотра записей на васде с чатом на андроиде. https://github.com/Kirimatt/WasdReplayAndroid/blob/master/app/build/i

androidx window manager sample taken from the original source and modified for easy deploy and test

androidx-window-samples This project contains the WindowManager samples located in the androidx WM project location The goal of this project is to pro

This repo provides a sample application that demonstrates how you can speed up the authentication experience for frontline workers on shared devices using QR codes.

Project This repo has been populated by an initial template to help get you started. Please make sure to update the content to build a great experienc

App demonstrates how to use Room to save, read, update, and delete inventory items in a SQLite database.

Inventory - Solution Code Solution code for Android Basics in Kotlin. Codelab: Android Jetpack - Room. Introduction This app is an Inventory tracking

Simple Notes app demonstrates modern Android development with Hilt, Material Motion, Coroutines, Flow, Jetpack (Room, ViewModel) based on MVVM architecture.
Simple Notes app demonstrates modern Android development with Hilt, Material Motion, Coroutines, Flow, Jetpack (Room, ViewModel) based on MVVM architecture.

Simple Notes app demonstrates modern Android development with Hilt, Material Motion, Coroutines, Flow, Jetpack (Room, ViewModel) based on MVVM architecture.

A sample app illustrating Android development using Kotlin with MVVM architecture, Android Jetpack, and other commonly used libraries.

Anime Facts A sample app illustrating Android development using Kotlin with MVVM architecture, Android Jetpack, and other commonly used libraries. Ani

🌄 Photo editor using native modules for iOS and Android. Inherit from 2 available libraries, Brightroom (iOS) and PhotoEditor (Android)
🌄 Photo editor using native modules for iOS and Android. Inherit from 2 available libraries, Brightroom (iOS) and PhotoEditor (Android)

React Native Photo Editor (RNPE) 🌄 Image editor using native modules for iOS and Android. Inherit from 2 available libraries, Brightroom (iOS) and Ph

The application is developed using Modern tools/libraries with UI implementations with Navigation architecture
The application is developed using Modern tools/libraries with UI implementations with Navigation architecture

This is mobile application which actual users will interact with. The application is developed using Modern tools/libraries with UI implementations with Navigation architecture. It connects with the Dog API to retrieve data. more detail of api can be found here - https://dog.ceo/dog-api/documentation/random This project a basic example of Retrofit and mvvm

A simple Android project using modern Android development tools and libraries.
A simple Android project using modern Android development tools and libraries.

A simple Android project using modern Android development tools and libraries.

Owner
Bastiaan Quast
PhD Development Economics | Author of R package: rnn, datasets.load, rddtools, decompr
Bastiaan Quast
Elektronika - is a replica of an old Soviet watch - electronics, that might be uses on Android watch now)

Elektronika Elektronika - it's a sample project that shows how to create watch face for Android WearOS. Elektronika based on Google WatchFace Sample,

Ilia Pavlovskii 7 Dec 19, 2022
Simple Notes app, MVVM with Google Architectural components Room database, LiveData and ViewModel. Written in Kotlin using androidx libraries

Simple Notes app, MVVM with Google Architectural components Room database, LiveData and ViewModel. Written in Kotlin using androidx libraries. Implemented Firebase Auth and Database, and used Room database

Javokhir Jambulov 3 Aug 1, 2022
Be notified of new AndroidX (Jetpack) library versions and their changelog by GitHub notifications

Image credits: Android Developers This repository publishes release notes of And

Mahdi Hosseinzadeh 4 Oct 5, 2022
Detector de faces - Aplicativo android para detecção de rostos em imagens.

Detector de Faces Aplicativo android para detecção de rostos em imagens. Este aplicativo faz uso do ML Kit do Android. Principais funcionalidades Dest

Luis Henrique 4 Jun 25, 2022
This Android application demonstrates new splash screen API launched by Google last year.

This Android application demonstrates new splash screen API launched by Google last year.

Mohit Rajput 1 Feb 22, 2022
Communicating between Wear OS and Android device using the OpWear module and a sample of displaying real-time camera on the watch and sending commands to the mobile by Wear OS.

OpWear-Cam Communicating between Wear OS and Android device using the OpWear module and a sample of displaying real-time camera on the watch and sendi

AmirHosseinAghajari 6 Nov 8, 2022
Android TicWatch E-3 API 28 in Kotlin Animated Watch

AndroidTicWatchE3 -WEAR OS API 28 in Kotlin Android Studio- [CODE SNIPPETS] TicWatch E-3 Virtual Star Pet Features: Daily Background Change Holiday Mo

Sarah Bass 3 Aug 16, 2022
Learn about your favorite Marvel characters, super heroes, villains and watch videos from official Marvel youtube channel.

Marvel Super Heroes Android App ?? Learn about your favorite Marvel characters, super heroes, villains and watch videos from official Marvel youtube c

Lucas Cabral 5 May 24, 2022
Sync DND state between Android phone and watch

DNDSync This App was developed to enable Do Not Disturb (DND) synchronization between my Pixel phone and the Galaxy Watch 4 since this option was only

rhaeus 57 Jan 5, 2023
An Android app to watch anime on your phone without ads.

Anime X Stream An Android app to watch anime on your phone without ads. WARNING: THIS IS A BETA VERSION of application, THEREFORE YOU MAY ENCOUNTER BU

Mukul Banga 2.2k Jan 4, 2023