Tagged articles

Android

1864 articles · Page 12 of 19
Architect's Tech Stack
Architect's Tech Stack
Aug 2, 2020 · Mobile Development

Guide to Migrating from Java to Kotlin for Android Development

This article outlines Google's Kotlin‑first strategy, practical steps for teams and code to transition from Java to Kotlin in Android projects, including appointing a Kotlin champion, using Android Studio's conversion tool, gradual migration practices, and interoperability considerations.

AndroidKotlinMobile Development
0 likes · 4 min read
Guide to Migrating from Java to Kotlin for Android Development
iQIYI Technical Product Team
iQIYI Technical Product Team
Jul 31, 2020 · Industry Insights

Why iQIYI’s Universal Broadcast Beats Android Nearby Sharing and Other File‑Transfer Apps

The article compares Android's upcoming Nearby Sharing, manufacturer‑specific services like Huawei Share, and third‑party tools, highlighting how iQIYI’s Universal Broadcast offers browser‑based, cross‑platform file transfer that overcomes brand and OS limitations while delivering a smoother user experience.

AndroidHuawei ShareNearby Sharing
0 likes · 7 min read
Why iQIYI’s Universal Broadcast Beats Android Nearby Sharing and Other File‑Transfer Apps
58 Tech
58 Tech
Jul 31, 2020 · Mobile Development

Performance Optimization of React Native Pages in 58 App: Analysis and Solutions

This article analyzes the startup latency of React Native pages in the 58 real‑estate app, identifies bottlenecks such as bundle size, hot‑update and Java‑to‑JS bridge delays, and presents a series of optimization techniques—including bundle splitting, silent updates, on‑demand loading, and stepwise rendering—to achieve faster, more stable page launches.

AndroidBundle SplittingMobile Development
0 likes · 16 min read
Performance Optimization of React Native Pages in 58 App: Analysis and Solutions
Youzan Coder
Youzan Coder
Jul 31, 2020 · Mobile Development

Dynamic Message Card Architecture for Mobile Apps Using Weex

The article describes how Youzan Mobile replaces its native, labor‑intensive message‑card system with a lightweight Weex container embedded in native MVVM tables, enabling hot‑reloaded, dynamic cards that can be added or updated without app releases, dramatically shortening development cycles and improving performance.

AndroidArchitectureDynamic UI
0 likes · 12 min read
Dynamic Message Card Architecture for Mobile Apps Using Weex
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 31, 2020 · Mobile Development

Decoding Android Native Crashes: From Signal Handling to Tombstone Analysis

This article explains how Android native exceptions (NE) are captured, processed, and logged as tombstone files, detailing the signal registration, debuggerd workflow, crash_dump execution, unwinder backtrace generation, and how developers can analyze the resulting data using tools like addr2line.

AndroidMobile DevelopmentNative Crash
0 likes · 11 min read
Decoding Android Native Crashes: From Signal Handling to Tombstone Analysis
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 24, 2020 · Mobile Development

Understanding Android Java Exception Capture and Handling Mechanism

Android captures uncaught Java exceptions using Thread.UncaughtExceptionHandler, first logging details with a system LoggingHandler then terminating the app via KillApplicationHandler, converting the Throwable into an ApplicationErrorReport sent to ActivityManagerService and stored in /data/system/dropbox, while developers can view the same FATAL EXCEPTION stack trace in logcat to diagnose and fix the root cause.

AndroidJavacrash analysis
0 likes · 10 min read
Understanding Android Java Exception Capture and Handling Mechanism
360 Quality & Efficiency
360 Quality & Efficiency
Jul 24, 2020 · Mobile Development

Static Analysis of Android APK Files Using Python and Androguard

This article explains how to perform static analysis of Android APK files with Python, covering environment preparation, unpacking the APK, extracting basic metadata, analyzing classes and methods using the Androguard library, and generating a method call graph for deeper reverse‑engineering insights.

APKAndroguardAndroid
0 likes · 7 min read
Static Analysis of Android APK Files Using Python and Androguard
Youzan Coder
Youzan Coder
Jul 17, 2020 · Mobile Development

How We Halved Mobile Hardware Integration Time with a Modular Device SDK

The article details how the Youzan Retail mobile team re‑architected their hardware SDK—splitting devices into modular AAR packages, introducing layered OEM/Core/Base/Library components, unifying printer protocols with JsCore, and adding IoT monitoring—reducing new device onboarding from days to hours while cutting online issues by up to 55%.

AndroidArchitectureHardware
0 likes · 25 min read
How We Halved Mobile Hardware Integration Time with a Modular Device SDK
Tencent Cloud Developer
Tencent Cloud Developer
Jul 15, 2020 · Mobile Development

