Tagged articles
1817 articles
Page 17 of 19
转转QA
转转QA
May 4, 2017 · Operations

Setting Up a Windows Test Environment with Cygwin for Response Time Measurement

This guide explains how to configure a Windows-based testing environment using Cygwin, install necessary tools, create shortcuts, access Windows drives, and execute shell scripts to record videos, extract frames, compare images, and calculate average response times for Android applications.

AndroidCygwinEnvironment setup
0 likes · 6 min read
Setting Up a Windows Test Environment with Cygwin for Response Time Measurement
Hujiang Technology
Hujiang Technology
May 2, 2017 · Mobile Development

How to Build a Full‑Coverage Android UI Test Platform with Espresso

Despite widespread reliance on manual UI testing, this article details how the author’s team built an Espresso‑based test platform that achieves 80‑90% functional coverage, introduces the ETP design, explains single‑page testing, test flows, and shares practical solutions to common Espresso pitfalls.

AndroidEspressoIdlingResource
0 likes · 16 min read
How to Build a Full‑Coverage Android UI Test Platform with Espresso
Tencent Music Tech Team
Tencent Music Tech Team
Apr 28, 2017 · Mobile Development

Analysis and Implementation of Android APK Signature Scheme v2

The article explains Android’s APK Signature Scheme v2—introduced in Android Studio 2.2—its performance and integrity benefits over v1, details the signing block structure and verification steps, and demonstrates how to embed and retrieve custom channel data within the v2 block while preserving successful verification.

APKAndroidGradle
0 likes · 14 min read
Analysis and Implementation of Android APK Signature Scheme v2
Tencent TDS Service
Tencent TDS Service
Apr 27, 2017 · Mobile Development

How to Shrink Your Android APK Size: Practical Tips and Tools

This guide explains how Android developers can understand APK structure and apply a range of techniques—such as removing unused resources, compressing images, using vector drawables, and optimizing native code—to significantly reduce the size of their application packages and improve download and install performance.

APKAndroidMobile Development
0 likes · 15 min read
How to Shrink Your Android APK Size: Practical Tips and Tools
Tencent TDS Service
Tencent TDS Service
Apr 27, 2017 · Mobile Development

How to Build Fast Multi‑Channel Android APKs Without Re‑Signing

This article explains various multi‑channel packaging methods for Android APKs, compares traditional Gradle productFlavors and ApkTool approaches, and introduces efficient V1‑ and V2‑based channel insertion techniques that avoid rebuilding or re‑signing, while providing integration steps for the ApkChannelPackage plugin.

APKAndroidGradle
0 likes · 24 min read
How to Build Fast Multi‑Channel Android APKs Without Re‑Signing
Liulishuo Tech Team
Liulishuo Tech Team
Apr 22, 2017 · Mobile Development

Design Evolution and Best Practices for Android Audio Recorder in the FluentSpeak App

This article details the evolution of the Android Recorder used in the FluentSpeak app, covering API choices, AudioFocus handling, processing patterns, encountered challenges such as encoder blocking, testing difficulties, and native crashes, and presents solutions like ProcessThread, AudioProcessor abstraction, WavFileRecorder, and ServiceWrapper to improve reliability and extensibility.

AndroidAudioProcessorAudioRecorder
0 likes · 6 min read
Design Evolution and Best Practices for Android Audio Recorder in the FluentSpeak App
360 Quality & Efficiency
360 Quality & Efficiency
Apr 19, 2017 · Mobile Development

Integrating Android Monkey Testing into Jenkins CI

This guide explains how to configure Jenkins to run Android Monkey tests on both emulators and real devices, covering plugin installation, build environment setup, parameterized builds, command-line options, and post-build result publishing for continuous integration of mobile stability testing.

AndroidAutomated TestingCI
0 likes · 7 min read
Integrating Android Monkey Testing into Jenkins CI
Meituan Technology Team
Meituan Technology Team
Apr 14, 2017 · Mobile Development

Analyzing and Solving OutOfMemoryError (OOM) in Meituan Android App

The Meituan Android team traced a surge of OutOfMemoryError crashes to duplicated drawable caches created by the AppCompat vector‑from‑resources flag, reproduced the condition on OPPO N1 devices, used heap‑dump analysis to pinpoint oversized byte‑array allocations, and eliminated the issue by disabling the flag, dramatically cutting OOM incidents.

AndroidMeituanOutOfMemoryError
0 likes · 12 min read
Analyzing and Solving OutOfMemoryError (OOM) in Meituan Android App
Hujiang Technology
Hujiang Technology
Apr 12, 2017 · Mobile Development

Understanding Android Soong Build System and Android.bp File Format

This article explains the Android Soong build system, its JSON‑like Android.bp file format, module definitions, variables, comments, types, operators, default modules, formatting tools, conversion from Android.mk, build logic, and common questions for mobile developers.

AndroidAndroid.bpBuild System
0 likes · 7 min read
Understanding Android Soong Build System and Android.bp File Format
21CTO
21CTO
Apr 11, 2017 · Mobile Development

