Tagged articles
11 articles
Page 1 of 1
Sohu Tech Products
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
Implementing System-Level and In-App Floating Windows on Android and HarmonyOS
Xianyu Technology
Xianyu Technology
Sep 15, 2021 · Mobile Development

Understanding Flutter Gesture System and Conflict Resolution

Flutter determines which widget handles a pointer by converting raw data into PointerEvents, hit‑testing the widget tree, and routing events through a GestureArena where recognizers compete, as illustrated by an image viewer that resolves conflicts between pinch‑zoom and horizontal drag using custom recognizers and boundary‑aware scrolling.

FlutterGestureArenaconflict resolution
0 likes · 8 min read
Understanding Flutter Gesture System and Conflict Resolution
AI Code to Success
AI Code to Success
Apr 25, 2020 · Mobile Development

How Android’s GestureDetector Detects Double‑Tap and Other Gestures

This article explains the inner workings of Android’s GestureDetector class, detailing how it creates listeners, processes MotionEvent actions, schedules handler messages, and determines the timing and conditions for callbacks such as onDown, onShowPress, onSingleTapUp, onScroll, onLongPress, onFling, and double‑tap events.

Mobiledouble-tapgesture
0 likes · 13 min read
How Android’s GestureDetector Detects Double‑Tap and Other Gestures
360 Quality & Efficiency
360 Quality & Efficiency
Mar 20, 2020 · Mobile Development

Using Android Accessibility Service for Black‑Box Automation Testing

This article explains how to set up an Android Accessibility Service to perform black‑box automation testing, outlines its advantages over standard UiAutomator frameworks, details configuration steps, code examples, limitations, and provides guidance on selecting appropriate testing solutions.

AccessibilityServiceAndroidAutomationTesting
0 likes · 12 min read
Using Android Accessibility Service for Black‑Box Automation Testing
Xianyu Technology
Xianyu Technology
Feb 15, 2019 · Mobile Development

Flutter UI Gesture Recording and Replay Technique

The article presents a full system for capturing and replaying Flutter UI gestures, detailing how raw pointer data is processed, how gesture recognizers compete, how recordings wrap callbacks and generate synthetic touch packets, and how a timer‑driven replay reproduces user interactions for debugging.

FlutterTouchEventgesture
0 likes · 13 min read
Flutter UI Gesture Recording and Replay Technique
Meitu Technology
Meitu Technology
May 10, 2018 · Frontend Development

Understanding Mobile Gesture Principles and Their Front-End Implementation

The article explains the mathematical foundations and front‑end implementation of five common mobile gestures—drag, pinch, rotate, single‑finger pinch, and single‑finger rotate—using native touch events, vector calculations, and matrix transformations, and provides a lightweight library that emits incremental gesture events for easy integration.

MobileVectorfrontend
0 likes · 16 min read
Understanding Mobile Gesture Principles and Their Front-End Implementation
Aotu Lab
Aotu Lab
Jul 21, 2017 · Frontend Development

How to Build a 5‑Image Infinite Swiper with Custom Gestures and Dynamic Layout

This article walks through designing and implementing a five‑image Swiper component that supports left‑right swipe gestures, infinite looping, and any number of images, detailing gesture handling, circular‑list data structures, rendering logic, performance optimizations, and edge‑case fixes with complete JavaScript code examples.

Carouselgestureinfinite loop
0 likes · 11 min read
How to Build a 5‑Image Infinite Swiper with Custom Gestures and Dynamic Layout