Performance Optimization of Web Pages in the QQ Music Android Client

The article details how QQ Music’s Android client reduced WebView page load latency by over 25% through pre‑loading the TBS kernel, pooling WebView instances, parallel request loading, shared asset caching, and precise timing metrics that combine native callbacks with DOM‑interactive timestamps, offering cross‑platform lessons.

AndroidMobile DevelopmentPerformance Optimization
0 likes · 11 min read
Performance Optimization of Web Pages in the QQ Music Android Client
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jul 13, 2020 · Mobile Development

How WYBridge Unifies Bridge APIs Across React Native, Flutter, Weex, and Web

WYBridge provides a unified bridge layer for multiple cross‑platform containers—React Native, Flutter, Weex, and Web—standardizing API definitions, registration, parsing, and invocation across Android and iOS, while offering compatibility solutions for legacy method calls and detailing implementation specifics for each platform.

AndroidFlutterReact Native
0 likes · 24 min read
How WYBridge Unifies Bridge APIs Across React Native, Flutter, Weex, and Web
Youzan Coder
Youzan Coder
Jul 10, 2020 · Mobile Development

Design and Implementation of Youzan's Mobile Hotfix Platform

Youzan's mobile hot‑fix platform automates building, storing, and delivering patch packages via a standardized hot‑fix branch, integrates local verification, supports full, gray, and conditional releases with approval workflow, and provides real‑time statistics and rollback, enabling rapid, low‑risk bug fixes without republishing the entire app.

AndroidCI/CDTinker
0 likes · 16 min read
Design and Implementation of Youzan's Mobile Hotfix Platform
DevOps Cloud Academy
DevOps Cloud Academy
Jul 7, 2020 · Mobile Development

Building and Deploying the HelloWorld Android Gradle Project

This guide demonstrates how to clone the HelloWorld Android Gradle repository, build the project using Gradle, locate the generated debug and release APK files, upload them to Fir for distribution, and verify the installation, providing all necessary commands and output details.

APKAndroidCI/CD
0 likes · 3 min read
Building and Deploying the HelloWorld Android Gradle Project
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 3, 2020 · Mobile Development

From Android to Java: What Really Changes When You Switch Platforms?

This article shares a former Android engineer’s experience moving to Java backend development, comparing the two technology stacks and discussing how dynamic loading, compatibility, memory management, and state handling differ, while offering practical insights for developers considering a similar transition.

AndroidJavasoftware engineering
0 likes · 11 min read
From Android to Java: What Really Changes When You Switch Platforms?
Tencent Music Tech Team
Tencent Music Tech Team
Jul 2, 2020 · Mobile Development

Lottie Animation Principles and Implementation Overview

The article thoroughly examines Lottie animation technology, describing how After Effects projects are converted into JSON, parsed into Objective‑C data models such as LOTComposition and LOTLayer, and rendered on iOS/Android via Core Animation, detailing asset handling, layer hierarchy, frame interpolation, and implementation specifics.

AndroidAnimationCoreAnimation
0 likes · 13 min read
Lottie Animation Principles and Implementation Overview
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jun 24, 2020 · Mobile Development

Android Application Cold Start Process Overview

The article outlines Android’s cold‑start sequence, describing how the system’s zygote, system_server services, and Activity Manager Service allocate resources, fork a new process, create the Application and Activity objects, render the first UI frame, and replace the placeholder window, helping developers diagnose and optimize launch performance.

AndroidApp LaunchPerformance
0 likes · 9 min read
Android Application Cold Start Process Overview
vivo Internet Technology
vivo Internet Technology
Jun 17, 2020 · Mobile Development

Integrating Fingerprint Authentication on Android: APIs, Implementation Steps, and Advanced Usage

Google’s fingerprint API, introduced in Android 6.0, can be integrated via the legacy FingerprintManager or the newer BiometricPrompt, using a wrapper that abstracts version differences, handling permissions, hardware checks, authentication callbacks, and optional reflection to retrieve fingerprint IDs and enrolled fingerprint lists for advanced login scenarios.

APIAndroidBiometric
0 likes · 14 min read
Integrating Fingerprint Authentication on Android: APIs, Implementation Steps, and Advanced Usage
FunTester
FunTester
Jun 12, 2020 · Mobile Development

WeChat OAuth2.0 Mobile Application Login Integration Guide

This guide explains how to integrate WeChat OAuth2.0 login into Android and iOS mobile applications, covering preparation, authorization flow, API calls for access tokens and user info, phone‑number binding, re‑login handling, and test case recommendations.

