Tagged articles

Android

1846 articles · Page 17 of 19
WeChat Client Technology Team
WeChat Client Technology Team
Jun 27, 2017 · Mobile Development

Unlock WCDB Android: Encryption, Migration, FTS, and Performance Tips

This article explains how WCDB for Android simplifies encryption with SQLiteCipherSpec, enables seamless data migration, provides a custom FTS3/4 tokenizer with dynamic ICU loading, and offers log redirection and performance monitoring tools, plus an optimized cursor implementation for high‑performance mobile apps.

AndroidDatabaseEncryption
0 likes · 8 min read
Unlock WCDB Android: Encryption, Migration, FTS, and Performance Tips
Baidu Intelligent Testing
Baidu Intelligent Testing
Jun 23, 2017 · Mobile Development

Android Network Traffic Measurement Methods and Tools

This article explains various Android network traffic measurement techniques, including reading Linux proc files, using the TrafficStats and NetworkStatsManager APIs, and built‑in monitoring tools, while discussing their advantages, limitations, and practical code examples for accurate per‑app data usage analysis.

AndroidNetwork TrafficNetworkStatsManager
0 likes · 11 min read
Android Network Traffic Measurement Methods and Tools
Hujiang Technology
Hujiang Technology
Jun 22, 2017 · Mobile Development

Implementing Rich Text Rendering on Android with HtmlSpanner

This article explains how to render rich, styled text in an Android OCS player by evaluating open‑source libraries, selecting HtmlSpanner, and detailing HTML tag support, CSS parsing, multi‑font handling, custom font loading, common pitfalls, and future improvement ideas.

AndroidCSS ParsingFont Subsetting
0 likes · 13 min read
Implementing Rich Text Rendering on Android with HtmlSpanner
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 18, 2017 · Mobile Development

Inside Alibaba’s Android Salon: Atlas Framework, Android O Insights & Future Trends

On June 17 in Hangzhou, Alibaba partnered with Huawei and the Android Green Alliance to host an Android developer salon where experts presented the Atlas containerization framework, discussed Android O features, Kotlin adoption, AR/VR and AI impacts, and explored future trends and green, secure mobile app standards.

ATLASAndroidAndroid O
0 likes · 6 min read
Inside Alibaba’s Android Salon: Atlas Framework, Android O Insights & Future Trends
Liulishuo Tech Team
Liulishuo Tech Team
Jun 17, 2017 · Mobile Development

Mastering Android MediaSession: Build Robust Background Music Playback

This article explains how to implement a reliable Android music app by leveraging MediaSession for UI‑service synchronization, handling background playback, MediaButton events, AudioFocus, Wi‑Fi and WakeLocks, custom notifications, and compatibility across Android versions.

AndroidAudioFocusBackground Playback
0 likes · 14 min read
Mastering Android MediaSession: Build Robust Background Music Playback
Hujiang Technology
Hujiang Technology
Jun 17, 2017 · Mobile Development

Recap of Google I/O 2017: Android, AI, and New Google Products

The article reviews Google I/O 2017, highlighting Android's shift to Kotlin, the introduction of Android O features, the launch of AI‑driven services such as Google Lens, Assistant, and Home, and the broader move from a mobile‑first to an AI‑first strategy.

AIAndroidGoogle I/O
0 likes · 9 min read
Recap of Google I/O 2017: Android, AI, and New Google Products
Beike Product & Technology
Beike Product & Technology
Jun 16, 2017 · Mobile Development

Android Application Architecture

This article reviews the evolution of Android app architecture over several years, describing the shortcomings of a simple two‑layer design, the adoption of RxJava and MVP patterns, and the resulting benefits and remaining challenges for building maintainable mobile applications.

AndroidData LayerMVP
0 likes · 12 min read
Android Application Architecture
Hujiang Technology
Hujiang Technology
Jun 16, 2017 · Mobile Development

Kotlin Basics: Variables, Control Flow, Functions, and Extensions

This article introduces Kotlin fundamentals for developers, covering variable declarations, control flow statements such as if, when, and loops, smart type inference, null-safety, function definitions with default parameters, varargs, extension functions, and provides practical code examples to help newcomers quickly adopt Kotlin.

