Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/android/wear-os-samples
Multiple samples showing best practices in app and watch face development on Wear OS.
https://github.com/android/wear-os-samples
samples
Last synced: 27 days ago
JSON representation
Multiple samples showing best practices in app and watch face development on Wear OS.
- Host: GitHub
- URL: https://github.com/android/wear-os-samples
- Owner: android
- License: apache-2.0
- Created: 2019-06-14T21:24:27.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T10:56:18.000Z (6 months ago)
- Last Synced: 2024-05-22T11:11:19.812Z (6 months ago)
- Topics: samples
- Language: Kotlin
- Homepage: https://developer.android.com/wear
- Size: 30.1 MB
- Stars: 1,053
- Watchers: 89
- Forks: 549
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Android-Open-Source-Projects - Wear-os-samples
README
Wear OS Samples Repository
======================This repository contains a set of individual Android Studio projects to help you get started writing Wear OS apps and watch faces.
Read below for a description of each sample.
Samples
----------* **[ComposeStarter](ComposeStarter)** (Compose/Kotlin) - Demonstrates simple Compose for Wear OS app devs can use as a starting point for their own Compose app.
* **[DataLayer](DataLayer)** (Compose/Kotlin) - Demonstrates communicating via the data layer between the watch and the phone. [Guide](https://developer.android.com/training/wearables/data-layer)
* **[WatchFaceFormat](WatchFaceFormat)** - Demos the new Watch Face Format which allows quick development of performant watch
faces in XML [Guide](https://developer.android.com/training/wearables/wff)* **[WatchFaceKotlin](WatchFaceKotlin)** (Kotlin) - Demos the AndroidX Watch Face APIs which provide their own storage mechanism for watch face preference values.
* **[Complications](Complications)** (Kotlin) - If you are writing a watch face with complications, this app gives you a full suite of data sources to test against your implementation of complications to make sure it looks good. [Complication Guide](https://developer.android.com/training/wearables/watch-faces/adding-complications)
* **[WearOAuth](WearOAuth)** (Kotlin) - Demonstrates how developers can authenticate a user on their Wear OS app via the user's mobile/phone device without requiring a mobile app (Wear OS companion app handles the request on the mobile side). The sample uses OAuth. [Guide](https://developer.android.com/training/wearables/apps/auth-wear)
* **[WearSpeakerSample](WearSpeakerSample)** (Compose/Kotlin) - Demonstrates audio recording and playback if the wearable device has a speaker. This is also demonstrate how to handling permissions. [Guide](https://developer.android.com/training/wearables/wearable-sounds)
* **[WearTilesKotlin](WearTilesKotlin)** (Kotlin) - Demonstrates tiles using the new AndroidX library. [Guide](https://developer.android.com/training/articles/wear-tiles)