APIAccess TokenAndroid
0 likes · 12 min read
WeChat OAuth2.0 Mobile Application Login Integration Guide
Ctrip Technology
Ctrip Technology
Jun 11, 2020 · Mobile Development

RTL Localization and Design Guidelines for Trip.com Arabic Site

This article details Trip.com’s comprehensive approach to adapting its mobile applications for Arabic users, covering cultural research, RTL design principles, mirroring rules, icon and typography handling, as well as platform‑specific technical solutions for Android, iOS, and React Native.

AndroidDesignMobile Development
0 likes · 14 min read
RTL Localization and Design Guidelines for Trip.com Arabic Site
58 Tech
58 Tech
Jun 8, 2020 · Mobile Development

Understanding and Applying Facebook’s Redex Bytecode Optimizer for Android APK Size and Startup Time Reduction

This article explains the principles and usage of Facebook’s open‑source Android bytecode optimizer Redex, presents its design, lists the optimization techniques it provides, and shares practical results of applying Redex (including Interdex) to the Anjuke app, highlighting the achieved APK size reduction and startup‑time improvements as well as the integration costs.

APK OptimizationAndroidRedex
0 likes · 8 min read
Understanding and Applying Facebook’s Redex Bytecode Optimizer for Android APK Size and Startup Time Reduction
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 5, 2020 · Mobile Development

How DinamicX Enables Mobile Accessibility for Visually Impaired Users

This article explains how DinamicX provides cross‑platform accessibility support for mobile apps, detailing the definitions of accessibility, the technical solutions for iOS and Android, SDK attributes, code examples, validation gates, and the broader vision of making Taobao usable for visually impaired users.

AndroidDinamicXaccessibility
0 likes · 13 min read
How DinamicX Enables Mobile Accessibility for Visually Impaired Users
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 1, 2020 · Mobile Development

How WYNavigation Unifies RN and Native Navigation Stacks for Seamless Hybrid Apps

This article explains the challenges of mixing React Native and native pages, critiques existing routing solutions, and introduces WYNavigation—a single‑engine, multi‑container framework that aligns RN navigation with native stacks, detailing its concepts, lifecycle handling, routing methods, and implementation code.

AndroidHybrid NavigationMobile Development
0 likes · 10 min read
How WYNavigation Unifies RN and Native Navigation Stacks for Seamless Hybrid Apps
58 Tech
58 Tech
Jun 1, 2020 · Mobile Development

Practice of Client Package Size Detection – Live Session Recap

The 58 client package size detection live series reviewed two open‑source tools—Zucker for Android modular size analysis and a Mach‑O‑based performance suite for iOS—explaining their principles, implementation, and how they enable non‑intrusive monitoring and optimization of app package sizes.

AndroidMach-OPackage Size
0 likes · 3 min read
Practice of Client Package Size Detection – Live Session Recap
NetEase Media Technology Team
NetEase Media Technology Team
May 29, 2020 · Mobile Development

NRTripod: NetEase News App Online Risk Control System Design and Implementation

NRTripod, NetEase News’ online risk‑control platform, safeguards mobile app stability by tackling third‑party SDK hazards, Android fragmentation, sudden incidents, and hidden development flaws through a four‑layer architecture that combines development‑time debugging tools, production‑time dynamic feature‑flag configuration, real‑time crash interception, SDK toggling via NullObject patterns, and static protections such as whitelists, bytecode processing, and manifest analysis.

AndroidApp StabilityCrash Handling
0 likes · 13 min read
NRTripod: NetEase News App Online Risk Control System Design and Implementation
Baidu App Technology
Baidu App Technology
May 29, 2020 · Mobile Development

How MML Simplifies Mobile AI Deployment: Architecture, Tools, and Code Walkthrough

This article explains the background of on‑device AI, introduces the Mobile Machine Learning (MML) framework and its layered architecture, details the core utilities such as model decryption and task scheduling, and provides a step‑by‑step code guide for initializing, preprocessing, inference, post‑processing, and releasing resources on mobile platforms.

AndroidEdge AIMML
0 likes · 9 min read
How MML Simplifies Mobile AI Deployment: Architecture, Tools, and Code Walkthrough
Ctrip Technology
Ctrip Technology
May 28, 2020 · Mobile Development

Intelligent Android Exploration Tool (IAET): UI‑Driven Automated Testing, Algorithms, Implementation, and Evaluation

This article presents IAET, an intelligent Android exploration tool that detects UI elements, applies graph‑based traversal algorithms with similarity optimizations, implements a bridge using UiAutomator and app_process, and demonstrates superior crash‑detection and activity‑coverage performance compared with the APE benchmark across major Chinese apps.

