Tagged articles

Android

1846 articles · Page 18 of 19
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.

AndroidTinkerhot-patch
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.

AndroidPerformanceTwo‑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.

AndroidShell scriptperformance testing
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.

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

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

AndroidEventBusObserver Pattern
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.

AndroidStrings.xmli18n
0 likes · 13 min read
Android App Internationalization: Problems and Solutions
Ctrip Technology
Ctrip Technology
Aug 19, 2016 · Mobile Development

Android Modular Development with the Spider Framework

The article presents an in‑depth technical overview of Qunar's Spider framework for Android modular development, describing its component model, architecture, development workflow, performance benefits, comparison with other dynamic‑loading solutions, and step‑by‑step guidance for building and releasing Spider‑based apps.

AndroidComponent ArchitectureDynamic Loading
0 likes · 6 min read
Android Modular Development with the Spider Framework
Qunar Tech Salon
Qunar Tech Salon
Aug 14, 2016 · Mobile Development

Mobile App Performance Optimization: UI, Memory, Network, Power and Code

This article presents a detailed overview of mobile app performance optimization, covering UI responsiveness, memory management, network efficiency, power consumption, and code improvements, with practical analysis methods, tools, and case studies from major companies such as Ctrip and Alibaba to help developers enhance Android applications.

AndroidMemoryNetwork
0 likes · 32 min read
Mobile App Performance Optimization: UI, Memory, Network, Power and Code
Qunar Tech Salon
Qunar Tech Salon
Aug 12, 2016 · Mobile Development

Android Modular Development with the Spider Framework

This article introduces the Spider framework used at Qunar for Android modular development, explaining its architecture, component model, development and release workflow, performance benefits, dynamic loading features, and provides a quick‑start guide with examples and resources.

AndroidDynamic LoadingModular Development
0 likes · 6 min read
Android Modular Development with the Spider Framework
Tencent Music Tech Team
Tencent Music Tech Team
Aug 11, 2016 · Mobile Development

Android Content Provider: Fundamentals, Implementation, and Usage

Android Content Providers are a core component that expose a uniform, permission‑controlled CRUD interface via content:// URIs, require manifest declaration, load lazily, support custom implementations, multi‑process instances, shared‑memory cursor transfers, observer notifications, and handle large‑data limits through batching.

AndroidContent ProviderIPC
0 likes · 26 min read
Android Content Provider: Fundamentals, Implementation, and Usage
360 Quality & Efficiency
360 Quality & Efficiency
Aug 10, 2016 · Mobile Development

Understanding Android Activity: Role, Lifecycle, Process States, and Additional Considerations

This article explains the fundamental role of Android Activity as the primary UI component, its interaction with layouts and context, how it saves state, handles configuration changes, switches with services, and details its complete, visible, and foreground lifecycles as well as the various process priority levels in Android.

ActivityAndroidLifecycle
0 likes · 7 min read
Understanding Android Activity: Role, Lifecycle, Process States, and Additional Considerations
Tencent TDS Service
Tencent TDS Service
Aug 4, 2016 · Mobile Development

Accelerating Android Bug Fixes and Version Updates with a Hotfix Patch Framework

Android's fragmented versions and market‑specific policies make bug fixes and version upgrades painfully slow, but by treating the app as a loader and delivering patch files that replace the Application class, dex files, resources, and native libraries, developers can achieve near‑instant, user‑transparent updates without disrupting the normal release flow.

AndroidContinuous DeliveryHotfix
0 likes · 16 min read
Accelerating Android Bug Fixes and Version Updates with a Hotfix Patch Framework
Baidu Intelligent Testing
Baidu Intelligent Testing
Jul 26, 2016 · Mobile Development

General Mobile Performance Evaluation Scheme for Competitive Products

This article presents a comprehensive, evolving mobile performance evaluation framework for O2O applications, detailing assessment parameters, multi‑stage automation approaches, uiautomator enhancements, and key technical optimizations to enable timely, extensible, and accurate performance testing of competitive mobile products.