Essential Android Naming Conventions and Code Style Guide for Teams

This article outlines comprehensive Android naming and code style standards—including file encoding, class and method naming, resource naming, and comment conventions—to help development teams achieve consistent, maintainable code and improve collaboration efficiency.

AndroidMobile Developmentnaming conventions
0 likes · 7 min read
Essential Android Naming Conventions and Code Style Guide for Teams
Meituan Technology Team
Meituan Technology Team
Apr 7, 2017 · Mobile Development

Techniques for Reducing Android APK Size in Meituan App

To shrink Meituan’s Android APK, developers can optimize the ZIP layout, enable ProGuard/R8 dex shrinking, inline R fields, convert images to WebP or VectorDrawable, disable redundant PNG crunching, activate shrinkResources, limit packaged languages, obfuscate resources with tools like AndResGuard, and eliminate duplicate or unused assets.

APK size reductionAndroidProGuard
0 likes · 18 min read
Techniques for Reducing Android APK Size in Meituan App
21CTO
21CTO
Apr 7, 2017 · R&D Management

From Rookie to CTO: My Android Journey, Team Building, and Agile Lessons

The author recounts a three‑year career path from a fresh Android developer in Shanghai to a CTO, sharing interview struggles, project experiences, hiring strategies, agile management insights, and personal growth reflections that can guide aspiring software engineers and tech leaders.

AndroidMobile Developmentagile
0 likes · 12 min read
From Rookie to CTO: My Android Journey, Team Building, and Agile Lessons
Baidu Waimai Technology Team
Baidu Waimai Technology Team
Mar 28, 2017 · Mobile Development

How BANFF Evolved from a Simple Sales App into a Scalable Mobile Platform

This article analyzes the architectural redesign of BANFF, an internal sales mobile app, detailing the challenges of a flat, tightly‑coupled codebase and describing how modularization, technical abstraction, and page‑level refactoring transform it into a maintainable, extensible platform for diverse business roles.

AndroidPlatformizationSoftware Engineering
0 likes · 9 min read
How BANFF Evolved from a Simple Sales App into a Scalable Mobile Platform
Baidu Intelligent Testing
Baidu Intelligent Testing
Mar 23, 2017 · Mobile Development

Improving Map Client Testing Efficiency through Automation and Continuous Integration

This article describes how Baidu Map's client testing workflow was optimized by analyzing time‑consuming tasks, introducing device‑management and automation tools for Android and iOS, establishing a keyword‑driven framework, integrating continuous integration pipelines, and leveraging a user‑experience platform to achieve significant reductions in test execution time and higher test coverage.

Androidautomationcontinuous integration
0 likes · 9 min read
Improving Map Client Testing Efficiency through Automation and Continuous Integration
Qunar Tech Salon
Qunar Tech Salon
Mar 22, 2017 · Mobile Development

Analyzing the Source Code of the Picasso Image Loading Library in Android

This article examines the internal implementation of the Android Picasso image‑loading library, detailing its singleton initialization, request creation, builder pattern usage, caching mechanisms, delayed loading, and the workflow of actions, handlers, and thread execution to illustrate how images are fetched and displayed.

AndroidBuilder PatternImage Loading
0 likes · 8 min read
Analyzing the Source Code of the Picasso Image Loading Library in Android
360 Quality & Efficiency
360 Quality & Efficiency
Mar 21, 2017 · Mobile Development

Image‑Recognition Method for Measuring Mobile Web Page First‑Screen Load Time Using STF and Sikuli

This article presents a low‑cost, high‑precision technique that leverages image‑recognition tools such as STF, Minicap, and Sikuli to automatically measure the first‑screen loading time of mobile web pages and Android APKs, detailing the required environment, setup steps, and execution workflow.

AndroidSTFSikuli
0 likes · 13 min read
Image‑Recognition Method for Measuring Mobile Web Page First‑Screen Load Time Using STF and Sikuli
Hujiang Technology
Hujiang Technology
Mar 20, 2017 · Databases

Cross‑Platform SQLite Development with Free Pascal and CodeTyphon

This tutorial demonstrates how to build a single, reusable SQLite library in Free Pascal using CodeTyphon, covering platform‑specific APIs, export conventions for Android, iOS, PC, and detailed compilation and usage examples across Android, iOS, macOS, Linux, and Windows.

AndroidCodeTyphonFree Pascal
0 likes · 9 min read
Cross‑Platform SQLite Development with Free Pascal and CodeTyphon
Meituan Technology Team
Meituan Technology Team
Mar 17, 2017 · Mobile Development

Automated Patch Generation for the Robust Android Hot‑Update System

The open‑source Robust hot‑update system now includes an automated patch‑generation tool that scans original methods, rewrites field and method accesses to reflective calls, and creates hook classes to overcome ProGuard’s obfuscation, optimization, and inner‑class challenges, cutting patch creation time from a day to minutes.

AndroidHotUpdatePatchAutomation
0 likes · 22 min read
Automated Patch Generation for the Robust Android Hot‑Update System
Tencent Music Tech Team
Tencent Music Tech Team
Mar 17, 2017 · Mobile Development