AndroidUI automationexploration
0 likes · 15 min read
Intelligent Android Exploration Tool (IAET): UI‑Driven Automated Testing, Algorithms, Implementation, and Evaluation
JD Retail Technology
JD Retail Technology
May 18, 2020 · Mobile Development

Resolving List Reordering and Top Blank Space Issues in Android StaggeredGridLayoutManager

This article analyzes why StaggeredGridLayoutManager can cause item reordering and blank gaps at the top of a RecyclerView, explains the underlying measurement and layout mechanisms, and presents code‑level solutions such as disabling gap handling, invalidating span assignments, and using notifyItemRangeChanged instead of notifyDataSetChanged.

AndroidLayoutPerformance
0 likes · 11 min read
Resolving List Reordering and Top Blank Space Issues in Android StaggeredGridLayoutManager
360 Quality & Efficiency
360 Quality & Efficiency
May 15, 2020 · Mobile Development

Resolving UIAutomator 1.0 NoClassDefFoundError on Android R Emulator

The article explains why UIAutomator 1.0 scripts fail on the Android R emulator due to a missing android.test.RepetitiveTest class, analyzes the stack trace to locate the error in UiAutomatorTestRunner, and provides a workaround by manually initializing the test framework via app_process.

AndroidAndroid RMobile Development
0 likes · 5 min read
Resolving UIAutomator 1.0 NoClassDefFoundError on Android R Emulator
AI Code to Success
AI Code to Success
May 13, 2020 · Mobile Development

Turn Any Android App Grayscale with a Few Custom Views

This article explains how to apply a full‑screen grayscale effect to Android apps by using a single CSS rule for web pages and custom View subclasses—GrayImageView, GrayTextView, GrayLinearLayout, and GrayFrameLayout—plus an Activity onCreateView override to replace the root content view, complete with code snippets and practical tips.

AndroidAppCompatCanvas
0 likes · 15 min read
Turn Any Android App Grayscale with a Few Custom Views
58 Tech
58 Tech
May 11, 2020 · Mobile Development

Android WebView Loading Optimization for Faster H5 Page Rendering

This article analyzes the default Android WebView loading process, identifies performance bottlenecks, and presents a multi‑stage optimization strategy—including custom caching, pre‑initializing the WebView, offline packages, and code examples—that reduces H5 page load time to under one second in the 58 Business app.

AndroidMobile DevelopmentOptimization
0 likes · 15 min read
Android WebView Loading Optimization for Faster H5 Page Rendering
Youzan Coder
Youzan Coder
May 6, 2020 · Mobile Development

From Direct SDK Integration to AIDL: Evolving Android POS Integration Strategies

This article chronicles the step‑by‑step evolution of Android POS SDK integration at Youzan, from quick‑start direct SDK embedding, through componentized hardware abstraction, to slimmed‑down differential packaging, and finally to a clean AIDL‑based service‑APK architecture that reduces coupling, improves extensibility, and lowers maintenance overhead.

AIDLAndroidArchitecture
0 likes · 14 min read
From Direct SDK Integration to AIDL: Evolving Android POS Integration Strategies
360 Quality & Efficiency
360 Quality & Efficiency
May 1, 2020 · Mobile Development

Understanding and Implementing Dynamic Permissions in Android

This article reviews the evolution of Android permission management, explains the concept of dynamic (runtime) permissions, compares it with iOS practices, and provides step‑by‑step Kotlin/Java code examples for checking, requesting, and handling permission results, along with compatibility considerations across devices and ROMs.

AndroidDynamic PermissionsKotlin
0 likes · 20 min read
Understanding and Implementing Dynamic Permissions in Android
360 Tech Engineering
360 Tech Engineering
Apr 28, 2020 · Mobile Development

Understanding and Implementing Dynamic Permissions in Android

This article explains the concept, history, and implementation of Android dynamic (runtime) permissions, detailing the evolution of permission models, code examples for checking and requesting permissions, handling callbacks, compatibility across Android versions and OEM customizations, and best‑practice strategies for developers.

AndroidDynamic PermissionsKotlin
0 likes · 19 min read
Understanding and Implementing Dynamic Permissions in Android
Programmer DD
Programmer DD
Apr 28, 2020 · Information Security

ProtonMail Opens Android Client Source Code and Publishes Security Audit

ProtonMail has open‑sourced its Android client under GPL‑v3, released the source on GitHub, and announced that all its mail‑access apps have passed independent security audits, with the full audit report published and a bug‑bounty program inviting external researchers.

AndroidProtonMailsecurity audit
0 likes · 3 min read
ProtonMail Opens Android Client Source Code and Publishes Security Audit
Huajiao Technology
Huajiao Technology
Apr 27, 2020 · Mobile Development