AndroidAutomation TestingO2O
0 likes · 4 min read
General Mobile Performance Evaluation Scheme for Competitive Products
iFlytek Mobile Internet Technology Team
iFlytek Mobile Internet Technology Team
Jul 22, 2016 · Mobile Development

How to Ensure Android Custom Notifications Look Great on All Devices

This article explains the compatibility challenges of Android custom notifications, compares simple fixed‑background and adaptive color‑matching approaches, and presents an improved method that extracts notification title colors to dynamically select suitable layouts across diverse ROMs and UI themes.

AndroidCustom NotificationNotification Color
0 likes · 8 min read
How to Ensure Android Custom Notifications Look Great on All Devices
Architecture Digest
Architecture Digest
Jul 20, 2016 · Mobile Development

Comprehensive Overview of a Self‑Developed Android Social App Architecture

This article provides a detailed walkthrough of a self‑developed Android social application, covering its functional modules, mobile architecture layers (framework, threading, caching, networking, implementation), server‑side design, database choices, third‑party libraries, and performance optimizations.

AndroidApp Architecturebackend
0 likes · 15 min read
Comprehensive Overview of a Self‑Developed Android Social App Architecture
MaGe Linux Operations
MaGe Linux Operations
Jul 19, 2016 · Mobile Development

Master Android CI/CD: Step-by-Step Jenkins Setup and Common Pitfalls

This guide walks you through configuring Jenkins on a CentOS 6.3 server to automatically compile Android projects from a GitLab repository, covering environment preparation, Jenkins installation, job creation, Gradle integration, and troubleshooting common issues such as SDK updates, permission errors, and memory limits.

AndroidCI/CDCentOS
0 likes · 7 min read
Master Android CI/CD: Step-by-Step Jenkins Setup and Common Pitfalls
Baidu Intelligent Testing
Baidu Intelligent Testing
Jul 15, 2016 · Mobile Development

Memory Testing for Android Client Performance

This article explains various Android memory testing techniques—including ActivityManager.MemoryInfo, adb commands, procrank, and DDMS/Mat tools—while describing usage intensity scenarios and how to interpret memory metrics to improve app stability and user experience.

ADBAndroidDDMS
0 likes · 8 min read
Memory Testing for Android Client Performance
Tencent Music Tech Team
Tencent Music Tech Team
Jul 14, 2016 · Mobile Development

Implementing a Custom Lock Screen on Android: Services, Broadcasts, UI Flags, Immersive Mode, and Fingerprint Unlock

Developers can create a custom Android lock screen by starting a foreground service that registers a dynamic SCREEN_OFF broadcast, launching a lock‑screen activity with keyguard‑dismiss and immersive window flags, handling swipe‑to‑unlock gestures, making navigation bars transparent, and integrating fingerprint authentication while respecting system security constraints.

AndroidBroadcastReceiverCustom Lock Screen
0 likes · 20 min read
Implementing a Custom Lock Screen on Android: Services, Broadcasts, UI Flags, Immersive Mode, and Fingerprint Unlock
Tencent TDS Service
Tencent TDS Service
Jul 14, 2016 · Mobile Development

How to Build a Custom Android Lock Screen with Swipe, Immersive Mode, and Fingerprint Unlock

This article explains why a custom lock screen is useful, describes the core principles of implementing one on Android, and provides step‑by‑step code for broadcast registration, activity configuration, key event blocking, swipe‑to‑unlock logic, immersive and translucent UI flags, and fingerprint integration.

AndroidCustom UIImmersive Mode
0 likes · 24 min read
How to Build a Custom Android Lock Screen with Swipe, Immersive Mode, and Fingerprint Unlock
Tencent TDS Service
Tencent TDS Service
Jul 7, 2016 · Mobile Development

Scaling React Native at Tencent: Performance Wins and Lessons Learned

During a Dev Club session, Tencent engineers shared a comprehensive review of their React Native adoption, covering project history, architecture, version management, performance optimization, crash analysis, and practical tips for mobile developers seeking to balance native quality with cross‑platform efficiency.

