Tag

MobileDevelopment

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Nov 27, 2024 · Mobile Development

Implementing Particle Snap Effect in Flutter Using Shaders and OverlayPortal

The article shows how to create a Thanos‑style particle snap animation in Flutter by capturing a widget screenshot, inserting an OverlayPortal layer, and applying a custom fragment shader that treats each pixel as a moving, fading particle, with detailed GLSL code and shader loading steps.

FlutterGLSLMobileDevelopment
0 likes · 22 min read
Implementing Particle Snap Effect in Flutter Using Shaders and OverlayPortal
Sohu Tech Products
Sohu Tech Products
May 15, 2024 · Mobile Development

Implementing Grid Drag-and-Drop in Android RecyclerView Using ItemTouchHelper

The article explains how to implement a performant, draggable grid in Android by using RecyclerView with ItemTouchHelper, detailing event interception, view translation via matrix or translation properties, efficient data swapping, custom item decorations for spacing, and handling drawing order for older Android versions.

DragAndDropGridLayoutItemTouchHelper
0 likes · 16 min read
Implementing Grid Drag-and-Drop in Android RecyclerView Using ItemTouchHelper
Sohu Tech Products
Sohu Tech Products
Dec 7, 2022 · Mobile Development

Type‑agnostic RecyclerView Item Visibility Detection for Android

The article explains why reporting item exposure in onBindViewHolder is inaccurate, reviews existing scroll‑listener based solutions and their limitations, and then presents a layout‑manager‑independent Kotlin extension that reliably detects RecyclerView item visibility based on visible area percentage, also covering ViewPager2 page visibility handling.

ExtensionFunctionsKotlinMobileDevelopment
0 likes · 10 min read
Type‑agnostic RecyclerView Item Visibility Detection for Android
JD Retail Technology
JD Retail Technology
Sep 23, 2022 · Mobile Development

Resolving iOS 16.1 Navigation‑Bar Constraint Crash Caused by TitleControl

The article analyzes a crash introduced in iOS 16.1 where hiding and showing the system navigation bar triggers an NSLayoutConstraint activation failure in _UINavigationBarTitleControl, describes reproduction steps, investigates root causes, and presents a reliable fix by forcing layout updates before changing the bar’s hidden state.

ConstraintsMobileDevelopmentNavigationBar
0 likes · 8 min read
Resolving iOS 16.1 Navigation‑Bar Constraint Crash Caused by TitleControl
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Sep 13, 2022 · Mobile Development

React Native Dynamic List Integration in Android RecyclerView

The paper presents a React Native‑based dynamic list solution that embeds an RN container inside Android RecyclerView ViewHolders, using data‑driven rendering and pre‑loaded offline bundles to achieve middle‑to‑upper performance, modest memory use, and sub‑0.01% error rates while preserving native first‑screen speed.

DynamicListMobileDevelopmentReactNative
0 likes · 14 min read
React Native Dynamic List Integration in Android RecyclerView
Xianyu Technology
Xianyu Technology
Jun 1, 2022 · Mobile Development

PowerImage: High‑Performance Flutter Image Library Using FFI and Texture Integration

PowerImage is a stable, high‑performance Flutter image library that combines native FFI and texture integration to eliminate cache conflicts, enable simulator support, provide custom image channels, preload and animate images, unify memory management, reduce Dart code, achieve extensive test coverage, and invite open‑source contributions for future enhancements.

FFIFlutterImageProcessing
0 likes · 12 min read
PowerImage: High‑Performance Flutter Image Library Using FFI and Texture Integration
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 28, 2022 · Mobile Development

Overview of Android Camera2 Image Capture and Face Recognition Pipeline

The article outlines Android’s Camera2‑based 2D face‑recognition image‑capture pipeline, detailing the Camera HAL and v2 API architecture, YUV_420_888 data handling, ImageReader capture and preview workflow, surface handle transmission to the Face framework, and provides reference resources for developers.

