⚠️ Malware / Trojaner / VirenMultiple trusted publishing configurations for npm(03.09.2026 um 22:34 Uhr)
🔧 AI Nachrichten GPT-6 Astra is generally available in GitHub Copilot(04.09.2026 um 20:59 Uhr)
🐧 Linux TippsDebian erlaubt KI-Beiträge ohne Kennzeichnungspflicht(31.08.2026 um 15:43 Uhr)
🕵️ SicherheitslückenWhy Vulnerability Detection Isn’t Enough for the Cyber Resilience Act(01.09.2026 um 18:15 Uhr)
🔧 AI Nachrichten How to Run a Local LLM in 2026: A Practical Guide for Businesses(27.08.2026 um 15:22 Uhr)
⚠️ Malware / Trojaner / VirenMultiple trusted publishing configurations for npm(03.09.2026 um 22:34 Uhr)
🔧 AI Nachrichten GPT-6 Astra is generally available in GitHub Copilot(04.09.2026 um 20:59 Uhr)
🐧 Linux TippsDebian erlaubt KI-Beiträge ohne Kennzeichnungspflicht(31.08.2026 um 15:43 Uhr)
🕵️ SicherheitslückenWhy Vulnerability Detection Isn’t Enough for the Cyber Resilience Act(01.09.2026 um 18:15 Uhr)
🔧 AI Nachrichten How to Run a Local LLM in 2026: A Practical Guide for Businesses(27.08.2026 um 15:22 Uhr)

26 🕛 kürzlich 11 Min Lesezeit
0

Adaptable apps on ChromeOS: a post-mortem

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

In my previous article ). The title bar often labels the current layout (Phone, Tablet, or Resizable) and opens a menu to switch presets; choosing Resizable is what triggers the warning below, not dragging the window frame by itself (in fact, resizing the window by dragging one of the window edges does not work until it is allowed through the dialog). In tablet mode the picture is different: apps commonly launch and stay full screen, which matches how ChromeOS has long treated touch-first use on detachables (, ). Be nice was not locked like that; Tablet and Resizable appeared in the title-bar menu, but the mobile warning still appeared when I chose Resizable on Play installs.



What made debugging miserable was Studio versus Play. Sideloads felt better; store builds did not. , ), not whether the user sees the mobile warning when they switch to Resizable. I later removed the tablet preset while still chasing the same popup, so I had already abandoned my own hypothesis.



Pin static launch bounds. I added <layout> on the launcher (and eventually on other activities) with default width and height in dp; I tried 840×640 first, then larger bounds as the experiment went on. At the same time I still had, or had just had, tablet freeform metadata on the same activity. Documentation warns that static <layout> bounds and FreeformWindowSize can conflict; I ran both anyway. Without success, that is.



Declare Chromebook-friendly hardware. Following a suggestion from Gemini, I marked touchscreen, faketouch, and android.hardware.type.pc as not required, and added <supports-screens> with every size bucket enabled. The touchscreen and PC entries are appropriate for Play on Chromebooks (). I had spent a week tuning manifest knobs for a message the OS shows on purpose when the user chooses Resizable, and for which I have not found an officially documented, bulletproof way out.



The biggest learning was not to underestimate what changes when the app comes from a Play install. Sideloading from Android Studio had led me to think the problem was solved; the store build told a different story. Play distribution, install context, and ChromeOS window presets are part of the behavior you are debugging, and they are not fully visible if you only deploy from the IDE.



Nothing in this effort demonstrated that the “designed for mobile” dialog can be removed from the manifest alone. I continue with a manifest that reflects adaptability on Android in general: resizeableActivity on the application, android.supports_size_changes on the home activity, optional touchscreen / type.pc hardware declarations for desktop-class devices, and size-related configChanges as or ). At my target SDK the default is already true; I keep it explicit anyway.


  • <meta-data android:name="android.supports_size_changes" android:value="true" /> on AppChooserActivity. Same guidance: declare that the activity handles size changes without fighting compatibility mode. I put it on the home activity, not on every screen.


  • android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize" on activities. guidance puts





  • Vollständiger Original-Bericht
    Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
    ↗ Original-Artikel auf dev.to lesen
    Wie bewertest du diesen Beitrag?
    1 Klick Feedback
    Teilen mit Netzwerk & Team:

    Community-Analysen & Experten-Meinungen 0

    Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
    Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
    Community Pulse: Relevanz-Einschätzung
    1 Klick Experten-Votum
    🔴 Akute Relevanz 54%
    🟡 In Evaluierung 22%
    🟢 Keine Auswirkung 12%
    Spannende Innovation 12%
    Verwandte Story-Cluster & Quellen (Vektor-KI)
    Port 8095 Engine
    2 Quellen
    GPT-6 Astra is generally available in GitHub Copilot
    1 Quelle
    Multiple trusted publishing configurations for npm
    1 Quelle
    Building an Infinite Loom: Unravelling Images into Threads with Three.js
    Ähnliche Beiträge
    🔍 Verwandte News

    Auch interessante Nachrichten Adaptable apps on ChromeOS: a post-mortem

    Thematisch verwandte Begriffe: Adaptable, apps, ChromeOS, postmortem · 6 Treffer

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...