AndroidKotlinfunctions
0 likes · 9 min read
Kotlin Basics: Variables, Control Flow, Functions, and Extensions
Tencent TDS Service
Tencent TDS Service
Jun 15, 2017 · Databases

How We Built WCDB: Inside WeChat’s Open‑Source Mobile Database Evolution

This article chronicles the development of WCDB, WeChat’s open‑source mobile database, detailing its early challenges, performance bottlenecks, security risks, concurrency improvements, cross‑platform collaboration, and future roadmap for a more reliable and efficient data layer on iOS and Android.

AndroidPerformanceSQL injection
0 likes · 14 min read
How We Built WCDB: Inside WeChat’s Open‑Source Mobile Database Evolution
Baidu Intelligent Testing
Baidu Intelligent Testing
Jun 15, 2017 · Mobile Development

Android CPU Performance Testing Methods

This article explains three Android CPU performance testing techniques—using adb dumpsys cpuinfo, reading /proc/pid/stat, and employing the top command—detailing their procedures, advantages, limitations, and how to aggregate per‑process data for accurate app‑level metrics.

ADBAndroidCPU
0 likes · 8 min read
Android CPU Performance Testing Methods
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 14, 2017 · Mobile Development

How Sophix Redefines Android Hotfix: Non‑Intrusive Code, Resource & SO Updates

This article chronicles Alibaba's multi‑year journey in Android hot‑fix technology, compares early solutions like Dexposed, AndFix and others, and details Sophix's non‑intrusive design that unifies code, resource and native library patching while maintaining compatibility, security and ease of use across Android versions.

AndroidCode ReplacementHotfix
0 likes · 21 min read
How Sophix Redefines Android Hotfix: Non‑Intrusive Code, Resource & SO Updates
Hujiang Technology
Hujiang Technology
Jun 9, 2017 · Mobile Development

Getting Started with Kotlin: Installation, Hello World, and Basic Syntax

This tutorial introduces Kotlin, explains its advantages over Java, guides you through setting up IntelliJ IDEA or Android Studio with the Kotlin plugin, and walks you through creating and running both a simple Hello Kotlin program and an object‑oriented example, while covering coding style recommendations.

AndroidIntelliJ IDEAKotlin
0 likes · 9 min read
Getting Started with Kotlin: Installation, Hello World, and Basic Syntax
Hujiang Technology
Hujiang Technology
Jun 1, 2017 · Mobile Development

Kotlin Android Login Screen with Inheritance and Extension Functions

This tutorial demonstrates how to build an Android login interface using Kotlin, covering class inheritance, nullable variable declarations, lambda listeners, network requests, and an extension function that adds a toast method to all Activity subclasses, with full source code examples.

AndroidExtension FunctionsKotlin
0 likes · 5 min read
Kotlin Android Login Screen with Inheritance and Extension Functions
Tencent TDS Service
Tencent TDS Service
May 25, 2017 · Mobile Development

Why Kotlin’s First-Class Status Transforms Android Development

Google’s 2017 I/O announcement made Kotlin a first‑class Android language, and this article explores how Kotlin’s Java interoperability, lambda support, coroutines, and null‑safety can reshape Android development, while also critiquing legacy utility classes and encouraging developers to adopt modern Kotlin features.

AndroidKotlinLambda
0 likes · 6 min read
Why Kotlin’s First-Class Status Transforms Android Development
Qunar Tech Salon
Qunar Tech Salon
May 23, 2017 · Mobile Development

Ctrip Technical Salon: Mobile Development Practices and Performance Optimization – MVC, MVP and the Extended MVCPI Architecture

This article presents a detailed analysis of the evolution from MVC to MVP in Android hotel‑business development, illustrates common pitfalls such as bloated controllers and context loss, introduces Ctrip's extended MVCPI pattern with weakly‑typed IView, Presenter and Interactor components, and provides concrete code examples for each architecture.

AndroidCode OrganizationMVC
0 likes · 15 min read
Ctrip Technical Salon: Mobile Development Practices and Performance Optimization – MVC, MVP and the Extended MVCPI Architecture
Hujiang Technology
Hujiang Technology
May 20, 2017 · Mobile Development