Camera2FaceRecognitionImageProcessing
0 likes · 11 min read
Overview of Android Camera2 Image Capture and Face Recognition Pipeline
Snowball Engineer Team
Snowball Engineer Team
Nov 5, 2021 · Mobile Development

Adapting iOS 15 UI Changes: UINavigationBar, UITabBar, UITableView Issues and Solutions

This article reviews common iOS 15 UI adaptation problems—including UINavigationBar/UITabBar appearance, increased UITableView section header height, cell flickering caused by prefetching, and ProMotion refresh rate support—explains their underlying reasons, and provides concrete code solutions for developers using Xcode 13.

MobileDevelopmentNavigationBarUIKit
0 likes · 13 min read
Adapting iOS 15 UI Changes: UINavigationBar, UITabBar, UITableView Issues and Solutions
Liulishuo Tech Team
Liulishuo Tech Team
Sep 30, 2021 · Mobile Development

Investigation and Fix of Audio Playback Stutter on iOS 14.5 Using Audio Queue and AVPlayer

The article details a systematic investigation of intermittent audio playback stutter on iOS 14.5, tracing the issue from AVPlayer playback through Audio Queue recording, analyzing AudioStreamBasicDescription parameters and buffer size inconsistencies, and presenting a code‑level fix that aligns buffer sizes before invoking AudioConverterFillComplexBuffer.

AVPlayerAudioEncodingAudioQueue
0 likes · 12 min read
Investigation and Fix of Audio Playback Stutter on iOS 14.5 Using Audio Queue and AVPlayer
Xianyu Technology
Xianyu Technology
Mar 31, 2021 · Mobile Development

FlutterBoost 3.0: Architecture, Features, and Integration Guide

FlutterBoost 3.0 streamlines hybrid app development by providing a non‑intrusive engine integration that works with any Flutter SDK, halving code size, unifying Android and iOS APIs, allowing optional page containers, delivering precise lifecycle events, and fixing legacy issues, all with a simple dependency setup.

CrossPlatformEngineIntegrationFlutter
0 likes · 9 min read
FlutterBoost 3.0: Architecture, Features, and Integration Guide
Xianyu Technology
Xianyu Technology
Mar 16, 2021 · Mobile Development

Implementing Mixed-Span Waterfall Layout in Flutter

To enable mixed‑span waterfall layouts in Flutter, we built a custom FlowView that mimics RecyclerView’s StaggeredGridLayoutManager, handling normal and full‑width cards by dynamically selecting the shortest or tallest column, recycling off‑screen items, and achieving performance comparable to native GridView, now deployed in Xianyu’s home and search pages.

FlutterMobileDevelopmentUI
0 likes · 17 min read
Implementing Mixed-Span Waterfall Layout in Flutter
360 Tech Engineering
360 Tech Engineering
Jan 15, 2021 · Mobile Development

Android App Keep‑Alive Techniques: Boot Receiver, Account Sync, Foreground Service, and JobScheduler

This guide explains Android keep‑alive strategies—including boot‑completed receivers, account‑sync adapters, JobScheduler jobs, and foreground services—while also covering device‑specific settings for enabling or disabling background execution on manufacturers such as Huawei.

AccountSyncBootReceiverForegroundService
0 likes · 11 min read
Android App Keep‑Alive Techniques: Boot Receiver, Account Sync, Foreground Service, and JobScheduler
Sohu Tech Products
Sohu Tech Products
Dec 24, 2020 · Mobile Development

Async Drawing and Image Download Optimization for UITableView to Achieve Stable 60 fps

This article presents a complete, pod‑free solution for improving UITableView performance on iOS by moving heavy text rendering and image loading to background threads, deduplicating tasks, managing concurrent queues, and caching results, ultimately keeping the UI consistently at 60 fps.

AsyncDrawingMobileDevelopmentUITableView
0 likes · 18 min read
Async Drawing and Image Download Optimization for UITableView to Achieve Stable 60 fps
360 Quality & Efficiency
360 Quality & Efficiency
May 1, 2020 · Mobile Development

Controlling Android Device Volume via AudioManager and ADB Commands

