# Android Open Source Project

Published articles for Android Open Source Project.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## What if your Virtual Data Room (VDR) was Android™ based?

DevFeed: [What if your Virtual Data Room (VDR) was Android™ based?](<https://devfeed.tech/articles/what-if-your-virtual-data-room-vdr-was-androidtm-based-129541.md>)

Original publisher: [Read original article](<https://ubuntu.com//blog/what-if-your-virtual-data-room-vdr-was-android-based>)

Author: Bertrand Boisseau

Published: 2026-11-11T08:00:00Z

Content type: article

Language: en

Sources: [Ubuntu blog](<https://devfeed.tech/sources/ubuntu-blog.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [data loss prevention](<https://devfeed.tech/topics/data-loss-prevention.md>), [virtualization](<https://devfeed.tech/topics/virtualization.md>), [Infrastructure as a Service (IaaS)](<https://devfeed.tech/topics/infrastructure-as-a-service-iaas.md>)

Tags: [acquisitions](<https://devfeed.tech/tags/acquisitions.md>), [anbox](<https://devfeed.tech/tags/anbox.md>), [anbox-cloud](<https://devfeed.tech/tags/anbox-cloud.md>), [anbox-cloud-appliance](<https://devfeed.tech/tags/anbox-cloud-appliance.md>), [android](<https://devfeed.tech/tags/android.md>), [android-apps](<https://devfeed.tech/tags/android-apps.md>), [android-open-source-project](<https://devfeed.tech/tags/android-open-source-project.md>), [android-phone](<https://devfeed.tech/tags/android-phone.md>), [app](<https://devfeed.tech/tags/app.md>), [application](<https://devfeed.tech/tags/application.md>), [applications](<https://devfeed.tech/tags/applications.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [assets](<https://devfeed.tech/tags/assets.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [backend](<https://devfeed.tech/tags/backend.md>), [browser](<https://devfeed.tech/tags/browser.md>), [devices](<https://devfeed.tech/tags/devices.md>), [financial](<https://devfeed.tech/tags/financial.md>), [organizations](<https://devfeed.tech/tags/organizations.md>), [process](<https://devfeed.tech/tags/process.md>), [vdr](<https://devfeed.tech/tags/vdr.md>)

### AI overview

For VDRs, running an existing Android document viewer in an isolated cloud instance and streaming its rendered pixels can extend browser access without sending original files to users' devices. The article contrasts this with browser viewers, which may process content locally depending on their design, and locally installed apps, which require installation, maintenance, and OS-specific support. Anbox Cloud is presented as infrastructure for running and managing isolated Android sessions; providers can stop an instance after a session to remove temporary data and choose public or private infrastructure. This approach may suit providers with existing Android document workflows, while a conventional web viewer may suffice for displaying PDFs. Streaming makes extraction harder, but does not prevent screenshots, recordings, or external-camera capture; the article recommends retaining authentication, document permissions, and watermarking.

### Source excerpt

When working through merger and acquisitions, one needs to follow a proper due diligence process, in which lawyers, financial advisors, and potential buyers will need access to highly confidential documents, often coming from very different organizations and structures. Matters are further complicated by the fact that all of the stakeholders have different types of devices, [...]

## Inside Android Layoutlib: How View and Compose Previews Reach the Canvas

DevFeed: [Inside Android Layoutlib: How View and Compose Previews Reach the Canvas](<https://devfeed.tech/articles/inside-android-layoutlib-how-view-and-compose-previews-reach-the-canvas-113140.md>)

Original publisher: [Read original article](<https://proandroiddev.com/inside-android-layoutlib-view-compose-rendering-pipeline-dc5d7f8ac21c?source=rss----c72404660798---4>)

Author: Ravi Rawal

Published: 2026-11-02T14:47:44Z

Content type: article

Language: en

Sources: [ProAndroidDev](<https://devfeed.tech/sources/proandroiddev-medium.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [Android](<https://devfeed.tech/topics/android.md>), [aosp](<https://devfeed.tech/topics/aosp.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-framework](<https://devfeed.tech/tags/android-framework.md>), [android-open-source-project](<https://devfeed.tech/tags/android-open-source-project.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [androiddev](<https://devfeed.tech/tags/androiddev.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [bridge](<https://devfeed.tech/tags/bridge.md>), [canvas](<https://devfeed.tech/tags/canvas.md>), [compose](<https://devfeed.tech/tags/compose.md>), [device](<https://devfeed.tech/tags/device.md>), [drawing](<https://devfeed.tech/tags/drawing.md>), [emulator](<https://devfeed.tech/tags/emulator.md>), [framework](<https://devfeed.tech/tags/framework.md>), [image](<https://devfeed.tech/tags/image.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [inflation](<https://devfeed.tech/tags/inflation.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [layout](<https://devfeed.tech/tags/layout.md>), [layouts](<https://devfeed.tech/tags/layouts.md>), [view](<https://devfeed.tech/tags/view.md>)

### AI overview

Android Studio previews share Layoutlib's host rendering session, but Views and Compose keep different UI representations. For XML, Layoutlib inflates framework Views, resolves resources, then measures, lays out, and draws the hierarchy. For Compose, tooling invokes compiled composable code through a Compose host: a ComposeView sits in the View hierarchy, while Compose owns its internal layout tree. Layoutlib adapts selected framework behavior for desktop rendering; it does not boot Android or guarantee device behavior. A successful preview validates drawing under a selected configuration, not production data loading, lifecycle, window insets, platform services, or every device. The text recommends passing explicit UI state to presentation composables for representative previews, diagnosing failures at the construction, composition, or layout boundary, and using an emulator or device for OS-specific behavior.

### Source excerpt

Trace the rendering pipeline from XML inflation and compiled composables to measurement, drawing, and the final preview image and understand where Layoutlib's responsibilities end. Android Studio can render an XML layout or a Jetpack Compose screen without launching an emulator. The two types are rendered within the same preview window but are rendered differently, i.e. the rendering pipeline in the same way. When you have a view based layout, Android Studio will inflate your Android Viewshierarchy. When using compose, the compose tools will invokes the compiled composable code using the compose host. The Compose runtime will then build its own compose tree. Layoutlib connects these different UI models to a host-side rendering environment. It will not convert compose to views or emulate an entire Android device. That distinction explains the architecture behind Android previews, the role of classes such as Bridge and RenderSessionImpl . It also means that just because you successfully render your preview, it doesn't mean it will behave the same on a real device. The implementation can be found in the Layoutlib repo inside the Android Open Source Project's Layoutlib repository. You can look at the rendering bridge and compose tools source code to see how it all fits together. 1. What Layoutlib actually is Layoutlib is a part of the Android framework that has been adapted and ported to work outside of Android devices. It is used by Android Studio to render layouts. However, it is not a screenshot tool that parses XML and tries to mimic how Android widgets would look. It can instantiate Android framework views, resolve resources, perform layout measurement, and execute drawing operations through the adapted framework. This is important because a lot of how a layout looks is down to how the framework behavior. Text measurement, drawable rendering, padding, resource resolution, and parent-child layout rules all influence the resulting pixels. A renderer that merely appro

## Using LineageOS on a Xiaomi phone and Raspberry Pi for Android TV

DevFeed: [Using LineageOS on a Xiaomi phone and Raspberry Pi for Android TV](<https://devfeed.tech/articles/using-lineageos-for-phones-and-diy-smart-tvs-is-pretty-nifty-65554.md>)

Original publisher: [Read original article](<https://hackaday.com/2026/10/06/using-lineageos-for-phones-and-diy-smart-tvs-is-pretty-nifty/>)

Author: Maya Posch

Published: 2026-10-06T14:00:21Z

Content type: article

Language: en

Sources: [Hackaday](<https://devfeed.tech/sources/hackaday.md>)

Topics: [LineageOS](<https://devfeed.tech/topics/lineageos.md>), [Wireless Debugging](<https://devfeed.tech/topics/wireless-debugging.md>), [adb](<https://devfeed.tech/topics/adb.md>)

Tags: [adb](<https://devfeed.tech/tags/adb.md>), [android](<https://devfeed.tech/tags/android.md>), [android-15](<https://devfeed.tech/tags/android-15.md>), [android-16](<https://devfeed.tech/tags/android-16.md>), [android-open-source-project](<https://devfeed.tech/tags/android-open-source-project.md>), [aosp](<https://devfeed.tech/tags/aosp.md>), [bootloader](<https://devfeed.tech/tags/bootloader.md>), [cellphone-hacks](<https://devfeed.tech/tags/cellphone-hacks.md>), [featured](<https://devfeed.tech/tags/featured.md>), [lineageos](<https://devfeed.tech/tags/lineageos.md>), [linux](<https://devfeed.tech/tags/linux.md>), [raspberry-pi](<https://devfeed.tech/tags/raspberry-pi.md>)

### AI overview

The article recounts installing LineageOS on a Xiaomi Mi 5, upgrading the phone from Android 8.0 to Android 15, and running an Android TV port on a Raspberry Pi 4. It describes the phone's bootloader and driver difficulties, the simpler SD card installation for the Raspberry Pi, and LineageOS's usefulness to Android developers.

### Source excerpt

Although Android is essentially just another Linux distribution, most people only experience it in the form of the rather restrictive and proprietary versions found on smartphones, tablets and smart TVs. ...read more

## Valve Quietly Open-Sources Its Android Compatibility Layer

DevFeed: [Valve Quietly Open-Sources Its Android Compatibility Layer](<https://devfeed.tech/articles/valve-quietly-open-sources-its-android-compatibility-layer-48042.md>)

Original publisher: [Read original article](<https://feed.itsfoss.com/link/24361/17465915/valve-lepton>)

Author: Sourav Rudra

Published: 2026-09-18T10:47:55Z

Content type: news

Language: en

Sources: [It's FOSS](<https://devfeed.tech/sources/it-s-foss.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [LineageOS](<https://devfeed.tech/topics/lineageos.md>), [aosp](<https://devfeed.tech/topics/aosp.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-open-source-project](<https://devfeed.tech/tags/android-open-source-project.md>), [aosp](<https://devfeed.tech/tags/aosp.md>), [app](<https://devfeed.tech/tags/app.md>), [arm](<https://devfeed.tech/tags/arm.md>), [client](<https://devfeed.tech/tags/client.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [container](<https://devfeed.tech/tags/container.md>), [developers](<https://devfeed.tech/tags/developers.md>), [filesystem](<https://devfeed.tech/tags/filesystem.md>), [game](<https://devfeed.tech/tags/game.md>), [games](<https://devfeed.tech/tags/games.md>), [gaming](<https://devfeed.tech/tags/gaming.md>), [gpl](<https://devfeed.tech/tags/gpl.md>), [layer](<https://devfeed.tech/tags/layer.md>), [lepton](<https://devfeed.tech/tags/lepton.md>), [news](<https://devfeed.tech/tags/news.md>), [steam](<https://devfeed.tech/tags/steam.md>), [steam-frame](<https://devfeed.tech/tags/steam-frame.md>), [valve](<https://devfeed.tech/tags/valve.md>), [vr](<https://devfeed.tech/tags/vr.md>)

### AI overview

Valve has open-sourced Lepton, the Android compatibility layer built for Steam Frame. It launches Android games inside Linux containers; the Steam client handles it for most users. The project targets developers bringing VR-focused Android games to Steam Frame, though the repository notes other possible uses. Its compat tool, which Steam invokes to launch games, uses the MIT license, while the Android root filesystem is GPL-3.0 because it incorporates outside projects. The image builds on AOSP, LineageOS, and Waydroid, with Boringdroid also listed among its components. Lepton is deliberately limited rather than general-purpose: apps share a user without isolation, games are intended to run in separate containers, and unneeded Android services are disabled at launch.

### Source excerpt

The Lepton project is aimed at game developers who want to bring VR-focused Android titles over to Steam Frame.

## What the Cyber Resilience Act (CRA) means for Android™ development

DevFeed: [What the Cyber Resilience Act (CRA) means for Android™ development](<https://devfeed.tech/articles/what-the-cyber-resilience-act-cra-means-for-androidtm-development-77111.md>)

Original publisher: [Read original article](<https://canonical.com//blog/what-the-cyber-resilience-act-cra-means-for-android-development>)

Author: Bertrand Boisseau (Bertrand Boisseau)

Published: 2026-09-10T08:00:00Z

Content type: article

Language: en

Sources: [Canonical](<https://devfeed.tech/sources/canonical.md>)

Topics: [cyber resilience act](<https://devfeed.tech/topics/cyber-resilience-act.md>), [LineageOS](<https://devfeed.tech/topics/lineageos.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [mobile devops](<https://devfeed.tech/topics/mobile-devops.md>), [eu cra for containers](<https://devfeed.tech/topics/eu-cra-for-containers.md>)

Tags: [anbox](<https://devfeed.tech/tags/anbox.md>), [anbox-cloud](<https://devfeed.tech/tags/anbox-cloud.md>), [anbox-cloud-appliance](<https://devfeed.tech/tags/anbox-cloud-appliance.md>), [android](<https://devfeed.tech/tags/android.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [android-open-source-project](<https://devfeed.tech/tags/android-open-source-project.md>), [android-security](<https://devfeed.tech/tags/android-security.md>), [aosp](<https://devfeed.tech/tags/aosp.md>), [apis](<https://devfeed.tech/tags/apis.md>), [app](<https://devfeed.tech/tags/app.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [ci-cd-workflows](<https://devfeed.tech/tags/ci-cd-workflows.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [code](<https://devfeed.tech/tags/code.md>), [common-vulnerabilities-and-exposures](<https://devfeed.tech/tags/common-vulnerabilities-and-exposures.md>), [cra](<https://devfeed.tech/tags/cra.md>), [cyber-resilience](<https://devfeed.tech/tags/cyber-resilience.md>), [cyber-resilience-act](<https://devfeed.tech/tags/cyber-resilience-act.md>), [development](<https://devfeed.tech/tags/development.md>), [exploited](<https://devfeed.tech/tags/exploited.md>), [software](<https://devfeed.tech/tags/software.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

### AI overview

The Cyber Resilience Act's vulnerability reporting requirements make rapid impact assessment important for Android product teams. The article describes using Anbox Cloud to reproduce Android versions and configurations, investigate vulnerabilities, and validate patches through repeatable, parallel testing workflows. It notes that Anbox Cloud supports this engineering work but does not detect vulnerabilities or determine CRA reporting duties or compliance.

### Source excerpt

The CRA starts now: 24 hours to respond Picture this: a critical Android vulnerability is reportedly being exploited. Based on initial analysis, the compromised component is part of your software stack. Your product runs Android, but probably not exactly the Android described in the Common Vulnerabilities and Exposures (CVE) description. You may have your own [...]

## The Android Developer's Journey into Hardware Observability

DevFeed: [The Android Developer's Journey into Hardware Observability](<https://devfeed.tech/articles/the-android-developer-s-journey-into-hardware-observability-47173.md>)

Original publisher: [Read original article](<https://interrupt.memfault.com/blog/aosp-observability>)

Author: Victor Lai

Published: 2025-02-28T00:00:00Z

Content type: article

Language: en

Sources: [Interrupt](<https://devfeed.tech/sources/interrupt.md>)

Topics: [observability](<https://devfeed.tech/topics/observability.md>), [aosp](<https://devfeed.tech/topics/aosp.md>), [Security Information and Event Management (SIEM)](<https://devfeed.tech/topics/siem-security.md>), [Android](<https://devfeed.tech/topics/android.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-open-source-project](<https://devfeed.tech/tags/android-open-source-project.md>), [aosp](<https://devfeed.tech/tags/aosp.md>), [developer](<https://devfeed.tech/tags/developer.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [observability](<https://devfeed.tech/tags/observability.md>), [os](<https://devfeed.tech/tags/os.md>), [smartphones](<https://devfeed.tech/tags/smartphones.md>), [soc](<https://devfeed.tech/tags/soc.md>), [tooling](<https://devfeed.tech/tags/tooling.md>)

### AI overview

This article examines how observability tooling for AOSP-based Android hardware grows from a small number of devices to deployments of thousands. It describes the complexity of managing Android apps, native services, ODM customizations, hardware drivers, and limited OS source-code access.

### Source excerpt

In this article, I walk through how the growth of internal observability tooling for an AOSP device might look like, and the variety of pitfalls one might encounter as they scale from 1s to 10s to 1000s of Android devices in the field, based off my experience talking to AOSP developers and teams, and personally as an Android app developer working on AOSP hardware. Continue reading...

## The Starter kit for Android Platform Engineering

DevFeed: [The Starter kit for Android Platform Engineering](<https://devfeed.tech/articles/the-starter-kit-for-android-platform-engineering-28364.md>)

Original publisher: [Read original article](<https://siddroid.com/post/android/the-starter-kit-for-android-platform-engineering/>)

Author: Siddhesh Patil

Published: 2024-06-21T11:50:55Z

Content type: tutorial

Language: en

Sources: [Sid Patil - Android Engineer and Kotlin Advocate](<https://devfeed.tech/sources/sid-patil-android-engineer-and-kotlin-advocate.md>)

Topics: [aosp](<https://devfeed.tech/topics/aosp.md>), [Platform Engineering](<https://devfeed.tech/topics/platform-engineering.md>), [Android](<https://devfeed.tech/topics/android.md>), [ide](<https://devfeed.tech/topics/ide.md>), [Android Studio](<https://devfeed.tech/topics/android-studio.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-15](<https://devfeed.tech/tags/android-15.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [android-open-source-project](<https://devfeed.tech/tags/android-open-source-project.md>), [android-os-build](<https://devfeed.tech/tags/android-os-build.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [android-system-ui](<https://devfeed.tech/tags/android-system-ui.md>), [aosp](<https://devfeed.tech/tags/aosp.md>), [aosp-build](<https://devfeed.tech/tags/aosp-build.md>), [aosp-build-tools](<https://devfeed.tech/tags/aosp-build-tools.md>), [aosp-development](<https://devfeed.tech/tags/aosp-development.md>), [aosp-environment-setup](<https://devfeed.tech/tags/aosp-environment-setup.md>), [aosp-guide](<https://devfeed.tech/tags/aosp-guide.md>), [aosp-installation](<https://devfeed.tech/tags/aosp-installation.md>), [aosp-machine-configuration](<https://devfeed.tech/tags/aosp-machine-configuration.md>), [aosp-setup](<https://devfeed.tech/tags/aosp-setup.md>), [aosp-step-by-step](<https://devfeed.tech/tags/aosp-step-by-step.md>), [aosp-tutorial](<https://devfeed.tech/tags/aosp-tutorial.md>), [articles-by-sid-patil](<https://devfeed.tech/tags/articles-by-sid-patil.md>), [build-android-from-source](<https://devfeed.tech/tags/build-android-from-source.md>), [build-aosp](<https://devfeed.tech/tags/build-aosp.md>), [custom-android-build](<https://devfeed.tech/tags/custom-android-build.md>), [full-system-build-aosp](<https://devfeed.tech/tags/full-system-build-aosp.md>), [guide](<https://devfeed.tech/tags/guide.md>), [ide](<https://devfeed.tech/tags/ide.md>), [ide-configuration-for-aosp](<https://devfeed.tech/tags/ide-configuration-for-aosp.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [linux](<https://devfeed.tech/tags/linux.md>), [machine-setup-for-aosp](<https://devfeed.tech/tags/machine-setup-for-aosp.md>), [md3](<https://devfeed.tech/tags/md3.md>), [monet](<https://devfeed.tech/tags/monet.md>), [platform-engineering](<https://devfeed.tech/tags/platform-engineering.md>), [system-ui-apk](<https://devfeed.tech/tags/system-ui-apk.md>), [tiramisu](<https://devfeed.tech/tags/tiramisu.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

### AI overview

A practical guide to Android platform engineering that covers setting up an Ubuntu machine, configuring development tools, building the Android Open Source Project, preparing test devices, and booting an Android system image.

### Source excerpt

Unlock the secrets of the Android Open Source Project (AOSP) with a comprehensive guide to Platform Engineering. This article covers everything from machine setup and IDE configuration to compiling a full Android system builds for Google Pixels.

## Chasing Monet inside the Android framework

DevFeed: [Chasing Monet inside the Android framework](<https://devfeed.tech/articles/chasing-monet-inside-the-android-framework-28362.md>)

Original publisher: [Read original article](<https://siddroid.com/post/android/chasing-monet-inside-the-android-framework/>)

Author: Siddhesh Patil

Published: 2022-04-27T23:50:55Z

Content type: article

Language: en

Sources: [Sid Patil - Android Engineer and Kotlin Advocate](<https://devfeed.tech/sources/sid-patil-android-engineer-and-kotlin-advocate.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [material-you](<https://devfeed.tech/topics/material-you.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [color](<https://devfeed.tech/topics/color.md>), [aosp](<https://devfeed.tech/topics/aosp.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-12](<https://devfeed.tech/tags/android-12.md>), [android-13](<https://devfeed.tech/tags/android-13.md>), [android-framework](<https://devfeed.tech/tags/android-framework.md>), [android-open-source-project](<https://devfeed.tech/tags/android-open-source-project.md>), [android-system-ui](<https://devfeed.tech/tags/android-system-ui.md>), [aosp](<https://devfeed.tech/tags/aosp.md>), [article](<https://devfeed.tech/tags/article.md>), [articles-by-sid-patil](<https://devfeed.tech/tags/articles-by-sid-patil.md>), [color](<https://devfeed.tech/tags/color.md>), [deep-dive](<https://devfeed.tech/tags/deep-dive.md>), [design](<https://devfeed.tech/tags/design.md>), [design-system](<https://devfeed.tech/tags/design-system.md>), [dynamic-colors-jetpack-compose](<https://devfeed.tech/tags/dynamic-colors-jetpack-compose.md>), [dynamic-theming](<https://devfeed.tech/tags/dynamic-theming.md>), [dynamic-theming-on-android](<https://devfeed.tech/tags/dynamic-theming-on-android.md>), [framework](<https://devfeed.tech/tags/framework.md>), [how-does-dynamic-theming-work-on-android](<https://devfeed.tech/tags/how-does-dynamic-theming-work-on-android.md>), [internals](<https://devfeed.tech/tags/internals.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [material-design](<https://devfeed.tech/tags/material-design.md>), [material-design-3](<https://devfeed.tech/tags/material-design-3.md>), [material-you](<https://devfeed.tech/tags/material-you.md>), [md3](<https://devfeed.tech/tags/md3.md>), [monet](<https://devfeed.tech/tags/monet.md>), [monet-in-aosp](<https://devfeed.tech/tags/monet-in-aosp.md>), [monet-theme-engine](<https://devfeed.tech/tags/monet-theme-engine.md>), [monet-theming](<https://devfeed.tech/tags/monet-theming.md>), [pixel](<https://devfeed.tech/tags/pixel.md>), [system-ui-apk](<https://devfeed.tech/tags/system-ui-apk.md>), [tiramisu](<https://devfeed.tech/tags/tiramisu.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

A technical deep dive into Monet, the Android framework changes behind Android 12/12L dynamic theming and Material You. It explains how System UI responds to wallpaper changes, extracts colors, generates tonal palettes, and refreshes the system context.

### Source excerpt

We deep dive into the internals of the Android framework, covering the System-UI to understand the changes introduced starting from Android 12/12L and above, code-named Monet. We will explore the new system-wide dynamic theming capabilities and take a look at how Monet fuels the Material You design.

## Jetpack Compose 1.0: A Kotlin UI Toolkit for Android

DevFeed: [Jetpack Compose 1.0: A Kotlin UI Toolkit for Android](<https://devfeed.tech/articles/jetpack-compose-1-0-beauty-in-simplicity-touchlab-38230.md>)

Original publisher: [Read original article](<https://touchlab.co/jetpack-compose-stable-kotlin-multiplatform>)

Published: 2021-08-24T04:21:17Z

Content type: article

Language: en

Sources: [Touchlab](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [Android](<https://devfeed.tech/topics/android.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Declarative programming](<https://devfeed.tech/topics/declarative-programming.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-open-source-project](<https://devfeed.tech/tags/android-open-source-project.md>), [declarative-programming](<https://devfeed.tech/tags/declarative-programming.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [thoughts](<https://devfeed.tech/tags/thoughts.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

Jetpack Compose 1.0 is a stable Kotlin UI toolkit for Android that uses declarative programming to simplify UI development. The article explains how functions transform data into a UI hierarchy and update the view when data changes.

### Source excerpt

Jetpack Compose 1.0 is a UI toolkit written in Kotlin and designed to make life easier for Android developers.

## Intercept and edit HTTP traffic from (almost) any Android app

DevFeed: [Intercept and edit HTTP traffic from (almost) any Android app](<https://devfeed.tech/articles/intercept-and-edit-http-traffic-from-almost-any-android-app-19076.md>)

Original publisher: [Read original article](<https://httptoolkit.com/blog/inspect-any-android-apps-http/>)

Author: HTTP Toolkit; Tim Perry

Published: 2021-03-24T17:00:00Z

Content type: tutorial

Language: en

Sources: [HTTP Toolkit](<https://devfeed.tech/sources/http-toolkit.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>), [Android Studio](<https://devfeed.tech/topics/android-studio.md>), [APK](<https://devfeed.tech/topics/apk.md>), [adb](<https://devfeed.tech/topics/adb.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-open-source-project](<https://devfeed.tech/tags/android-open-source-project.md>), [app](<https://devfeed.tech/tags/app.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [arm64](<https://devfeed.tech/tags/arm64.md>), [capture](<https://devfeed.tech/tags/capture.md>), [certificates](<https://devfeed.tech/tags/certificates.md>), [debug](<https://devfeed.tech/tags/debug.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [emulator](<https://devfeed.tech/tags/emulator.md>), [google-play](<https://devfeed.tech/tags/google-play.md>), [http](<https://devfeed.tech/tags/http.md>), [https](<https://devfeed.tech/tags/https.md>), [install](<https://devfeed.tech/tags/install.md>), [interception](<https://devfeed.tech/tags/interception.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pixel](<https://devfeed.tech/tags/pixel.md>), [project](<https://devfeed.tech/tags/project.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [traffic](<https://devfeed.tech/tags/traffic.md>)

### AI overview

Android apps commonly use HTTPS and usually do not trust user-installed certificates, which blocks ordinary proxy inspection without rebuilding the app or using a rooted device. The excerpt describes an alternative: install an official app package in a standard Android emulator, then use a tool such as HTTP Toolkit to capture traffic for most apps and edit responses. It recommends an AVD with an architecture-matched image, a recent stable Android version (Android 7-13 is described as suitable), and a Google APIs or AOSP target; Google Play images have extra restrictions. Apps can be installed manually from APKs or XAPKs, but the excerpt cuts off during the installation instructions, so it does not provide the complete procedure.

### Source excerpt

HTTP is used by almost all Android apps to request data, load content, and send changes to backend servers. If you can see and edit these requests & responses then you can understand, debug, and change how any app works, but Android makes this hard to do. By default, almost all apps will use HTTPS but won't trust user-installed certificates. This means that you can't see their traffic with simple proxy tools, and you can't manually trust HTTPS debugging proxies without either editing and rebuilding the entire app, or setting up your own rooted device. Fortunately, there's a quick & easy way around this: you can manually install official APKs into a normal Android emulator, which provides enough access that tools like HTTP Toolkit can capture all traffic for most apps for you totally automatically, and allow you to edit responses in just a couple of clicks. Let's walk through how to do that, step-by-step: Setting up the emulator To get started, you'll need an emulator. It is possible to create and start one using the Android SDK directly (see this article) but it's easiest to just install Android Studio, create an empty project, and use the developer tools provided there (if you're not familiar with these developer tools at all, there's an detailed official guide). To create an interceptable Android emulator, you should create an AVD, that: Can be any device model, though things may be smoother with a popular device like a Pixel 4. Uses an image matching your computer's architecture (ARM64 on M1/M2 Macs, x86_64 on most other computers) since the performance will be far better. Uses a relatively recent stable Android version - Android 7 to 13 should be fine. Uses a 'Google APIs' or 'Android Open Source Project' target image. The 'Google Play' target includes extra restrictions and is not easily interceptable. Once you've created your emulator, start it, and then we need to install the target app. Since we don't have Google Play, you can't do that from the normal app s

## Building Reactive UIs with LiveData and SavedStateHandle (or equivalent approaches)

DevFeed: [Building Reactive UIs with LiveData and SavedStateHandle (or equivalent approaches)](<https://devfeed.tech/articles/building-reactive-uis-with-livedata-and-savedstatehandle-or-equivalent-approaches-25928.md>)

Original publisher: [Read original article](<https://itnext.io/building-reactive-uis-with-livedata-and-savedstatehandle-or-equivalent-approaches-4e934487035f?source=rss-7a8d96da8cb6------2>)

Author: Gabor Varadi

Published: 2020-10-04T19:53:05Z

Content type: article

Language: en

Sources: [Gabor Varadi](<https://devfeed.tech/sources/stories-by-gabor-varadi-on-medium.md>)

Topics: [reactive](<https://devfeed.tech/topics/reactive.md>), [Jetpack](<https://devfeed.tech/topics/jetpack.md>)

Tags: [activation](<https://devfeed.tech/tags/activation.md>), [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-open-source-project](<https://devfeed.tech/tags/android-open-source-project.md>), [apache](<https://devfeed.tech/tags/apache.md>), [async](<https://devfeed.tech/tags/async.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [background](<https://devfeed.tech/tags/background.md>), [coroutine](<https://devfeed.tech/tags/coroutine.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [lifecycle](<https://devfeed.tech/tags/lifecycle.md>), [livedata](<https://devfeed.tech/tags/livedata.md>), [observable](<https://devfeed.tech/tags/observable.md>), [observer](<https://devfeed.tech/tags/observer.md>), [query](<https://devfeed.tech/tags/query.md>), [reactive](<https://devfeed.tech/tags/reactive.md>), [reactive-programming](<https://devfeed.tech/tags/reactive-programming.md>), [repositories](<https://devfeed.tech/tags/repositories.md>), [room](<https://devfeed.tech/tags/room.md>), [rxjava](<https://devfeed.tech/tags/rxjava.md>), [savedstatehandle](<https://devfeed.tech/tags/savedstatehandle.md>), [state](<https://devfeed.tech/tags/state.md>)

### AI overview

LiveData's lifecycle callbacks let it act as a reactive data source: it can start observing when active and stop when inactive. The excerpt shows Room refreshing invalidated queries and a Firebase listener being attached and removed through those callbacks. For UI state, it combines SavedStateHandle-backed values into derived values and validation results; it also warns that getLiveData(key, initialValue) may not persist the initial value to the Bundle and gives a workaround. For asynchronous loading, switchMap can select data by changing state, while the liveData coroutine builder can emit results or connect to another LiveData source, with cancellation after inactivity subject to a default five-second timeout. The article presents RxJava and Flow as viable alternatives or interop options, including Flow.asLiveData(), while emphasizing SavedStateHandle for process restoration.

### Source excerpt

Building Reactive UIs with LiveData and SavedStateHandle (or equivalent approaches like Rx) You can also follow the related discussion thread on /r/android_devs. LiveData is a misunderstood beast. Every so often, you see comments like "LiveData does not belong in Repositories", or that with the existence of RxJava, Coroutine Channels, or Coroutine Flows -- there's "no reason to use LiveData at all". While there are components in these libraries that have overlapping responsibilities (BehaviorRelay, ConflatedBroadcastChannel, MutableStateFlow), that doesn't mean LiveData is useless. With the relatively new additions to Jetpack, such as the liveData { coroutine builder, LiveData is actually quite interesting. What is LiveData? If you try to find a definition for LiveData, you'll find that it's a "reactive, observable, lifecycle-aware data holder". We know it can be observed, and we know it holds 1 data value that is re-emitted for any new observer (and any changes made to it are also emitted), just like any BehaviorRelay. But what makes it special? Due to LiveData's lifecycle-awareness, it comes with its own "activation state" ( onActive and onInactive). It lets you know when there is an active observer, and when there are no longer any active observers. The trick is that this makes it far more than "just an every-day data holder". This allows LiveData to represent reactive datasources. I'd even wager that this is the original purpose for which LiveData was created, if Room's ComputableLiveData is any indication (as that also relies on onActive to trigger the refresh of the query results, if the table had been invalidated by a write to it). Why do I want reactive datasources? If you have data or state that can change over time, it's significantly easier to be notified of changes, than it is to poll for possible changes (and potentially miss out on changes if we tried to fetch data at the wrong time). This means that by using an "observer" (or change listener), we can r