A sample that shows how you can record voice using the microphone on a wearable and play the recorded voice, if the wearable device is connected to a speaker (bluetooth or built-in). If you want to learn how to play media content on Wear OS, refer to Horologist Media sample
This sample is also written entirely with Jetpack Compose, using Wear-specific components provided by AndroidX. The Compose UI is fairly advanced, using ConstraintLayout for Compose and animations. The sample also handles permissions and uses the effect APIs where necessary. If you are looking for a simpler example of Compose on [WearOS], refer to ComposeStarter.
This sample doesn't have any companion phone app so you need to install this directly
on your watch using adb
or Android Studio.
- Android SDK 30
This sample uses the Gradle build system. To build this project, use the "gradlew build" command or use "Import Project" in Android Studio.
- Stack Overflow: https://stackoverflow.com/questions/tagged/wear-os
If you've found an error in this sample, please file an issue: https://github.com/android/wear-os-samples/issues
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.