This article explains how to programmatically adjust and query Android device volume using AudioManager APIs, required permissions, and ADB shell commands across different Android versions, providing code examples and command generation logic for both newer (≥8.0) and older devices.

ADBAudioManagerMobileDevelopment
0 likes · 6 min read
Controlling Android Device Volume via AudioManager and ADB Commands
Ctrip Technology
Ctrip Technology
Apr 9, 2020 · Mobile Development

Android 10 Migration Guide: AndroidX, Scoped Storage, Device ID, and Cleartext HTTP Adaptation

This guide details the migration of Android apps to Android 10, covering AndroidX migration, scoped storage adaptation, handling device identifiers, and clearing cleartext HTTP restrictions, with step‑by‑step instructions, code snippets, and best‑practice recommendations for mobile developers.

Android10AndroidXCleartextHTTP
0 likes · 21 min read
Android 10 Migration Guide: AndroidX, Scoped Storage, Device ID, and Cleartext HTTP Adaptation
Sohu Tech Products
Sohu Tech Products
Mar 11, 2020 · Mobile Development

Comprehensive Guide to NSURLSession: Configuration, Tasks, Delegates, Metrics, Uploads, Downloads, and Advanced Usage

This article provides an in-depth overview of NSURLSession on iOS, covering its introduction, configuration options, task types, delegate methods, HTTP/2 support, connection reuse, request redirection, metrics analysis, file upload strategies, background uploads, download handling, breakpoint resumption, and video streaming with m3u8.

FileUploadMobileDevelopmentNSURLSession
0 likes · 32 min read
Comprehensive Guide to NSURLSession: Configuration, Tasks, Delegates, Metrics, Uploads, Downloads, and Advanced Usage
Xianyu Technology
Xianyu Technology
Oct 22, 2019 · Mobile Development

Why Flutter Performance Monitoring Is Needed and SDK Design Overview

To overcome native APM’s inability to monitor Flutter pages, the team created a high‑availability, open‑source Flutter SDK that records smoothness, load time, and exceptions through a four‑layer, publish‑subscribe architecture—API, Recorder, Processor, and Uploader—offering accurate, low‑overhead, extensible performance data for integration and future enhancements.

APMFlutterMobileDevelopment
0 likes · 11 min read
Why Flutter Performance Monitoring Is Needed and SDK Design Overview
58 Tech
58 Tech
Aug 27, 2019 · Mobile Development

Understanding and Practicing Android MediaCodec for Audio/Video Encoding and Decoding

This article explains the fundamentals of Android MediaCodec, its advantages over software codecs, usage patterns, supported MIME types, practical implementations for video editing and live streaming, and presents a performance comparison showing lower CPU and memory consumption.

AudioEncodingMediaCodecMobileDevelopment
0 likes · 10 min read
Understanding and Practicing Android MediaCodec for Audio/Video Encoding and Decoding
Qunar Tech Salon
Qunar Tech Salon
Jan 8, 2019 · Mobile Development

Implementing Animations in Flutter: From Animatable and Tween to a Custom Bezier Curve Motion

This article explains how Flutter renders animations by repeatedly calling setState, describes the roles of Animatable, Animation, Tween, and AnimationController, and provides a complete example of creating a custom BezierTween to achieve a bezier‑curve motion with full source code.

AnimatableAnimationControllerBezierCurve
0 likes · 9 min read
Implementing Animations in Flutter: From Animatable and Tween to a Custom Bezier Curve Motion
Qunar Tech Salon
Qunar Tech Salon
Dec 11, 2018 · Mobile Development

Implementing Multi-Type RecyclerView Adapter with Drag-and-Scale Functionality in Android

This article explains how to use the MultiItem library to create a multi‑type RecyclerView adapter that supports cross‑RecyclerView item dragging, scaling, and custom control interfaces, providing code examples and a step‑by‑step walkthrough for Android developers.

DragAndDropItemTouchHelperMobileDevelopment
0 likes · 7 min read
Implementing Multi-Type RecyclerView Adapter with Drag-and-Scale Functionality in Android