Introduction to Yoga Layout Engine, Flexbox Basics, and Android Integration

Yoga, Facebook’s cross‑platform C‑based Flexbox layout engine with Java, C#, and Objective‑C bindings, lets developers define UI hierarchies using Flexbox properties, compile it via Buck or import a Gradle module, calculate node positions in Android, and manually apply them to Views, offering cross‑platform consistency but requiring extra integration effort.

AndroidBuckFlexbox
0 likes · 17 min read
Introduction to Yoga Layout Engine, Flexbox Basics, and Android Integration
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 14, 2017 · Mobile Development

How Alibaba’s Atlas Framework Revolutionizes Android App Development

Atlas, Alibaba’s open‑source Android container framework, enables large‑scale team collaboration through componentization, dynamic deployment, and plug‑in isolation, offering parallel development, rapid iteration, and on‑device updates for apps targeting Android 4.x and above.

AndroidComponentizationMobile Development
0 likes · 15 min read
How Alibaba’s Atlas Framework Revolutionizes Android App Development
Weidian Tech Team
Weidian Tech Team
Mar 9, 2017 · Mobile Development

How to Test Android Hotpatches for Seamless, Zero‑Impact Bug Fixes

This article explains the end‑to‑end process of creating, releasing, and testing Android hotpatches—including release workflow, required files, implementation steps, comprehensive testing strategies, user‑transparent deployment, and common pitfalls—to ensure bug fixes reach users without disruption.

AndroidHotPatchpatch deployment
0 likes · 7 min read
How to Test Android Hotpatches for Seamless, Zero‑Impact Bug Fixes
Tencent Cloud Developer
Tencent Cloud Developer
Mar 6, 2017 · Game Development

Understanding Unity Scene and Android Activity Integration and Custom Unity Android Plugins

The article explains that each Unity scene runs inside an Android Activity by embedding a UnityPlayer FrameLayout, details how UnityPlayerActivity and GoogleUnityActivity load scenes, shows how to subclass these activities for custom integration, and outlines essential steps for creating reliable Unity‑Android plugins and handling assets.

ActivityAndroidScene
0 likes · 15 min read
Understanding Unity Scene and Android Activity Integration and Custom Unity Android Plugins
Aotu Lab
Aotu Lab
Mar 3, 2017 · Mobile Development

Building LightOxygen Android v1.0 with React Native: Key Lessons

The article recounts how a team of mostly iOS developers built the LightOxygen Android v1.0 app using React Native, detailing their version planning, feature set, React Native’s strengths and shortcomings, and future roadmap while sharing practical development insights.

AndroidApp ReleaseMobile Development
0 likes · 7 min read
Building LightOxygen Android v1.0 with React Native: Key Lessons
Tencent Music Tech Team
Tencent Music Tech Team
Mar 3, 2017 · Mobile Development

Understanding Android Focus Navigation: The findNextFocus Mechanism

When Android cannot use a specified nextFocusId, it gathers all focusable views via ViewGroup.addFocusables, converts their rectangles to the root’s coordinate space, and through FocusFinder.findNextFocus selects the nearest view in the requested direction, then requests focus, with key‑event handling prioritized before this automatic search.

AndroidFocusNavigationJava
0 likes · 12 min read
Understanding Android Focus Navigation: The findNextFocus Mechanism
Tencent Music Tech Team
Tencent Music Tech Team
Feb 24, 2017 · Mobile Development

Android M Runtime Permission Mechanism and QQ Music Adaptation Experience

Android M introduced a dynamic runtime permission model that separates normal and dangerous permissions, requiring apps like QQ Music to implement runtime checks, adapt startup and feature‑triggered requests, use a permission‑guard shell, and handle OEM‑specific fragmentation issues such as sensor, shortcut, and floating‑window permissions.

AndroidAndroid MMobile Development
0 likes · 12 min read
Android M Runtime Permission Mechanism and QQ Music Adaptation Experience
Tencent TDS Service
Tencent TDS Service
Feb 16, 2017 · Mobile Development

What 2016 Mobile App Quality Data Reveals About Android & iOS Performance

The 2016 Android & iOS Mobile App Quality Report shows a surge in device numbers, highlights higher crash rates for games versus apps, identifies common exceptions like NullPointerException, outlines manufacturer market shares, OS version distribution, and offers actionable insights for developers to improve stability across platforms.

AndroidMobile Developmentapp quality
0 likes · 10 min read
What 2016 Mobile App Quality Data Reveals About Android & iOS Performance
Qunar Tech Salon
Qunar Tech Salon
Feb 13, 2017 · Mobile Development

Understanding Android NestedScrolling Mechanism

After Android 5.0 introduced the NestedScrolling API, this article explains the underlying mechanism, key interfaces such as NestedScrollingChild and Parent, demonstrates a sample CollapsingLayout with NestedScrollView, and walks through the sequence of start, pre‑scroll, scroll, and stop callbacks with code examples.

AndroidCollapsingToolbarCoordinatorLayout
0 likes · 7 min read
Understanding Android NestedScrolling Mechanism
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jan 24, 2017 · Mobile Development