AndroidCross‑PlatformiOS
0 likes · 19 min read
Scaling React Native at Tencent: Performance Wins and Lessons Learned
WeChat Client Technology Team
WeChat Client Technology Team
Jul 5, 2016 · Mobile Development

Capture Android Allocation Tracker Data Programmatically for Memory Analysis

This article explains how to use Android Studio’s Allocation Tracker, automate its start/stop via code using the ddmlib library, and directly access Dalvik’s internal allocation records to retrieve object size, type, and stack information with minimal performance impact, while discussing limitations and compatibility concerns.

Allocation TrackerAndroidDalvik
0 likes · 11 min read
Capture Android Allocation Tracker Data Programmatically for Memory Analysis
21CTO
21CTO
Jun 12, 2016 · Mobile Development

Key Lessons from Building Android Apps: Architecture, Maintainability, and Security

After transitioning from JavaEE to Android development, the author shares practical insights on designing robust mobile app architecture, covering maintainability, extensibility, security, onboarding ease, documentation, packaging, and the trade‑offs between MVC and MVP, while offering guidance on framework selection and effective encapsulation.

AndroidExtensibilityMVC
0 likes · 14 min read
Key Lessons from Building Android Apps: Architecture, Maintainability, and Security
Tencent Music Tech Team
Tencent Music Tech Team
Jun 6, 2016 · Mobile Development

Incremental Update Solution for Android APKs Using Binary Diff and Channel Management

The article presents an Android incremental‑update solution that uses bsdiff‑generated binary patches to replace full APK downloads, embeds channel identifiers in the ZIP comment field to avoid per‑channel APK duplication, and details server‑side patch creation, client‑side channel stripping, patch merging, and verification to reduce bandwidth and simplify multi‑channel distribution.

APK PatchAndroidIncremental Update
0 likes · 18 min read
Incremental Update Solution for Android APKs Using Binary Diff and Channel Management
360 Quality & Efficiency
360 Quality & Efficiency
Jun 3, 2016 · Mobile Development

Understanding and Reducing Overdraw in Android App Rendering for Better Performance

Even high‑end Android devices can feel sluggish due to overdraw, where the GPU renders the same pixel multiple times; this article explains Android’s rendering pipeline, how to detect excessive drawing, and practical techniques—such as simplifying layouts, using transparency, and merging views—to cut draw calls and achieve smooth 60 FPS performance.

AndroidOptimizationOverdraw
0 likes · 6 min read
Understanding and Reducing Overdraw in Android App Rendering for Better Performance
Tencent TDS Service
Tencent TDS Service
Jun 2, 2016 · Mobile Development

Master Retrofit: From Basics to Advanced Customizations in Android

This comprehensive guide walks Android developers through Retrofit’s fundamentals, usage patterns, URL configuration, parameter handling, custom converters, call adapters, and advanced techniques like file uploads, mock servers, and RxJava integration, providing code examples and deep insights to master network requests efficiently.

AndroidCustom ConverterNetwork
0 likes · 22 min read
Master Retrofit: From Basics to Advanced Customizations in Android
Tencent Music Tech Team
Tencent Music Tech Team
Jun 2, 2016 · Mobile Development

Ensuring a Single Instance of the Main Activity in Android Using a Dispatcher Activity

To guarantee a single persistent main Activity while allowing sub‑Activities and third‑party navigation, the article proposes routing all external and internal launches through a dedicated DispatcherActivity that uses FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TOP, a static weak reference, and onNewIntent handling, avoiding singleTask/instance modes.

ActivityAndroidDispatcher
0 likes · 14 min read
Ensuring a Single Instance of the Main Activity in Android Using a Dispatcher Activity
Liulishuo Tech Team
Liulishuo Tech Team
May 27, 2016 · Mobile Development

Evolution of the Android Architecture of the English Fluency App