Mastering Android Dynamic Permissions: History, Implementation & Best Practices

This article provides a comprehensive overview of Android dynamic (runtime) permissions, tracing their evolution from early Android versions through OEM customizations, and offers step‑by‑step guidance, code samples, and compatibility tips for developers to correctly request and handle dangerous permissions.

AndroidDynamic PermissionsMobile Development
0 likes · 21 min read
Mastering Android Dynamic Permissions: History, Implementation & Best Practices
AI Code to Success
AI Code to Success
Apr 26, 2020 · Mobile Development

Why match_parent ≠ EXACTLY: Unraveling Android MeasureSpec Modes

This article debunks the common belief that match_parent and wrap_content always correspond to MeasureSpec.EXACTLY and MeasureSpec.AT_MOST, explains how a parent view's spec mode and LayoutParams together determine the final MeasureSpec, and shows when UNSPECIFIED actually appears in Android layouts.

AndroidCustomViewLayout
0 likes · 7 min read
Why match_parent ≠ EXACTLY: Unraveling Android MeasureSpec Modes
Programmer DD
Programmer DD
Apr 19, 2020 · Artificial Intelligence

How Gesture Recognition Transforms Mobile Gaming with Real‑Time AI Control

This article presents a gesture‑based human‑computer interaction system that uses Paddle Lite and MobileNet to enable real‑time control of games on Android phones, tablets, and embedded boards, detailing its architecture, data preparation, model training, and on‑device inference.

AndroidHuman-Computer InteractionMobileNet
0 likes · 11 min read
How Gesture Recognition Transforms Mobile Gaming with Real‑Time AI Control
58 Tech
58 Tech
Apr 17, 2020 · Mobile Development

Flutter Integration in Anjuke App Using Magpie Open Source Projects

This article demonstrates how the Magpie open‑source suite can be used to migrate the Anjuke App’s “YouLiao” module to Flutter, covering project setup, hybrid engineering, module integration, UI component reuse, theme management, logging, and exception handling to improve development efficiency and cross‑platform consistency.

AndroidDartFlutter
0 likes · 19 min read
Flutter Integration in Anjuke App Using Magpie Open Source Projects
转转QA
转转QA
Apr 16, 2020 · Mobile Development

Optimizing Android APK Size with Matrix ApkChecker: Features, Usage, and CI Integration

This article explains why reducing Android APK size is crucial for user experience, introduces the Matrix ApkChecker tool with its fourteen analysis tasks, demonstrates command‑line usage and configuration, and shows how to integrate it into a Jenkins CI pipeline for automated reporting and historical trend analysis.

APKAndroidApkChecker
0 likes · 12 min read
Optimizing Android APK Size with Matrix ApkChecker: Features, Usage, and CI Integration
58 Tech
58 Tech
Apr 15, 2020 · Mobile Development

Magpie SDK: Engineering Practices for Flutter Hybrid Development

This article introduces the Magpie SDK, a Flutter plugin that enables hybrid page interaction, describes the engineering challenges of integrating Flutter with native Android and iOS, outlines optimization of build processes, toolchain support, communication design, and provides guidance for contribution and future roadmap.

AndroidFlutterHybrid Development
0 likes · 14 min read
Magpie SDK: Engineering Practices for Flutter Hybrid Development
Baidu App Technology
Baidu App Technology
Apr 9, 2020 · Mobile Development

Understanding Gradle Build System for Android Development

This guide explains why Android projects need an automated build tool, walks through the default Gradle project layout, clarifies modern dependency configurations and conflict resolution, and details the key packaging tasks, enabling developers to diagnose sync problems, manage libraries, and build reliable APKs efficiently.

AndroidGradlePackaging
0 likes · 19 min read
Understanding Gradle Build System for Android Development
58 Tech
58 Tech
Apr 8, 2020 · Mobile Development

Dynamic UI Skinning (Gray‑White Mode) for Mobile Apps: Analysis, Evaluation and Implementation

This article analyses the differences between PC and mobile Internet, evaluates how major Chinese apps adapted their launch, splash and home screens to a gray‑white theme for the Qingming memorial day, and discusses various technical solutions such as theme switching, skin packages, server‑side control and local color manipulation for mobile UI dynamic theming.

AndroidDark ModeMobile UI
0 likes · 18 min read
Dynamic UI Skinning (Gray‑White Mode) for Mobile Apps: Analysis, Evaluation and Implementation
Watermelon Video Tech Team
Watermelon Video Tech Team
Apr 7, 2020 · Mobile Development

Investigation and Fix of Android Native Crash in CookieManager.getCookie Caused by Thread‑Unsafe GURL Initialization

