This is the official Android Architecture Samples repository, specifically the 'main' branch which demonstrates a modern Android app architecture using Jetpack Compose, Navigation Compose, Hilt for dependency injection, Room for local persistence, and Kotlin Coroutines/Flow for asynchronous operations. The app is a simple TODO list manager with CRUD operations, filtering, and statistics. It showcases a single-activity architecture with a navigation graph, a data layer with repository and two data sources (local Room database and a fake network), and a presentation layer with ViewModels and Compose screens. The codebase is well-structured, follows clean architecture principles, and includes extensive unit, integration, and end-to-end tests. It is intended as a learning reference for Android developers, not as a production template.
This repository contains Google Cloud Platform (GCP) service code samples in Go, designed to demonstrate API usage patterns and implementation techniques for various GCP services. The samples are organized by service (e.g., BigQuery, Firestore, Cloud Functions, Compute Engine) and include both runnable examples (main.go files) and library snippets. The repository serves as a practical reference for developers building applications on GCP, showing how to initialize clients, handle errors, manage resources, and integrate services. While not a single cohesive application, it provides executable samples that can be adapted for production use, with many samples following client initialization, context handling, and error handling patterns. The repository includes testing infrastructure and CI/CD configurations to validate samples against real GCP projects.
Androidify is a modular Android application that allows users to create personalized Android robot avatars using AI. It accepts a photo (from camera or gallery) or a text prompt, then generates a custom Android mascot image via a fine-tuned Imagen model through Firebase Vertex AI, with on-device Gemini Nano as a fallback for prompt generation and image validation. The app uses ML Kit for pose detection in the camera flow and subject segmentation for background removal. It features adaptive Jetpack Compose UIs across phones, tablets, foldables, and Android XR with shared element transitions. A companion Wear OS app enables one-tap installation of the generated avatar as a watch face, including APK creation and transfer via the Wearable Data Layer. The architecture is multi-module with custom Gradle plugins, Hilt DI, and feature flags via Firebase Remote Config. It is primarily an applied AI sample app, not a data research project, though it heavily relies on configurable AI prompts and model names.
This is an official Meta-published Unity sample repository demonstrating the Passthrough Camera API for Quest 3/3S headsets. It contains five distinct sample scenes: CameraViewer (live camera feed display), CameraToWorld (camera-space to world-space coordinate mapping with debug visualization), BrightnessEstimation (ambient light estimation from camera pixels), MultiObjectDetection (real-time object detection using YOLO via Unity Sentis, with 3D marker spawning), and ShaderSample (water shader using camera texture as reflection source). The architecture is a collection of independent scenes, each with its own manager MonoBehaviour and shared utility scripts (InputManager, DebugUIBuilder). The project targets Android via OpenXR and the Meta XR SDK (MRUK 85.0.0), with hand tracking and controller support. It is a learning resource, not a production application, but the code is well-structured with consistent conventions and several reusable patterns.
This repository is a sample GitHub App that demonstrates how to use webhooks with a GitHub App's installation token to create a bot that responds to pull request events. The application listens for `pull_request.opened` webhook events and automatically comments on the pull request with a predefined message from `message.md`. It is built with Node.js, uses the Octokit library for GitHub API interactions, and the `@octokit/webhooks` middleware to handle webhook verification and routing. The architecture is a simple HTTP server that exposes a `/api/webhook` endpoint. The code is straightforward and serves as a minimal example for developers to understand the basics of building a GitHub App. It includes environment variable configuration via dotenv, private key loading from file, and basic error handling. There are no tests, no complex data flows, and no reusable components beyond the pattern itself.
This is an Android application that serves as a learning resource for RxJava 2. It contains over 30 example activities demonstrating various RxJava operators (map, flatMap, zip, filter, take, skip, buffer, concat, merge, etc.), Subjects (Publish, Behavior, Replay, Async), and practical patterns like caching with multiple data sources, pagination with PublishProcessor, search with debounce/switchMap, an event bus (RxBus), and networking with AndroidNetworking. The code is written in Java and targets Android API 28 (Android 9). It uses old dependencies (Gradle 3.2.0, RxJava 2.2.2, AndroidX alpha versions) and the build system relies on the deprecated jcenter() repository. The architecture is straightforward: each example is a self-contained Activity that creates an Observable and logs results to a TextView. While the code is functional and educational, it is not production-grade and exhibits significant technical drift due to outdated libraries and practices.