From JavaME to iPhone: Lessons from Renren’s Mobile Platform Evolution

This article traces the four stages of mobile terminal development, compares major smartphone operating platforms, and details Renren's practical experiences in unifying architecture, server design, and cross‑platform mobile development from JavaME browsers to iPhone and Android solutions.

AndroidMobile DevelopmentPlatform Evolution
0 likes · 20 min read
From JavaME to iPhone: Lessons from Renren’s Mobile Platform Evolution
Meituan Technology Team
Meituan Technology Team
Jan 19, 2017 · Mobile Development

Understanding Hardware Acceleration in Android Applications

Hardware acceleration in Android shifts intensive floating‑point UI work from the CPU to the GPU by building DisplayLists on the CPU and rasterizing them on the GPU, allowing parallel processing, selective redraw of unchanged elements, and significantly higher frame rates for animations and complex graphics.

AndroidCPUDisplayList
0 likes · 14 min read
Understanding Hardware Acceleration in Android Applications
Tencent Music Tech Team
Tencent Music Tech Team
Jan 19, 2017 · Mobile Development

Android UI Automation Testing with Espresso Framework

The article introduces Google’s Espresso framework for Android UI automation, explains how to configure Gradle dependencies and the test runner, and guides developers through writing robust test cases by locating views, performing actions, and asserting states with onView().perform().check(), including a complete @Rule‑based example.

AndroidAndroid StudioEspresso
0 likes · 8 min read
Android UI Automation Testing with Espresso Framework
Meituan Technology Team
Meituan Technology Team
Jan 13, 2017 · Mobile Development

Fast Channel Package Generation for Android APK Signature Scheme v2

By exploiting the unprotected portion of Android’s APK Signature Scheme v2 signing block, the article introduces a fast, secure channel‑package generation technique—implemented in the open‑source Walle tool—that embeds custom IDs without re‑signing, enabling thousands of channels to be added in milliseconds per APK.

APK Signature Scheme v2APK signingAndroid
0 likes · 13 min read
Fast Channel Package Generation for Android APK Signature Scheme v2
Aotu Lab
Aotu Lab
Jan 13, 2017 · Mobile Development

How to Achieve Consistent Fullscreen Video Playback on iOS and Android

This article explains how to implement uniform fullscreen video playback on mobile browsers, covering iOS inline playback with the playsinline attribute, Android TBS engine tricks using x5-video-player-type and x5-video-player-fullscreen, handling events, centering videos, and provides code samples and compatibility tables.

AndroidHTML5 videoTBS
0 likes · 7 min read
How to Achieve Consistent Fullscreen Video Playback on iOS and Android
Qunar Tech Salon
Qunar Tech Salon
Jan 9, 2017 · Mobile Development

Understanding Groovy DSL Parsing in Android Gradle Build Scripts

This article explains how Groovy parses Android-specific DSL in Gradle build files, covering DSL benefits, command chains, operator overloading, delegate mechanisms, and step‑by‑step execution of buildscript, repositories, dependencies, and tasks to help developers customize their Android build process.

AndroidDSLGradle
0 likes · 9 min read
Understanding Groovy DSL Parsing in Android Gradle Build Scripts
Tencent TDS Service
Tencent TDS Service
Jan 5, 2017 · Mobile Development

Mastering RecyclerView: From Basics to Advanced Features

This article provides a comprehensive guide to Android's RecyclerView, covering its core concepts, differences from ListView, standard implementation steps, custom adapters, item decorations, layout managers, animators, header/footer integration, empty views, drag-and-swipe handling, nested scrolling, and performance optimizations, with code examples and diagrams.

AdapterAndroidItemDecoration
0 likes · 23 min read
Mastering RecyclerView: From Basics to Advanced Features
Hujiang Technology
Hujiang Technology
Jan 4, 2017 · Information Security

Understanding Android Core Cracking: Principles, Timing, and Implementation

The article explains what Android core cracking is, its effects on app downgrade, overlay installation, and unsigned installs, discusses the optimal timing during Zygote initialization, outlines the modification of PackageManagerService methods, and notes that core cracking may fail after Android version updates.

AndroidCore CrackingRooting
0 likes · 6 min read
Understanding Android Core Cracking: Principles, Timing, and Implementation
Baidu Intelligent Testing
Baidu Intelligent Testing
Jan 4, 2017 · Mobile Development

Android Performance Testing: Power Consumption, Network Traffic, and Weak‑Network Simulation

This article explains how to measure and analyze Android app performance issues such as excessive battery drain, high network traffic, and UI jank by using tools like tcpdump, Wireshark, Android’s TCP statistics, and weak‑network simulators such as clumsy, providing step‑by‑step commands and configuration tips.

AndroidNetwork TrafficProfiling
0 likes · 11 min read
Android Performance Testing: Power Consumption, Network Traffic, and Weak‑Network Simulation
Qunar Tech Salon
Qunar Tech Salon
Jan 4, 2017 · Mobile Development