An in‑depth analysis of a long‑standing native crash on Android caused by thread‑unsafe initialization of GURL during CookieManager.getCookie calls, detailing stack traces, investigation steps, source code examination, and a lightweight application‑level synchronization fix that eliminated the issue in production.

AndroidCookieManagerGURL
0 likes · 10 min read
Investigation and Fix of Android Native Crash in CookieManager.getCookie Caused by Thread‑Unsafe GURL Initialization
Youzan Coder
Youzan Coder
Apr 3, 2020 · Mobile Development

How ZanLogger Revolutionizes Mobile App Debugging with High‑Performance Log Management

The article explains the design and implementation of Youzan’s ZanLogger, a mobile logging platform that streamlines issue diagnosis by providing secure, efficient log collection, retrieval, and analysis features—including active and passive reporting, mmap‑based I/O reduction, dynamic symmetric key encryption, and multi‑dimensional storage—while detailing performance benchmarks and future enhancements.

AndroidLog ManagementPerformance
0 likes · 12 min read
How ZanLogger Revolutionizes Mobile App Debugging with High‑Performance Log Management
Didi Tech
Didi Tech
Apr 2, 2020 · Mobile Development

DoKit 3.0 Unveiled: Mobile Debugging, Mock APIs, and Performance Health Checks

DoKit 3.0, the open‑source client development assistant from Didi, introduces a revamped architecture, extensive Android and iOS enhancements, new tools such as interface mock and health testing, a web platform for product management, and detailed integration guides for both platforms.

AndroidDoKitInterface Mock
0 likes · 14 min read
DoKit 3.0 Unveiled: Mobile Debugging, Mock APIs, and Performance Health Checks
AI Code to Success
AI Code to Success
Mar 31, 2020 · Mobile Development

Why onTouch Fires Before onClick: Deep Dive into Android Touch Event Dispatch

This article explains Android's touch event dispatch mechanism, detailing MotionEvent actions, the roles of dispatchTouchEvent, onInterceptTouchEvent, and onTouchEvent, and demonstrates through code why onTouch executes before onClick and how returning true from onTouch consumes the click event.

AndroidTouchEventdispatchTouchEvent
0 likes · 14 min read
Why onTouch Fires Before onClick: Deep Dive into Android Touch Event Dispatch
360 Tech Engineering
360 Tech Engineering
Mar 27, 2020 · Mobile Development

Implementing Black‑Box Automation Testing Using Android Accessibility Service

This article explains how to build an Android Accessibility service to perform black‑box automation testing, compares its advantages and limitations with UiAutomator1.0/2.0, and provides detailed configuration steps and code examples for service setup, event handling, gesture dispatch, and practical testing scenarios.

AccessibilityServiceAndroidaccessibility
0 likes · 12 min read
Implementing Black‑Box Automation Testing Using Android Accessibility Service
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Mar 27, 2020 · Operations

Unlock Faster Android Apps: How Dex2OAT Compiles and Optimizes Your Code

This article explains what Dex2OAT is, why ahead‑of‑time compilation improves Android performance, the related file formats, command‑line usage, log analysis, system configuration, the internal call flow in Android Q, and practical optimization strategies for smoother app experiences.

AOT CompilationAndroidPerformance Optimization
0 likes · 9 min read
Unlock Faster Android Apps: How Dex2OAT Compiles and Optimizes Your Code
Ctrip Technology
Ctrip Technology
Mar 26, 2020 · Mobile Development

Implementing Dark Theme in Trip.com Mobile App: Design, iOS, Android, and React Native Solutions

This article details Trip.com’s comprehensive Dark Theme implementation across iOS, Android, and React Native, covering design principles, color mapping, illustration adjustments, platform‑specific adaptation techniques, code examples, and tooling that together reduced development effort while enhancing user experience and brand image.

AndroidMobile DevelopmentReact Native
0 likes · 17 min read
Implementing Dark Theme in Trip.com Mobile App: Design, iOS, Android, and React Native Solutions
vivo Internet Technology
vivo Internet Technology
Mar 25, 2020 · Mobile Development

Dynamic Multi-language Resource Replacement and WebView Crash Resolution in Android

To prevent translation errors and post‑release crashes in multilingual Android apps, the article describes a dynamic resource‑replacement system that loads external language packs via AssetManager, proxies Resources through reflection, integrates the proxy with ResourcesManager, and updates WebView assets, eliminating garbled text and long‑press crashes.

AndroidDynamic LocalizationHooking
0 likes · 31 min read
Dynamic Multi-language Resource Replacement and WebView Crash Resolution in Android
58 Tech
58 Tech
Mar 23, 2020 · Mobile Development

Dark Mode Adaptation Practices in the 58.com Mobile App