This article details the step‑by‑step evolution of the English Fluency Android app’s architecture, covering its early broadcast‑based design, the adoption of a plugin‑based modular core, multi‑process integration, auxiliary systems such as asynchronous loading, event bus, monitoring, and support components for file storage, DNS protection, image loading, and downloading.

AndroidMonitoringPlugin
0 likes · 13 min read
Evolution of the Android Architecture of the English Fluency App
Tencent Music Tech Team
Tencent Music Tech Team
May 26, 2016 · Mobile Development

Understanding Android Gradle Build Process and Dex Generation: Practical Insights and Source Code Analysis

The article walks through Android Gradle’s three‑phase build cycle, explains how VariantManager, TaskManager and AndroidBuilder create and configure tasks, then dives into the class‑to‑dex conversion process, detailing common multi‑dex limits, troubleshooting steps, and custom Gradle tasks that shrink keep lists and analyze dependencies to avoid build failures.

AndroidBuild ProcessDEX
0 likes · 16 min read
Understanding Android Gradle Build Process and Dex Generation: Practical Insights and Source Code Analysis
Baidu Intelligent Testing
Baidu Intelligent Testing
May 25, 2016 · Mobile Development

Using SonarQube for Code Quality Management in Android Projects

SonarQube, an open‑source code quality platform, offers extensive static analysis for Android (Java) projects through plugins that assess complexity, duplication, test coverage, coding standards, comments, potential bugs, and architectural design, and integrates with IDEs and CI tools such as Jenkins to visualize and reduce technical debt.

AndroidCISonarQube
0 likes · 4 min read
Using SonarQube for Code Quality Management in Android Projects
Tencent Music Tech Team
Tencent Music Tech Team
May 12, 2016 · Mobile Development

Mastering JsBridge: Connecting JavaScript and Java in Android Apps

This article explains how Android hybrid apps enable JavaScript‑Java communication, compares four JS‑to‑Java methods, shows the single Java‑to‑JS approach, and provides a detailed walkthrough of the open‑source JsBridge library with code samples and workflow diagrams.

AndroidHybridAppJSBridge
0 likes · 11 min read
Mastering JsBridge: Connecting JavaScript and Java in Android Apps
360 Quality & Efficiency
360 Quality & Efficiency
May 11, 2016 · Mobile Development

Using STF and Minicap for Efficient Mobile Web Page Load Testing

This article explains the problems of manual mobile web page load testing, introduces STF and its Minicap screenshot tool, details their features, installation prerequisites, step‑by‑step setup commands, and demonstrates how to run and access STF for automated, low‑latency testing.

AndroidInstallationSTF
0 likes · 7 min read
Using STF and Minicap for Efficient Mobile Web Page Load Testing
21CTO
21CTO
May 1, 2016 · Mobile Development

Which Language Wins Android Development? Java vs Groovy vs Scala vs Kotlin

This article compares Java, Groovy, Scala, and Kotlin for Android development by examining minimal dependencies, code snippets for view lookup, click listeners, callbacks, community support, and preliminary metrics such as line count and compile speed, concluding that further analysis is needed.

AndroidGroovyKotlin
0 likes · 5 min read
Which Language Wins Android Development? Java vs Groovy vs Scala vs Kotlin
360 Quality & Efficiency
360 Quality & Efficiency
Apr 29, 2016 · Mobile Development

Function-Level Performance Testing for Android Apps Using Hook Techniques

This article explains how to perform function-level performance testing on Android applications by leveraging Hook frameworks to monitor each method’s execution time and call count, detailing function selection, class categorization, monitoring levels, data collection, result analysis, and practical implementation considerations.

AndroidFunction Monitoringhook
0 likes · 10 min read
Function-Level Performance Testing for Android Apps Using Hook Techniques
Tencent Music Tech Team
Tencent Music Tech Team
Apr 28, 2016 · Mobile Development

Understanding and Using EventBus 3 in Android: Setup, Core Architecture, Index Acceleration, and Best Practices