Qunar Cloud Testing Platform for Android: Background, Features, Architecture, Integration, and Future Plans

The article introduces Qunar’s Android cloud testing platform, explaining the challenges of device compatibility, detailing custom Monkey and automated test case features, describing device management, presenting usage data, outlining client‑server architecture, integration steps, and future expansion plans such as iOS support and high‑end device rental.

AndroidCustom MonkeyMobile Development
0 likes · 3 min read
Qunar Cloud Testing Platform for Android: Background, Features, Architecture, Integration, and Future Plans
Qunar Tech Salon
Qunar Tech Salon
Dec 28, 2016 · Mobile Development

Comprehensive Guide to Mobile App Performance Testing and the ETest Tool

This article outlines mobile performance testing methods—including startup time, page response time, basic metrics, Monkey testing, and image‑recognition techniques—reviews third‑party tools, and introduces the in‑house ETest solution with its features and future development plans.

AndroidETestMetrics
0 likes · 9 min read
Comprehensive Guide to Mobile App Performance Testing and the ETest Tool
Meituan Technology Team
Meituan Technology Team
Dec 19, 2016 · Mobile Development

Hertz: A Mobile App Performance Monitoring Solution

Hertz, Meituan Waimai’s mobile‑app performance monitoring framework, automatically detects development anomalies, generates test reports, and streams production metrics—such as FPS, CPU, memory, UI jank, page‑load time, and network traffic—using platform‑specific instrumentation and configurable modes to pinpoint and resolve performance bottlenecks across the app lifecycle.

AndroidApp MonitoringHertz
0 likes · 21 min read
Hertz: A Mobile App Performance Monitoring Solution
Baidu Intelligent Testing
Baidu Intelligent Testing
Dec 15, 2016 · Mobile Development

Measuring Android App Startup Time: ADB Commands, Screen Recording, and Code Instrumentation

Android applications often suffer from high battery drain, slow launches, and UI lag, so this article explains three practical methods—using ADB commands, screenrecord video analysis, and code instrumentation—to measure and analyze app startup time, with detailed steps, interpretation of timing metrics, and visual examples.

ADBAndroidInstrumentation
0 likes · 7 min read
Measuring Android App Startup Time: ADB Commands, Screen Recording, and Code Instrumentation
Qunar Tech Salon
Qunar Tech Salon
Dec 14, 2016 · Mobile Development

Cross‑Platform ListView Performance Optimization in React Native and Weex

This talk explains how Qunar’s engineering team analyzed the performance bottlenecks of React Native’s ListView, compared it with native UITableView and Weex implementations, and proposed JavaScript‑based reuse logic and native bridge solutions to improve scrolling efficiency across iOS and Android.

AndroidCross‑PlatformListView
0 likes · 18 min read
Cross‑Platform ListView Performance Optimization in React Native and Weex
Qunar Tech Salon
Qunar Tech Salon
Dec 9, 2016 · Mobile Development

Understanding and Tackling Memory Leaks in Android Applications

This article explains what memory leaks are on Android, outlines their common sources, introduces various detection tools such as Lint, StrictMode, LeakCanary, Android Memory Monitor, MAT and adb commands, and provides practical strategies for locating and fixing leaks in mobile apps.

AndroidDebuggingMobile Development
0 likes · 9 min read
Understanding and Tackling Memory Leaks in Android Applications
High Availability Architecture
High Availability Architecture
Dec 7, 2016 · Mobile Development

Optimizing Mobile Image Uploads: The “Fish Fin” Adaptive Transfer Case Study

This article presents a detailed case study of the “Fish Fin” adaptive file‑transfer algorithm developed by Tencent’s Mobile Quality Center to dramatically improve image‑upload speed, success rate, and traffic efficiency on Android and iOS apps across varying mobile network conditions.

AndroidMobile Optimizationadaptive transfer
0 likes · 32 min read
Optimizing Mobile Image Uploads: The “Fish Fin” Adaptive Transfer Case Study
Tencent TDS Service
Tencent TDS Service
Nov 24, 2016 · Mobile Development

Boost Android Cold Start: Lessons from Redex and Interdex Optimization

After Facebook open‑sourced Redex, we explored its many optimizations and pitfalls, focusing on Interdex to reorder classes in the main dex, uncovering how class pre‑verification and hot‑patch instrumentation affect cold‑start performance, and sharing practical insights and remaining challenges for Android apps.

AndroidDEXInterdex
0 likes · 15 min read
Boost Android Cold Start: Lessons from Redex and Interdex Optimization
Tencent TDS Service
Tencent TDS Service
Nov 17, 2016 · Mobile Development

Master Android ImageView: src, background, alpha, foreground & scaleType

This article provides a comprehensive, source‑code‑driven guide to correctly using Android ImageView's src, background, transparency methods, foreground handling, adjustViewBounds, and scaleType attributes, helping developers avoid common pitfalls and achieve the desired visual effects.

AlphaAndroidBackground
0 likes · 11 min read
Master Android ImageView: src, background, alpha, foreground & scaleType
Meituan Technology Team
Meituan Technology Team
Nov 11, 2016 · Mobile Development