Common Kotlin Pitfalls in Android Development and How to Solve Them

This article shares the most frequent Kotlin-related issues encountered in Android projects—including IDE conversion bugs, DexGuard obfuscation crashes, debugging difficulties, missing ternary operators, and other language quirks—along with practical solutions and code examples to help developers avoid them.

AndroidCodeConversionDebugging
0 likes · 7 min read
Common Kotlin Pitfalls in Android Development and How to Solve Them
Hujiang Technology
Hujiang Technology
May 19, 2017 · Mobile Development

What Is Kotlin and Its Impact on Mobile Development

The article introduces Kotlin, explains why it gained sudden popularity after Google’s I/O announcement, shares the author’s experience of adopting Kotlin in large Android projects, discusses its impact on bug rates and developer productivity, and encourages developers to explore the language responsibly.

AndroidGoogle I/OKotlin
0 likes · 4 min read
What Is Kotlin and Its Impact on Mobile Development
Hujiang Technology
Hujiang Technology
May 18, 2017 · Mobile Development

Getting Started with Kotlin for Android Development

This article introduces Kotlin as a first‑class language for Android, explains why developers should adopt it, and provides a step‑by‑step guide to setting up Android Studio for Kotlin development, including plugin installation, project conversion, and configuration details.

AndroidAndroid StudioKotlin
0 likes · 6 min read
Getting Started with Kotlin for Android Development
Ctrip Technology
Ctrip Technology
May 18, 2017 · Mobile Development

From MVC to MVP to MVCPI: Android Architecture Practices and Performance Optimization

This article examines the evolution of Android UI architecture from traditional MVC to MVP and introduces the MVCPI extension, discussing practical implementation details, performance considerations, common pitfalls, and solutions such as interface-based views, presenter responsibilities, and interaction models to improve code maintainability and scalability.

AndroidMVCMVP
0 likes · 23 min read
From MVC to MVP to MVCPI: Android Architecture Practices and Performance Optimization
Tencent Music Tech Team
Tencent Music Tech Team
May 11, 2017 · Mobile Development

Understanding Android Audio Volume Architecture and Configuration (Android 6.0)

The article explains Android 6.0’s audio volume architecture, detailing how streams, devices, and per‑stream volume indices are defined, cached, persisted, and modified via AudioManager or AudioTrack/MediaPlayer, and how these changes travel through AudioService, AudioPolicy, and AudioFlinger to the hardware.

AndroidAudioManagerAudioService
0 likes · 12 min read
Understanding Android Audio Volume Architecture and Configuration (Android 6.0)
转转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.

AndroidCygwinShell Scripts
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.

AndroidCIJenkins
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 reductionAndroidimage compression
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.

AgileAndroidhiring
0 likes · 12 min read
From Rookie to CTO: My Android Journey, Team Building, and Agile Lessons
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.

AndroidCodeTyphonDatabase
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.

AndroidComponentizationdynamic deployment
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.

ActivityAndroidPlugin
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.

AgileAndroidApp Release
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 MOEM Fragmentation
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.

AndroidCrash analysisapp 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
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.

AndroidItemDecorationLayoutManager
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 TrafficPower Consumption
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.

AndroidAutomation TestingCustom Monkey
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.

AndroidDebuggingPerformance
0 likes · 9 min read
Understanding and Tackling Memory Leaks in Android Applications
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.

AndroidCold StartDEX
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
Tencent Music Tech Team
Tencent Music Tech Team
Nov 11, 2016 · Mobile Development

Optimizing Image Assets in QQ Music Android APK with pngquant and TinyPNG

To shrink the QQ Music Android APK, the team replaced manual image compression with a multithreaded pngquant workflow that compresses PNGs at 90 % quality, integrates into the RDM build, cuts the res directory by 1.97 MB and the overall package by 2.22 MB, delivering faster, maintainable builds.

AndroidGradleResource Optimization
0 likes · 14 min read
Optimizing Image Assets in QQ Music Android APK with pngquant and TinyPNG
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.

AndroidCtripcross-platform
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.

AndroidAntCI
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