EventBus 3 provides a lightweight publish/subscribe framework for Android that simplifies inter‑module communication by allowing any object to be posted and received via @Subscribe methods, with optional index acceleration for faster registration, customizable thread modes, and guidance on setup, ProGuard rules, pitfalls, and alternatives.

AndroidAnnotation ProcessingEventBus
0 likes · 22 min read
Understanding and Using EventBus 3 in Android: Setup, Core Architecture, Index Acceleration, and Best Practices
Tencent Music Tech Team
Tencent Music Tech Team
Apr 27, 2016 · Mobile Development

Cross-Process Singleton Implementation in Android Using AIDL

The article explains how to turn a traditional Android singleton into a cross‑process object by having the singleton implement an AIDL interface, exposing it through a bound Service, and using Parcelable‑based Binder serialization so multiple processes share the same instance while handling IPC, threading, and data‑type constraints.

AIDLAndroidCross-Process
0 likes · 17 min read
Cross-Process Singleton Implementation in Android Using AIDL
21CTO
21CTO
Apr 27, 2016 · Mobile Development

Run Your First Swift “Hello, World” on Android: Step‑by‑Step Guide

This tutorial explains how to compile the Swift standard library for Android armv7, build required dependencies, create a simple Swift program, deploy the binaries via ADB, and successfully run a "Hello, Android" application on an Android device.

AndroidSwiftcross-platform
0 likes · 9 min read
Run Your First Swift “Hello, World” on Android: Step‑by‑Step Guide
21CTO
21CTO
Apr 27, 2016 · Mobile Development

Mastering Android Unit Testing: Practical Tips, Tools, and Real-World Cases

This article shares practical experiences and best practices for Android unit testing, covering why testing matters, simple test structures, mocking with Mockito, dependency injection via Dagger2, using Robolectric, CI integration, common pitfalls, and a detailed checkout flow example.

AndroidCIDagger2
0 likes · 25 min read
Mastering Android Unit Testing: Practical Tips, Tools, and Real-World Cases
21CTO
21CTO
Apr 24, 2016 · Mobile Development

Why Android Apps Rely on Callbacks and How to Keep Your Code Clean

This article explains how most Android code is driven by event callbacks, examines single‑event and multi‑event implementations, discusses the pitfalls of bloated callbacks, and offers practical strategies to structure and simplify callback‑heavy code for clearer, more maintainable apps.

AndroidCode Organizationcallbacks
0 likes · 7 min read
Why Android Apps Rely on Callbacks and How to Keep Your Code Clean
21CTO
21CTO
Apr 20, 2016 · Mobile Development

Why I Abandoned iOS for Android: Embracing Progressive Web Apps

After years of iOS development, the author switched to Android, highlighting the limitations of iOS web support, the rise of Service Workers and Progressive Web Apps on Android, and how these open‑web technologies offer faster, cross‑platform experiences without App Store constraints.

AndroidProgressive Web AppsService Workers
0 likes · 20 min read
Why I Abandoned iOS for Android: Embracing Progressive Web Apps
21CTO
21CTO
Apr 14, 2016 · Mobile Development

Why Choose a Hybrid Framework? Architecture, WebView Loading, and Caching Explained

This article explains the motivations behind adopting a hybrid framework for Android apps, outlines the overall architecture, details the WebView loading flow, jump protocol, resource interception, asynchronous image handling, cache version management, and interaction mechanisms, providing practical code examples.

AndroidNativehybrid
0 likes · 18 min read
Why Choose a Hybrid Framework? Architecture, WebView Loading, and Caching Explained
Architect
Architect
Mar 27, 2016 · Mobile Development

Applying Flux Architecture to Android: A Detailed Overview

This article explains how the Flux data‑driven architecture, originally created for Facebook's web client, can be adapted for Android applications, describing its four core modules, their interactions, and a practical ToDoList example with code snippets.

AndroidFluxReactNative
0 likes · 4 min read
Applying Flux Architecture to Android: A Detailed Overview
Meituan Technology Team
Meituan Technology Team
Mar 25, 2016 · Mobile Development