This article details the motivations, design goals, technical solutions for native iOS, React Native and Web pages, handling of large‑scale parallel development, compatibility strategies, performance measurements and future plans of the dark‑mode adaptation implemented in the 58.com mobile application.

AndroidDark ModeMobile UI
0 likes · 20 min read
Dark Mode Adaptation Practices in the 58.com Mobile App
58 Tech
58 Tech
Mar 20, 2020 · Mobile Development

Zucker: An Open‑Source Android APK Module Size Analysis Tool

Zucker is an open‑source Android utility that automatically analyzes APK module sizes by cloning projects, calculating unique AAR dependencies, simulating target AARs, and providing detailed reports to help developers reduce app bloat early in the development cycle.

AARAPK analysisAndroid
0 likes · 11 min read
Zucker: An Open‑Source Android APK Module Size Analysis Tool
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
Ctrip Technology
Ctrip Technology
Mar 19, 2020 · Mobile Development

Ctrip Hotel Android Map Development: Architecture, Challenges, and Solutions

This article details the design and implementation of Ctrip's hotel Android map features, covering business background, module architecture, coordinate system handling, multithreading challenges, and practical solutions such as MVP, AsyncTask, and atomic flags to ensure smooth user experience.

AndroidArchitectureKotlin
0 likes · 10 min read
Ctrip Hotel Android Map Development: Architecture, Challenges, and Solutions
FunTester
FunTester
Mar 14, 2020 · Mobile Development

WeChat OAuth2.0 Mobile Login Integration Guide

This guide explains how to integrate WeChat OAuth2.0 login into Android and iOS mobile applications, covering preparation, the authorization code flow, token exchange, user‑info retrieval, phone‑number binding, repeated login handling, and comprehensive test cases.

APIAccess TokenAndroid
0 likes · 11 min read
WeChat OAuth2.0 Mobile Login Integration Guide
360 Quality & Efficiency
360 Quality & Efficiency
Mar 10, 2020 · Mobile Development

Android Monkey Command-Line Tool: Syntax, Parameters, and Usage

The article explains Android's Monkey tool—a command‑line utility for emulator or device testing—detailing its basic syntax, the five categories of options, specific parameters for configuration, event types, constraints, debugging, hidden settings, and how to capture logs.

AndroidMobile DevelopmentMonkey
0 likes · 5 min read
Android Monkey Command-Line Tool: Syntax, Parameters, and Usage
58 Tech
58 Tech
Mar 9, 2020 · Mobile Development

In‑Depth Overview of Android Binder IPC Mechanism

This article provides a comprehensive introduction to Android's Binder inter‑process communication mechanism, covering its background, design principles, performance, stability and security advantages over traditional IPC, detailed Linux IPC concepts, the Binder driver architecture, proxy pattern, and hands‑on code examples for manual implementation.

AIDLAndroidBinder
0 likes · 24 min read
In‑Depth Overview of Android Binder IPC Mechanism
Baidu App Technology
Baidu App Technology
Mar 9, 2020 · Mobile Development

Choosing the Best Android Process‑Start Timestamp for Cold‑Start Optimization

The article examines Android cold‑start performance by comparing three process‑creation timestamps—Application <init>, Process.getStartElapsedRealTime, and /proc/self/stat starttime—detailing their origins, extraction methods, conversion formulas, and practical guidance on which to use for accurate startup measurement.

AndroidPerformance OptimizationProcess Timing
0 likes · 11 min read
Choosing the Best Android Process‑Start Timestamp for Cold‑Start Optimization
Youzan Coder
Youzan Coder
Mar 4, 2020 · Mobile Development

Unified Online Store Product SDK: Architecture, Modularization, and Mobile Gateway Integration

The unified online‑store product SDK consolidates Retail and Micro‑Mall modules into a reusable, Bifrost‑mediated component that accesses host‑app data via a defined interface, adopts standardized UI elements, routes through a mobile‑gateway backend, and thus eliminates duplication, streamlines maintenance, and accelerates feature delivery across Youzan’s SaaS platforms.

AndroidSDKe-commerce
0 likes · 14 min read
Unified Online Store Product SDK: Architecture, Modularization, and Mobile Gateway Integration
360 Tech Engineering
360 Tech Engineering
Mar 3, 2020 · Mobile Development

Implementing UI Automation Testing for Mobile Apps with Appium and Cucumber

This article explains why UI automation testing is essential for complex mobile apps, why Appium is chosen, how to organize test cases with Cucumber, implement custom steps, locate elements using various strategies, handle common exceptions, and outlines the overall workflow and improvement suggestions.