Understanding and Building an Android MVVM Application Framework

The article clarifies that Android MVVM is an architectural pattern distinct from Google’s DataBinding tool, contrasts MVC and MVP shortcomings, outlines MVVM’s View, Model, and ViewModel layers with detailed responsibilities and sample RxJava/Retrofit code, and recommends using a global Messenger for decoupled ViewModel communication to achieve low‑coupling, testable, data‑driven UI development.

AndroidDataBindingKotlin
0 likes · 23 min read
Understanding and Building an Android MVVM Application Framework
Ctrip Technology
Ctrip Technology
Nov 9, 2016 · Mobile Development

Applying React Native in Ctrip Train Ticket Product: Practices, Challenges, and Solutions

This article shares Ctrip's experience of adopting React Native for its train ticket business, covering why RN was chosen, its current state, the Ctrip RN framework, practical implementation details, encountered pitfalls, and various optimization techniques to achieve near‑native performance and rapid iteration.

AndroidCtripMobile Development
0 likes · 12 min read
Applying React Native in Ctrip Train Ticket Product: Practices, Challenges, and Solutions
Baidu Intelligent Testing
Baidu Intelligent Testing
Nov 1, 2016 · Mobile Development

Android Mobile App Build Process: Ant and Gradle Compilation Methods

This article provides a comprehensive guide to Android app compilation, detailing the step‑by‑step build process, the use of Ant and Gradle tools, configuration of build.xml and build.gradle files, and essential settings such as obfuscation, signing, multidex, and code coverage to streamline CI pipelines.

AndroidAntBuild Automation
0 likes · 17 min read
Android Mobile App Build Process: Ant and Gradle Compilation Methods
Tencent Music Tech Team
Tencent Music Tech Team
Oct 24, 2016 · Mobile Development

Implementing Wired Controls and Lock‑Screen Metadata Display in Android

The article details how Android music apps implement wired headset controls and lock‑screen metadata—using AudioManager and RemoteControlClient for pre‑5.0 devices and MediaSession/MediaSessionCompat for newer versions—while covering focus contention, custom lock‑screen handling, MIUI lyric integration, and other common pitfalls.

AndroidAudioManagerLockScreen
0 likes · 14 min read
Implementing Wired Controls and Lock‑Screen Metadata Display in Android
Baidu Intelligent Testing
Baidu Intelligent Testing
Oct 21, 2016 · Mobile Development

Baidu Mobile SDKs Overview: Statistics, Map, and Voice Integration Guide

This article provides a comprehensive guide to Baidu's mobile SDKs—including Statistics, Map (location), and Voice—detailing their features, platform-specific integration steps for Android and iOS, and sample code snippets for developers to implement analytics, precise positioning, and speech recognition in their apps.

AndroidBaiduiOS
0 likes · 9 min read
Baidu Mobile SDKs Overview: Statistics, Map, and Voice Integration Guide
Tencent Music Tech Team
Tencent Music Tech Team
Oct 14, 2016 · Mobile Development

Understanding ButterKnife: Dependency Injection in Android with JavaPoet and Annotation Processing

ButterKnife is a compile‑time, annotation‑based dependency injection library for Android that uses JavaPoet‑generated helper classes to replace repetitive findViewById calls, offering faster development and runtime performance while adding a modest number of auxiliary classes and a one‑time reflection cost.

AndroidAnnotation ProcessingButterKnife
0 likes · 20 min read
Understanding ButterKnife: Dependency Injection in Android with JavaPoet and Annotation Processing
Baidu Intelligent Testing
Baidu Intelligent Testing
Sep 28, 2016 · Mobile Development

Security Checklist for Android Component Communication

This article outlines essential security checks for Android components—including Activity, WebView, BroadcastReceiver, Service, and ContentProvider—highlighting common vulnerabilities such as exported components, SSL handling, saved passwords, implicit intents, and unsafe broadcast APIs, and provides practical code examples and mitigation steps.

AndroidBroadcastReceiverComponent
0 likes · 7 min read
Security Checklist for Android Component Communication
WeChat Client Technology Team
WeChat Client Technology Team
Sep 24, 2016 · Mobile Development

How We Built Tinker: Android Hot‑Patch Framework for High‑Availability Apps

This article recounts WeChat’s two‑year journey developing the open‑source Tinker hot‑patch framework for Android, detailing the challenges of native vs Java approaches, performance‑critical DexDiff algorithms, platform‑specific issues on Dalvik, ART, and Android N, and the solutions that achieved a high‑availability, low‑overhead patch system.

AndroidMobile DevelopmentTinker
0 likes · 16 min read
How We Built Tinker: Android Hot‑Patch Framework for High‑Availability Apps
Tencent TDS Service
Tencent TDS Service
Sep 22, 2016 · Mobile Development

Master Android Unit Testing: Why It Matters and How to Do It

This article explains the importance of unit testing in Android development, outlines why developers should invest time in it, and provides a step‑by‑step guide on writing effective Android unit tests using JUnit, Mockito, Dagger2, and Robolectric, along with practical tips, CI integration, and common pitfalls.