Introduction to Android Lint and Its Role in Code Quality Assurance

Android Lint, Google’s static analysis tool, scans Android code for potential bugs and style violations, enabling developers to fix problems early, and Meituan enforces its use in the development pipeline so that any Lint-detected issues block merges into the main branch, ensuring higher code quality.

AndroidStatic Analysiscode quality
0 likes · 1 min read
Introduction to Android Lint and Its Role in Code Quality Assurance
21CTO
21CTO
Mar 19, 2016 · Mobile Development

Key Android Interview Topics: MVC/MVP/MVVM, Volley Cache, Concurrency, and More

This article compiles essential Android interview knowledge, covering MVC, MVP, and MVVM patterns, Volley disk cache mechanics and optimization, bitmap memory handling, heartbeat packet types, HashMap internals, and the differences among atomic, volatile, and synchronized constructs, while highlighting relevant design patterns.

AndroidDesign PatternsVolley
0 likes · 15 min read
Key Android Interview Topics: MVC/MVP/MVVM, Volley Cache, Concurrency, and More
Architect
Architect
Mar 17, 2016 · Mobile Development

Understanding Android Architecture Patterns: MVC, MVP, MVVM, and AOP

This article explains the purpose of architectural design in Android apps and provides a detailed comparison of MVC, MVP, and MVVM patterns, including their structures, advantages, drawbacks, code examples, as well as an introduction to AOP and practical development tips.

AndroidMVCMVP
0 likes · 22 min read
Understanding Android Architecture Patterns: MVC, MVP, MVVM, and AOP
Tencent TDS Service
Tencent TDS Service
Mar 17, 2016 · Mobile Development

How to Rapidly Convert an Android Phone App to a Tablet Version in Under 3 Months

This article details a step‑by‑step approach for transforming a modern Android phone application into a tablet‑optimized version within three months, covering UI redesign, activity‑to‑fragment conversion, multi‑process handling, task management, and practical code snippets for a robust Pad‑ification architecture.

Activity to FragmentAndroidTablet Development
0 likes · 25 min read
How to Rapidly Convert an Android Phone App to a Tablet Version in Under 3 Months
21CTO
21CTO
Mar 12, 2016 · Mobile Development

How Componentization Boosts iOS & Android App Development Efficiency

This article summarizes a March 10 technical session on componentizing iOS and Android applications, describing the challenges of monolithic codebases, the benefits of modular architecture, communication patterns, lifecycle management, version control, CI integration, and practical lessons learned.

AndroidCI/CDComponentization
0 likes · 16 min read
How Componentization Boosts iOS & Android App Development Efficiency
Tencent TDS Service
Tencent TDS Service
Mar 10, 2016 · Mobile Development

How React Native Bridges Java and JavaScript on Android: A Deep Dive

This article provides a comprehensive source‑code analysis of React Native's Java↔JavaScript communication mechanism on Android, detailing module registration, the Java‑to‑JS and JS‑to‑Java call flows, and the underlying native bridge implementation.

AndroidJavaScript BridgeMessageQueue
0 likes · 14 min read
How React Native Bridges Java and JavaScript on Android: A Deep Dive
Baidu Intelligent Testing
Baidu Intelligent Testing
Mar 9, 2016 · Mobile Development

Using FindBugs for Android Code Analysis and Automated Testing

The article introduces FindBugs, an open‑source Java static analysis tool, explains how it inspects Android bytecode to detect bugs such as null pointers, multithreading issues, and performance problems, and describes its integration with IDEs, command‑line builds, and its severity ranking system.

AndroidStatic Analysisautomated testing
0 likes · 3 min read
Using FindBugs for Android Code Analysis and Automated Testing
21CTO
21CTO
Mar 5, 2016 · Mobile Development

How Much Does It Really Cost to Build a Mobile App in China?

This article breaks down the true cost of developing a native mobile app in China, covering developer salaries, team composition, timeline, low‑budget alternatives, template platforms, and when a company should choose a native app versus a Web‑App solution.