AndroidAppiumCucumber
0 likes · 14 min read
Implementing UI Automation Testing for Mobile Apps with Appium and Cucumber
Baidu App Technology
Baidu App Technology
Mar 2, 2020 · Mobile Development

TextView Line Spacing Screen Adaptation Solution for Android

To solve Android’s screen‑fragmentation‑induced TextView line‑spacing inconsistencies, Baidu’s team analyzed the default line‑height calculation, then created a custom LineHeightSpan (ExcludeInnerLineSpaceSpan) applied through a subclassed ETextView to enforce visual‑defined line height, delivering a simple, low‑intrusion, cross‑resolution fix.

AndroidLine SpacingLineHeightSpan
0 likes · 12 min read
TextView Line Spacing Screen Adaptation Solution for Android
58 Tech
58 Tech
Feb 12, 2020 · Mobile Development

React Native Integration in 58 Car Dealer App: Architecture, Development Process, and Hot‑Update Strategy

This article presents a comprehensive case study of integrating React Native into the 58 Car Dealer mobile application, covering background, module selection, communication mechanisms, UI development, server design, hot‑update workflow, packaging, debugging, pitfalls, and future optimization directions.

AndroidArchitectureMobile Development
0 likes · 20 min read
React Native Integration in 58 Car Dealer App: Architecture, Development Process, and Hot‑Update Strategy
Baidu App Technology
Baidu App Technology
Feb 12, 2020 · Mobile Development

Mastering Android Scoped Storage: Migration Strategies and Compatibility Modes

This article explains Android's Scoped Storage changes introduced in Android 10, outlines the new private and shared directory model, details compatibility mode settings, and provides step‑by‑step migration guidance using MediaStore API, Storage Access Framework, and real‑world Baidu app implementation examples.

AndroidCompatibility ModeFile Migration
0 likes · 11 min read
Mastering Android Scoped Storage: Migration Strategies and Compatibility Modes
Youzan Coder
Youzan Coder
Feb 7, 2020 · Mobile Development

Modular Architecture and Inter‑Module Communication in Android Development

Modular Android projects isolate business logic into independent modules, improving structure, collaboration, and maintenance, while inter‑module communication can use direct dependencies, EventBus/broadcasts, routing frameworks like ARouter, or interface‑based services, with the latter offering low coupling, high readability, and flexible, performant interactions.

Androidinter-module communicationinterface programming
0 likes · 11 min read
Modular Architecture and Inter‑Module Communication in Android Development
Huajiao Technology
Huajiao Technology
Feb 4, 2020 · Mobile Development

How to Build Reliable Android Automated Tests: From Unit to UI

This article explains why Android testing is crucial, outlines common testability problems, and provides step‑by‑step solutions using MVP architecture, interface‑based design, JUnit, Mockito, Robolectric, Espresso, and CI integration to create maintainable unit and UI tests.

AndroidCIEspresso
0 likes · 12 min read
How to Build Reliable Android Automated Tests: From Unit to UI
AI Code to Success
AI Code to Success
Feb 1, 2020 · Mobile Development

Unlocking Android RemoteViews: Build and Control Widgets & Notifications

This article explains what RemoteViews are, their use cases in notification bars and home‑screen widgets, provides step‑by‑step code for both scenarios, details PendingIntent handling, and dives deep into the internal cross‑process mechanisms that power RemoteViews updates.

AndroidJavaNotifications
0 likes · 17 min read
Unlocking Android RemoteViews: Build and Control Widgets & Notifications
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 17, 2020 · Mobile Development

Understanding Android Binder IPC: Service Manager Startup, Client Registration, and Core Data Structures

The article explains Android’s Binder IPC mechanism, detailing how the Service Manager starts during boot, how client processes locate and register services via binder_proc, binder_thread, and binder_node structures, and describing the kernel’s transaction handling, memory mapping, and allocator data structures that enable efficient inter‑process communication.

AndroidBinderIPC
0 likes · 18 min read
Understanding Android Binder IPC: Service Manager Startup, Client Registration, and Core Data Structures
58 Tech
58 Tech
Jan 15, 2020 · Artificial Intelligence

Mobile AI Vehicle and VIN Recognition: From TensorFlow to TensorFlow Lite Deployment on Android and iOS

This article details how the 58 Used‑Car mobile team built, trained, and optimized TensorFlow‑based object‑detection models for on‑device vehicle and VIN code recognition, covering data preparation, model conversion to TF‑Lite, performance improvements, engineering integration on Android/iOS, and real‑world deployment results.

AndroidObject DetectionTensorFlow
0 likes · 14 min read
Mobile AI Vehicle and VIN Recognition: From TensorFlow to TensorFlow Lite Deployment on Android and iOS