AndroidCIDagger2
0 likes · 23 min read
Master Android Unit Testing: Why It Matters and How to Do It
Baidu Intelligent Testing
Baidu Intelligent Testing
Sep 22, 2016 · Mobile Development

Automated Testing and Monitoring Solution for Baidu Nuomi O2O Mobile Component Framework

This article presents a comprehensive automated testing and proactive monitoring solution for Baidu Nuomi's O2O mobile component framework, detailing component‑level UI element identification, schema‑based entry shortcuts, wireless Android test apps, daily case execution, and a JavaScript‑driven monitoring engine that captures UI, request and exception anomalies across iOS and Android.

AndroidUI testingautomation
0 likes · 12 min read
Automated Testing and Monitoring Solution for Baidu Nuomi O2O Mobile Component Framework
Tencent Music Tech Team
Tencent Music Tech Team
Sep 22, 2016 · Mobile Development

Understanding Android Data Binding Framework and Its Mechanisms

Android’s Data Binding framework links code and XML UI elements through compile‑time generated binding classes, supporting one‑ and two‑way bindings, reducing boiler‑plate, improving performance via a single view‑hierarchy traversal, offering expressive layout expressions, event binding, observable data models, dirty‑flag rebinds, and built‑in null safety.

AndroidMobile DevelopmentTwo‑Way Binding
0 likes · 19 min read
Understanding Android Data Binding Framework and Its Mechanisms
Baidu Intelligent Testing
Baidu Intelligent Testing
Sep 20, 2016 · Mobile Development

Analysis of Android Power Consumption Source Code and Measurement Methods

The article examines Android power consumption by analyzing the BatteryStatsHelper source code, explains how CPU, wakelock, Wi‑Fi, mobile data and sensor usage contribute to energy drain, and demonstrates practical measurement techniques using adb commands, dumpsys batterystats, and third‑party tools such as PowerTutor and BetterBatteryStats.

ADBAndroidBatteryStats
0 likes · 9 min read
Analysis of Android Power Consumption Source Code and Measurement Methods
360 Quality & Efficiency
360 Quality & Efficiency
Sep 18, 2016 · Mobile Development

Performance Testing Metrics and Sampling Strategy for Android Apps

The article outlines a comprehensive set of Android app performance metrics, device coverage, a non‑root sampling strategy using dumpsys commands, shell‑based data collection, and Python‑driven HTML reporting, providing practical guidance and reference implementations for mobile developers.

AndroidPerformance TestingSampling
0 likes · 4 min read
Performance Testing Metrics and Sampling Strategy for Android Apps
360 Quality & Efficiency
360 Quality & Efficiency
Sep 14, 2016 · Mobile Development

Android FPS Measurement and Optimization: Methods, Tools, and Best Practices

This article explains how to quantify Android app frame rates, understand FPS concepts, calculate frame timing, and apply three practical methods—including GPU rendering profiling, adb gfxinfo, and SurfaceFlinger latency commands—to monitor and improve smoothness across multiple devices without rooting or API restrictions.

AndroidGPUMobile Development
0 likes · 9 min read
Android FPS Measurement and Optimization: Methods, Tools, and Best Practices
Qunar Tech Salon
Qunar Tech Salon
Sep 12, 2016 · Mobile Development

Understanding Dagger2 Dependency Injection in Android with Practical Code Examples

This article explains the concepts and practical usage of Dagger2 for compile‑time dependency injection in Android, illustrating why hard‑coded object creation is problematic, how constructor, setter, and interface injection solve these issues, and providing step‑by‑step code samples for modules, components, scopes, and qualifiers.

AndroidDagger2Java
0 likes · 19 min read
Understanding Dagger2 Dependency Injection in Android with Practical Code Examples
转转QA
转转QA
Sep 11, 2016 · Mobile Development

Comprehensive Guide to Mobile App Performance Testing: Methods, Metrics, and Tools

This article presents a detailed overview of mobile app performance testing, covering the importance of performance metrics for video applications, the prioritized dimensions such as smoothness, crash, memory and power consumption, and practical methods and tools for acquiring Android and iOS system metrics.

AndroidMetricsiOS
0 likes · 10 min read
Comprehensive Guide to Mobile App Performance Testing: Methods, Metrics, and Tools
Baidu Intelligent Testing
Baidu Intelligent Testing
Sep 2, 2016 · Mobile Development

Mobile Performance Testing Methods for Baidu Video App

This article outlines comprehensive mobile performance testing practices for Baidu Video, covering background, key performance dimensions such as smoothness, crash, memory, power, CPU, and network, and detailing metric collection methods on Android and iOS using command‑line tools, Xcode Instruments, and third‑party utilities.

AndroidCPUMemory
0 likes · 12 min read
Mobile Performance Testing Methods for Baidu Video App
Tencent TDS Service
Tencent TDS Service
Sep 1, 2016 · Mobile Development

Master MVP with RxJava: Build Decoupled Android Apps Quickly