AndroidApp DevelopmentChina
0 likes · 10 min read
How Much Does It Really Cost to Build a Mobile App in China?
Baidu Intelligent Testing
Baidu Intelligent Testing
Mar 4, 2016 · Mobile Development

Understanding Android Lint: Features, Checks, and Usage

Android Lint is a static code analysis tool for Android that detects potential defects and optimization opportunities across correctness, security, performance, usability, accessibility, and internationalization, offering command‑line and IDE integration, customizable rules, and detailed HTML reports to improve code quality.

AndroidStatic Analysiscode quality
0 likes · 3 min read
Understanding Android Lint: Features, Checks, and Usage
21CTO
21CTO
Feb 21, 2016 · Mobile Development

How Facebook Automates Android Performance Tracing with Bytecode Rewriting

Facebook tackled Android performance monitoring by replacing manual instrumentation with a rule‑based bytecode rewriter that automatically injects tracing markers, minimizes overhead, and captures cross‑thread activity, offering a scalable solution for real‑world telemetry collection.

ASMAndroidFacebook
0 likes · 8 min read
How Facebook Automates Android Performance Tracing with Bytecode Rewriting
21CTO
21CTO
Feb 20, 2016 · Mobile Development

How Ctrip Scaled Android with Plugin Architecture and Dynamic Loading

This article explains how Ctrip’s Android app adopted a plugin‑based, dynamic‑loading framework to overcome method‑limit, improve build speed, enable hot‑deployment, and support modular A/B testing, detailing the underlying principles, compilation changes, runtime resource and class loading, and the trade‑offs involved.

AndroidBuild OptimizationDynamic Loading
0 likes · 16 min read
How Ctrip Scaled Android with Plugin Architecture and Dynamic Loading
21CTO
21CTO
Feb 16, 2016 · Mobile Development

Scaling Android Development: Insights on Team Management, Testing, and Open‑Source Practices

At AnDevCon, senior engineers from Twitter, Amazon, Cyanogen, Square, Eventbrite and others shared practical strategies for managing large Android teams, implementing effective testing pipelines, leveraging A/B experiments, designing for testability, handling embedded testing, contributing to open‑source, and using analytics to drive product decisions.

AnalyticsAndroid
0 likes · 15 min read
Scaling Android Development: Insights on Team Management, Testing, and Open‑Source Practices
21CTO
21CTO
Feb 11, 2016 · Mobile Development

Google to Embed VR Directly into Android: What It Means for Mobile VR

Google announced a new Android‑integrated virtual reality headset, a successor to Cardboard, aiming to challenge Oculus and expand VR adoption by leveraging smartphones, which could reshape the VR hardware market and shift competition toward content creation.

AndroidGoogleVR
0 likes · 5 min read
Google to Embed VR Directly into Android: What It Means for Mobile VR
Tencent TDS Service
Tencent TDS Service
Jan 14, 2016 · Mobile Development

How to Accurately Measure and Reduce Android Bitmap Memory Usage

This article explains Android's DisplayMetrics density values, shows how to calculate a Bitmap's runtime memory footprint using getByteCount, explores the impact of screen density, pixel format, and scaling, and provides practical techniques such as inSampleSize, matrix scaling, and pixel format selection to minimize memory consumption.

AndroidBitMapDisplayMetrics
0 likes · 23 min read
How to Accurately Measure and Reduce Android Bitmap Memory Usage
21CTO
21CTO
Jan 5, 2016 · Mobile Development

How Alipay Wallet Optimizes Mobile Traffic and Power with Real‑Time Monitoring

An in‑depth look at Alipay Wallet’s mobile client monitoring system, detailing strategies for traffic and power optimization, comprehensive diagnostics, dynamic upgrades, AOP‑based instrumentation, and practical techniques for reducing data usage and battery drain on resource‑constrained Android devices.

AOPAlipay WalletAndroid
0 likes · 6 min read
How Alipay Wallet Optimizes Mobile Traffic and Power with Real‑Time Monitoring