wear-os-samples
golang-samples
wear-os-samples | golang-samples | |
---|---|---|
18 | 3 | |
1,035 | 4,150 | |
1.9% | 0.5% | |
9.4 | 9.3 | |
7 days ago | 6 days ago | |
Kotlin | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wear-os-samples
-
Help publishing a complication for my watch
Using DataLayer to transfer data from phone to your watch app. Check here wear-os-samples/DataLayer
-
tide/surf app for watch
Here is a really good repo by Google filled with WearOS sample projects. Helped me a lot with setting up communication between watch and phone. This is also a good starting point to understanding how these apps work. https://github.com/android/wear-os-samples
- Resources to get up and running?
-
Finally got my hands on the Pixel Watch. Will activate LTE soon.
There are plenty of open source watchfaces out there. Check out this github repo by Google. It contains best practice examples all around wear os including watchfaces.
-
Wear OS complication hell... How do you use them?
So I'm looking for good sources on how to use the new jetpack apis. So far I only found this sample project.
- Smartwatch APP
-
I have questions about app development
I think for Android based smartwatch, you could read something here
-
WearOs: Complications without borders
Main documentation about how to make watch faces under Wear OS seems to be the WatchFaceKotlin example. This example contains borders around complications. Some installed watch faces don't have borders around complications.
-
The state of watch face development on Samsung watches
I converted my codebase to Kotlin a few years ago, but I am struggling to move to new wear libraries. There is so much work to do, because Google, in their immense wisdom, decided to change everything. And don't even get me started about the Decomposition API (option to add second hand in ambient mode). I opened this issue almost a year ago and got no answer. https://github.com/android/wear-os-samples/issues/85
-
Some older watchfaces may not work correctly after latest GW4 system update
Tried this sample from Google: https://github.com/android/wear-os-samples/tree/main/WatchFaceKotlin
golang-samples
-
How to discover personal data in cloud storage
You can find an example of the function code for analyzing the data store on Google Cloud’s Github.
-
Ask HN: Solo-preneurs, how do you DevOps to save time?
Choose a platform like App Engine. It's auto-scaling. Supports bigtable. And opentelemetry. Manageable from anywhere via Cloud Shell. You can run multiple instances and partition load between them. Even includes a free tier ;)
https://github.com/GoogleCloudPlatform/golang-samples
-
GCP Cloud Run: containers without Dockerfile
# Source: https://github.com/GoogleCloudPlatform/golang-samples/blob/master/run/helloworld/Dockerfile FROM golang:1.16-buster as builder # Create and change to the app directory. WORKDIR /app # Retrieve application dependencies. # This allows the container build to reuse cached dependencies. # Expecting to copy go.mod and if present go.sum. COPY go.* ./ RUN go mod download # Copy local code to the container image. COPY . ./ # Build the binary. RUN go build -mod=readonly -v -o server # Use the official Debian slim image for a lean production container. # https://hub.docker.com/_/debian # https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds FROM debian:buster-slim RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ ca-certificates && \ rm -rf /var/lib/apt/lists/* # Copy the binary to the production image from the builder stage. COPY --from=builder /app/server /app/server # Run the web service on container startup. CMD ["/app/server"]
What are some alternatives?
camera-samples - Multiple samples showing the best practices in camera APIs on Android.
dbmate - :rocket: A lightweight, framework-agnostic database migration tool.
apps-script-samples - Apps Script samples for Google Workspace products.
bank-of-anthos - Retail banking sample application showcasing Kubernetes and Google Cloud
PixelMinimalWatchFace - WearOS minimal Watch Face, battery efficient, with complications support
nixpkgs - Nix Packages collection & NixOS
Jetpack-Compose-Tutorials - 🚀🧨📝 Series of Tutorials to learn about Jetpack Compose with subjects Material Widgets, Layout, SubcomposeLayout, custom layouts, State, custom rememberable, recomposition, LaunchedEffect, side-effects, Gesture, Animation, Navigation, Canvas, UIs like whatsapp and others.
DayZ-Expansion-LoadingScreen-Sample - DayZ Expansion LoadingScreen Sample.
architecture-samples - A collection of samples to discuss and showcase different architectural tools and patterns for Android apps.
Grafana - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
awesome-react - A collection of awesome things regarding React ecosystem
reisen - A simple library to extract video and audio frames from media containers (based on libav).