This article explains how to combine MVP architecture with RxJava in Android development, covering framework selection, step‑by‑step MVP construction, thread management using RxJava, and practical Q&A on testing, modularization, and memory‑leak prevention, providing a comprehensive guide for building decoupled, responsive mobile apps.

AndroidMVPRxJava
0 likes · 15 min read
Master MVP with RxJava: Build Decoupled Android Apps Quickly
Qunar Tech Salon
Qunar Tech Salon
Aug 31, 2016 · Mobile Development

Understanding ANR (Application Not Responding) in Android: Triggers, Monitoring Mechanisms, and Prevention Strategies

This article explains what ANR is, outlines its three trigger conditions, describes the system's ANR execution flow, compares FileObserver and WatchDog monitoring techniques, shows how to analyze ANR logs and main‑thread stack traces, and provides practical guidelines to avoid ANR in Android applications.

ANRAndroidFileObserver
0 likes · 9 min read
Understanding ANR (Application Not Responding) in Android: Triggers, Monitoring Mechanisms, and Prevention Strategies
Qunar Tech Salon
Qunar Tech Salon
Aug 30, 2016 · Mobile Development

Implementing an EventBus in Android Using Reflection

This article explains the concept of an EventBus as an observer‑pattern based communication mechanism for Android components, illustrates it with a newspaper subscription analogy, and provides step‑by‑step Java implementation details—including registration, unregistration, and posting of events using reflection—plus integration tips within an Activity lifecycle.

AndroidEventBusMobile Development
0 likes · 6 min read
Implementing an EventBus in Android Using Reflection
360 Quality & Efficiency
360 Quality & Efficiency
Aug 29, 2016 · Information Security

Android Security Testing Guide

This guide explains how to use APKTool to decompile Android apps, inspect the AndroidManifest.xml for exposed components, and employ the Drozer framework to enumerate packages, assess component exposure, detect content provider leaks, SQL injection, file traversal, and service vulnerabilities.

APKToolAndroidDrozer
0 likes · 5 min read
Android Security Testing Guide
Tencent Music Tech Team
Tencent Music Tech Team
Aug 26, 2016 · Mobile Development

Dynamic Android UI: Adding Views Programmatically, Drawable Subclasses, and NinePatch Handling

The article explains how Android developers can build dynamic user interfaces by programmatically creating and adding views, replace XML drawables with Drawable subclasses such as StateListDrawable, GradientDrawable, and LayerDrawable, and generate NinePatchChunk data at runtime to use server‑delivered .9.png images without pre‑processing.

AndroidDrawableJava
0 likes · 16 min read
Dynamic Android UI: Adding Views Programmatically, Drawable Subclasses, and NinePatch Handling
Baidu Intelligent Testing
Baidu Intelligent Testing
Aug 25, 2016 · Mobile Development

Android Stability Testing: SmartMonkey and Customizable Module-Level Monkey Tools

This article explains the importance of stability testing for mobile apps, compares the limitations of the native Android Monkey tool with the system‑level SmartMonkey and a customizable module‑level approach, and provides detailed configuration, usage commands, and environment setup instructions for enhanced UI traversal testing.

AndroidMonkey ToolSmartMonkey
0 likes · 8 min read
Android Stability Testing: SmartMonkey and Customizable Module-Level Monkey Tools
Tencent Music Tech Team
Tencent Music Tech Team
Aug 24, 2016 · Mobile Development

Implementing Dynamic Theme Switching in the LightListen Android Music Player

LightListen adds flexible day/night and brand‑color switching by combining static XML styles and themes for basic modes with a dynamic configuration system—using shared‑preference color storage, view processors, and a traversal controller from the app‑theme‑engine library—to apply colors at runtime with minimal code duplication.

AndroidAppThemeEngineDynamicColor
0 likes · 15 min read
Implementing Dynamic Theme Switching in the LightListen Android Music Player
Baidu Intelligent Testing
Baidu Intelligent Testing
Aug 23, 2016 · Mobile Development

SmartMonkey: Android System‑Level Stability Testing Tool – Introduction, Features, and Usage Guide

This article introduces Baidu's SmartMonkey, an Android system‑level stability testing tool built on Robotium, outlines its key features such as accurate page interaction, configurable critical paths, performance data collection, and provides step‑by‑step instructions for project setup, configuration, test execution, and report analysis.

AndroidPerformance MonitoringRobotium
0 likes · 8 min read
SmartMonkey: Android System‑Level Stability Testing Tool – Introduction, Features, and Usage Guide
Tencent Music Tech Team
Tencent Music Tech Team
Aug 20, 2016 · Mobile Development

Android App Internationalization: Problems and Solutions

Android app internationalization involves extracting hard‑coded strings into language‑specific strings.xml files, using Lint and regex to locate text, annotating resources, formatting placeholders, exporting for translation, updating the Resources configuration at runtime, handling UI refresh via onConfigurationChanged, recreate or activity restart, and adjusting layouts for length, dimensions, and caps to ensure a seamless multilingual experience.

AndroidResource ManagementStrings.xml
0 likes · 13 min read
Android App Internationalization: Problems and Solutions