Sohu Tech Products
Mar 27, 2024 · Mobile Development
Implementing System-Level and In-App Floating Windows on Android and HarmonyOS
The article compares Android’s fragmented system‑level floating‑window permissions and lack of built‑in in‑app support with HarmonyOS’s simpler Application Sub‑Window approach, detailing how to obtain a WindowStage, create and configure a draggable sub‑window, handle gestures, and forward navigation and back‑press events to the main window.
AndroidFloating WindowHarmonyOS
0 likes · 8 min read