Tagged articles
1818 articles
Page 16 of 19
Tencent Music Tech Team
Tencent Music Tech Team
Dec 29, 2017 · Mobile Development

Analysis of SurfaceView, GLSurfaceView, and TextureView for Picture-in-Picture Video Playback on Android

The article compares Android’s SurfaceView, GLSurfaceView, and TextureView for picture‑in‑picture video playback, explaining each view’s rendering model, the hole‑punch limitations of SurfaceView, Android N’s synchronous updates, and TextureView’s full transformation support at higher power cost, to guide developers in choosing the optimal solution.

AndroidMobile DevelopmentPicture-in-Picture
0 likes · 17 min read
Analysis of SurfaceView, GLSurfaceView, and TextureView for Picture-in-Picture Video Playback on Android
Tencent Music Tech Team
Tencent Music Tech Team
Dec 22, 2017 · Mobile Development

Organizing Native Layer Code and Implementing Dynamic Loading/Unloading of .so Libraries in Android

The article outlines a systematic method for structuring native‑layer code and using dlopen, dlsym, and dlclose to dynamically load and unload .so libraries on Android, enabling selective loading, reduced memory usage, hot‑fix updates, and solutions to STL version, permission, and C++ name‑mangling challenges.

AndroidDynamic LoadingJNI
0 likes · 14 min read
Organizing Native Layer Code and Implementing Dynamic Loading/Unloading of .so Libraries in Android
Meituan Technology Team
Meituan Technology Team
Dec 21, 2017 · Mobile Development

Shield: A Modular UI Framework for Android and iOS

Shield is Meituan‑Dianping’s open‑source modular UI framework for Android and iOS that splits pages into independent, lifecycle‑managed modules (Agents) defined by a remote configuration, enabling dynamic layout changes, cross‑platform consistency, decoupled communication via a RxJava‑based WhiteBoard, and easier maintenance and testing.

AndroidModular UIShield Framework
0 likes · 10 min read
Shield: A Modular UI Framework for Android and iOS
Hujiang Technology
Hujiang Technology
Dec 18, 2017 · Mobile Development

An Introduction to Android Room: Entities, DAO, Database, Migrations, and Advanced Usage

This article provides a comprehensive guide to Android's Room persistence library, covering the creation of Entity classes, defining Data Access Objects (DAO), building the RoomDatabase, handling foreign keys, embedded objects, query methods, LiveData and RxJava return types, as well as database migrations and type converters for complex data types.

AndroidMobile DevelopmentORM
0 likes · 11 min read
An Introduction to Android Room: Entities, DAO, Database, Migrations, and Advanced Usage
Efficient Ops
Efficient Ops
Dec 17, 2017 · Information Security

How Android Security Works: Threats, Models, and Protection Strategies

This article examines the current Android security landscape, outlines the platform's security model, discusses program, data, and system vulnerabilities, analyzes a tampered APK case study, and presents comprehensive protection techniques such as obfuscation, shelling, and integrity verification.

APK protectionAndroidMobile Security
0 likes · 11 min read
How Android Security Works: Threats, Models, and Protection Strategies
Qizhuo Club
Qizhuo Club
Dec 15, 2017 · Mobile Development

How 360 Mobile Guard Optimizes App Performance with Its Own Monitoring System

This article explains how 360 Mobile Guard, a massive Android security app built on the RePlugin framework, implements a comprehensive performance monitoring system—including offline code checks, Argus APM tools, online crash and metric collection, diagnostic plugins, and future AI-driven analysis—to identify and resolve performance issues and improve user experience.

APMAndroidapp optimization
0 likes · 9 min read
How 360 Mobile Guard Optimizes App Performance with Its Own Monitoring System
JD Retail Technology
JD Retail Technology
Dec 14, 2017 · Information Security

Android Signature Verification and JNI Registration: Security Challenges and Mitigation Strategies

This article explains the background of Android app signing, outlines the core security objectives of confidentiality, integrity and availability, compares static and dynamic JNI registration methods, demonstrates native signature verification and certificate integrity checks, and summarizes common cracking techniques together with practical hardening solutions.

AndroidJNInative
0 likes · 16 min read
Android Signature Verification and JNI Registration: Security Challenges and Mitigation Strategies
JD Retail Technology
JD Retail Technology
Dec 5, 2017 · Mobile Development

Implementation of a Main Thread Lag Collection SDK for Android

This article describes the design and implementation of a non‑intrusive Android SDK that monitors main‑thread UI lag by replacing the Looper printer, sampling stack traces, aggregating data on the server, and automatically generating work orders for precise performance optimization.

AndroidSDKUI Thread
0 likes · 10 min read
Implementation of a Main Thread Lag Collection SDK for Android
Meitu Technology
Meitu Technology
Dec 1, 2017 · Mobile Development

Meitu DNS Optimization Practice: LocalDNS vs HTTP DNS and Non-Intrusive SDK Implementation

Meitu improves mobile app performance by combining HTTP DNS for critical domains with fallback LocalDNS, employing lazy cache updates and a non‑intrusive SDK that injects custom resolution via Java reflection and native ELF redirection, resulting in roughly 100 ms latency reduction and fewer unknown‑host errors.

AndroidDNS OptimizationELF hooking
0 likes · 14 min read
Meitu DNS Optimization Practice: LocalDNS vs HTTP DNS and Non-Intrusive SDK Implementation
Qunar Tech Salon
Qunar Tech Salon
Dec 1, 2017 · Mobile Development

Long Connection Architecture and Implementation in Android Clients

This article explains the principles of TCP long connections, compares NIO and BIO models, and describes how Android applications can implement and share persistent connections using AIDL, process sharing, and a dedicated SDK to support push, IM, and other real‑time services.

AndroidMobile DevelopmentNetworking
0 likes · 8 min read
Long Connection Architecture and Implementation in Android Clients
360 Quality & Efficiency
360 Quality & Efficiency
Nov 30, 2017 · Mobile Development

Design and Optimization of an Android Mobile Packet Capture Service Using VPNService and a Go Backend

This article presents a comprehensive solution for capturing network packets on Android devices without rooting, compares tcpdump, Fiddler and VPNService approaches, describes a cloud‑based architecture using Go, MongoDB and libpcap, and details multiple performance optimizations that eliminate packet loss and dramatically increase CPU utilization.

AndroidMobile DevelopmentPerformance Optimization
0 likes · 9 min read
Design and Optimization of an Android Mobile Packet Capture Service Using VPNService and a Go Backend
21CTO
21CTO
Nov 27, 2017 · Mobile Development

Boost Android App Performance: 5 Proven Optimization Strategies

This article outlines practical techniques for creating high‑performance Android apps, covering minimal library usage, streamlined design resources, asynchronous loading, build‑time reductions with ProGuard, and the importance of thorough discussion before implementation.

AndroidApp SizeMobile Development
0 likes · 6 min read
Boost Android App Performance: 5 Proven Optimization Strategies
JD Retail Technology
JD Retail Technology
Nov 24, 2017 · Mobile Development

Mastering Android MVP: Build Decoupled, Leak‑Free Apps

This article explains how to use the Model‑View‑Presenter (MVP) pattern in Android to reduce module coupling, prevent memory leaks with WeakReference, and organize code into clear layers—View, Presenter, Model, and a Data Manager—while providing step‑by‑step implementations and reusable base classes.

AndroidArchitectureMVP
0 likes · 14 min read
Mastering Android MVP: Build Decoupled, Leak‑Free Apps
Tencent Cloud Developer
Tencent Cloud Developer
Nov 21, 2017 · Mobile Development

Understanding the Android Input Event Flow: From Hardware to Application

The article details Android’s touch‑event pipeline, tracing how a physical press generates a GPIO interrupt, is read by Linux /dev/input drivers, passed through the kernel’s EventHub to the InputManagerService, dispatched by InputDispatcher, routed via WindowManagerService and InputChannel to ViewRootImpl, and finally delivered to the target View, helping developers debug and customize input handling.

AndroidInput EventsMobile Development
0 likes · 11 min read
Understanding the Android Input Event Flow: From Hardware to Application
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Nov 11, 2017 · Fundamentals

Mastering the Observer Pattern: From Theory to Android Implementation

This article explains the Observer pattern’s one‑to‑many dependency concept, outlines its key components, provides a step‑by‑step Java implementation—including a custom news provider and user observer—demonstrates usage with JDK’s built‑in classes, and connects the pattern to Android callbacks.

AndroidObserver Patterncallback
0 likes · 9 min read
Mastering the Observer Pattern: From Theory to Android Implementation
Tencent Music Tech Team
Tencent Music Tech Team
Nov 10, 2017 · Mobile Development

Image Resizing Techniques on Android: Nearest‑Neighbour, Bilinear, Bicubic, and Lanczos Resampling

The article explains Android image downsampling, comparing built‑in nearest‑neighbour and bilinear methods with higher‑quality bicubic and Lanczos resampling, detailing their implementation, performance trade‑offs, and visual results, and advises choosing the fastest method for simple cases or the more intensive algorithms when superior image fidelity is required.

AndroidBicubicBilinear
0 likes · 10 min read
Image Resizing Techniques on Android: Nearest‑Neighbour, Bilinear, Bicubic, and Lanczos Resampling
Qunar Tech Salon
Qunar Tech Salon
Nov 9, 2017 · Mobile Development

Kotlin vs Java: Advantages, Migration Strategies, and Key Features for Android Development

This article compares Kotlin and Java for Android development, highlighting Kotlin's lower migration cost, reduced technical risk, language conveniences such as null‑safety, data classes, extension functions, functional programming, JavaScript interop, potential pitfalls, and step‑by‑step setup instructions.

AndroidKotlinLanguageFeatures
0 likes · 12 min read
Kotlin vs Java: Advantages, Migration Strategies, and Key Features for Android Development
Baidu Intelligent Testing
Baidu Intelligent Testing
Nov 3, 2017 · Mobile Development

Automating USB Debug Enabling on Non-Root Android Devices Using AccessibilityService

This article demonstrates how to automatically enable USB debugging on a non‑root Android phone after reboot by installing a high‑permission app that uses an AccessibilityService to detect the debug state, launch the developer options, and simulate user interactions to toggle the setting.

AccessibilityServiceAndroidMobile Development
0 likes · 7 min read
Automating USB Debug Enabling on Non-Root Android Devices Using AccessibilityService
Baidu Intelligent Testing
Baidu Intelligent Testing
Oct 27, 2017 · Mobile Development

From Zero to a Universal Android Script Testing Solution: Mixed‑Script Automation, Image‑Recognition, and Recording Tools

The article details how Baidu MTC designed and implemented a universal Android script testing platform that combines UIAutomator, a custom Clean‑SDK for popup handling, image‑recognition algorithms, and a recording‑playback tool to enable robust, non‑native mobile automated testing across thousands of devices.

AndroidScript RecordingUIAutomator
0 likes · 12 min read
From Zero to a Universal Android Script Testing Solution: Mixed‑Script Automation, Image‑Recognition, and Recording Tools
Tencent TDS Service
Tencent TDS Service
Oct 19, 2017 · Mobile Development

Master Android Fragments: Basics, Lifecycle, and Back Stack

This comprehensive guide explores Android Fragments in depth, covering their definition, modular advantages, core classes, dependency on support libraries, basic and dynamic usage, lifecycle methods, transaction handling, back‑stack mechanics, communication patterns, DialogFragment creation, ViewPager integration, lazy loading techniques, and practical code examples.

AndroidBackStackFragment
0 likes · 30 min read
Master Android Fragments: Basics, Lifecycle, and Back Stack
21CTO
21CTO
Oct 12, 2017 · Mobile Development

Will Kotlin Overtake Java as Android’s Dominant Language by 2018?

A recent Realm survey of around 100,000 developers shows Kotlin’s rapid rise in Android apps, predicting it will surpass Java as the primary language by the end of 2018, driven by Google’s official support and Kotlin’s modern, concise syntax.

AndroidKotlinMobile Development
0 likes · 4 min read
Will Kotlin Overtake Java as Android’s Dominant Language by 2018?
Meituan Technology Team
Meituan Technology Team
Oct 12, 2017 · Mobile Development

Meituan Android Plugin Framework: Design, Compatibility, and Build System

Meituan’s Android plugin framework combines MultiDex‑style dex loading, global AssetManager replacement, component proxies, and a four‑phase Gradle integration to enable stable AAR‑based development while dynamically loading plugins across Android versions and OEM ROMs, handling resources, bytecode, and native libraries with minimal compatibility issues.

AndroidBuild SystemCompatibility
0 likes · 15 min read
Meituan Android Plugin Framework: Design, Compatibility, and Build System
Baidu Intelligent Testing
Baidu Intelligent Testing
Sep 25, 2017 · Mobile Development

Automated Measurement of Mobile H5 Page Load Time Using Chrome DevTools Protocol and Machine Vision

This article presents two experimental methods for automatically obtaining load‑time metrics of mobile H5 pages—one leveraging Chrome DevTools Protocol to collect network, page, DOM and runtime data from Android Chrome/WebView, and another using computer‑vision techniques to detect progress‑bar visual cues in recorded screen videos.

AndroidChrome DevTools ProtocolWebView
0 likes · 9 min read
Automated Measurement of Mobile H5 Page Load Time Using Chrome DevTools Protocol and Machine Vision
Tencent Music Tech Team
Tencent Music Tech Team
Sep 22, 2017 · Mobile Development

Google ARCore: Principles, Setup, Device Compatibility Hacks, and Comparison with ARKit & Project Tango

Google’s ARCore SDK offers motion tracking, surface detection, and light estimation for Android, supports a limited set of phones but can be extended to unsupported devices via a reverse‑engineered class hack, and competes with Apple’s ARKit and Google’s earlier Project Tango by delivering comparable AR features without specialized hardware.

ARKitAndroidMobile Development
0 likes · 16 min read
Google ARCore: Principles, Setup, Device Compatibility Hacks, and Comparison with ARKit & Project Tango
JD Retail Technology
JD Retail Technology
Sep 15, 2017 · Mobile Development

Overview of JD's Aura Component Framework for Mobile Development

This article introduces JD's Aura component framework, detailing its origins, four foundational pillars, three supporting systems, key tools, SDK specifications, and the associated portal, CI, and management platforms that enable scalable Android componentization within the Avatar ecosystem.

AndroidArchitectureAura Framework
0 likes · 7 min read
Overview of JD's Aura Component Framework for Mobile Development
JD Retail Technology
JD Retail Technology
Sep 15, 2017 · Mobile Development

Key Issues and Solutions in Implementing an Android Plugin Framework with Aura

This article explains the fundamental problems an Android plugin framework must solve—component representation, class loading, resource handling, inter‑module calls, resource sharing, and packaging—and describes Aura's design choices and implementation strategies for each of these challenges.

AndroidMobile DevelopmentPlugin Framework
0 likes · 10 min read
Key Issues and Solutions in Implementing an Android Plugin Framework with Aura
JD Retail Technology
JD Retail Technology
Sep 15, 2017 · Mobile Development

Plugin Compilation and Packaging in the Aura Framework: Resource Sharing, AAPT and Gradle Aura-Plugin Solutions

The article explains how the Aura framework handles plugin compilation and packaging by managing shared resources through public.xml, assigning unique package IDs, and offering two solutions—modifying AAPT and using the Gradle aura‑plugin—to achieve small, independent Android plugin bundles.

AAPTAndroidGradle
0 likes · 8 min read
Plugin Compilation and Packaging in the Aura Framework: Resource Sharing, AAPT and Gradle Aura-Plugin Solutions
Tencent Music Tech Team
Tencent Music Tech Team
Sep 15, 2017 · Mobile Development

Introducing ConstraintLayout: Benefits, Usage, and Performance Comparison

The article introduces Android’s ConstraintLayout, explains how it solves performance and nesting problems of RelativeLayout, LinearLayout, and TableLayout, guides developers through setup and step‑by‑step conversions—including proportional spacing, aspect‑ratio, gone margins, and chains—present a modest 10 % performance gain versus claims, and shares practical developer insights.

AndroidConstraintLayoutPerformance
0 likes · 19 min read
Introducing ConstraintLayout: Benefits, Usage, and Performance Comparison
Meituan Technology Team
Meituan Technology Team
Sep 14, 2017 · Information Security

Android Binder Vulnerabilities and Exploitation Techniques Using Drozer

The article reviews real‑world Android Binder vulnerabilities—including lock‑screen bypasses, Samsung shutdown eavesdropping, theme escalation, and system DoS—explains the Binder IPC architecture, and demonstrates how the drozer framework can be used for automated fuzzing, AIDL‑based, reflection‑based, and shell‑script exploitation of high‑privilege services.

AndroidBinderDrozer
0 likes · 14 min read
Android Binder Vulnerabilities and Exploitation Techniques Using Drozer
21CTO
21CTO
Sep 13, 2017 · Mobile Development

Mastering Android Video Encoding: Choosing Encoders and Optimizing YUV Processing

This article examines Android video recording challenges, compares hardware (MediaCodec) and software (FFmpeg + x264/openh264) encoders, highlights device‑specific pitfalls such as color‑format support and alignment, and presents fast NEON‑based algorithms for scaling, rotation, and mirroring of YUV frames.

AndroidHardware accelerationMediaCodec
0 likes · 12 min read
Mastering Android Video Encoding: Choosing Encoders and Optimizing YUV Processing
vivo Internet Technology
vivo Internet Technology
Sep 8, 2017 · Mobile Development

Vivo X20 18:9 Screen Adaptation Guide for Developers

Vivo’s X20 guide helps developers adapt apps to its new 18:9 full‑screen display by addressing five typical problems—black borders, UI stretching, OpenGL rendering offsets, mismatched navigation‑bar colors, and fixed‑position layouts—and suggests testing with 1440×720 or 2160×1080 emulator resolutions.

18:9AndroidUI/UX
0 likes · 4 min read
Vivo X20 18:9 Screen Adaptation Guide for Developers
iQIYI Technical Product Team
iQIYI Technical Product Team
Sep 8, 2017 · Mobile Development

APK Size Reduction Techniques for the iQIYI Android Client

The article outlines a comprehensive set of APK‑slimming techniques for the iQIYI Android client—including pluginization, 7‑ZIP recompression, apksigner signing, duplicate‑resource removal, PNG/WebP conversion, library trimming, code obfuscation, R‑class elimination, language‑config pruning and native‑ABI reduction—that together cut the package from 54.2 MB to 28.2 MB.

APK OptimizationAndroidGradle
0 likes · 20 min read
APK Size Reduction Techniques for the iQIYI Android Client
Baidu Intelligent Testing
Baidu Intelligent Testing
Sep 8, 2017 · Mobile Development

Android OEM ROM Features and Their Impact on App Testing

This article provides a comprehensive overview of the distinctive Android ROM customizations from major Chinese manufacturers—Huawei, OPPO, VIVO, Xiaomi, and Meizu—as well as key changes in Android versions 4.0 to 7.0, explaining how each feature affects app compatibility, permission handling, power management, and testing strategies.

AndroidMobileOEM
0 likes · 16 min read
Android OEM ROM Features and Their Impact on App Testing
Tencent Music Tech Team
Tencent Music Tech Team
Sep 8, 2017 · Mobile Development

Lottie Animation Library: Introduction, Usage, Implementation Details, and Performance on Android

Lottie, Airbnb’s open‑source animation library, parses After Effects‑exported JSON to render vector animations natively on Android, iOS, and React Native, letting developers share a single asset across platforms, simplify code, manage assets from assets, SD card or network, while balancing modest APK size increase against performance limits for complex scenes.

AndroidJSONLottie
0 likes · 14 min read
Lottie Animation Library: Introduction, Usage, Implementation Details, and Performance on Android
Baidu Intelligent Testing
Baidu Intelligent Testing
Sep 7, 2017 · Mobile Development

Overview of Android System Features and Testing Tools

This article provides a comprehensive guide to Android system features relevant to testing, covering common functions like app management, developer options such as USB debugging and various adb commands, process statistics, visual debugging tools, and the handling of normal, dangerous, and special permissions.

ADBAndroidDeveloper Options
0 likes · 12 min read
Overview of Android System Features and Testing Tools
Hujiang Technology
Hujiang Technology
Sep 5, 2017 · Information Security

Understanding Android O seccomp Filters and Illegal System Calls

The article explains how Android O uses seccomp filters in the zygote process to block unused or dangerous system calls, how developers can detect and avoid illegal calls that cause crashes, and how to test or disable the filter on development builds.

AndroidSystem Callskernel
0 likes · 6 min read
Understanding Android O seccomp Filters and Illegal System Calls
iQIYI Technical Product Team
iQIYI Technical Product Team
Sep 1, 2017 · Mobile Development

Implementing Permission Handling, Data Loading, and File Selection in a Daydream Unity Media Player

The article details how to integrate Android permission handling, directory loading, thumbnail browsing, and smooth paged scrolling into a Unity‑based Daydream media player, explaining scripts for requesting permissions, populating file selector pages, snapping to pages, and managing scroll events to enable VR file selection and playback.

AndroidDaydreamFileSelection
0 likes · 15 min read
Implementing Permission Handling, Data Loading, and File Selection in a Daydream Unity Media Player
Tencent Music Tech Team
Tencent Music Tech Team
Aug 25, 2017 · Mobile Development

Why Android ContentProvider Client Processes May Be Killed by AMS: Deep Dive into StableCount and Process Cleanup

When a client app acquires a stable ContentProvider reference, Android’s ActivityManagerService tracks it with a stableCount; if the provider’s server process dies—due to low‑memory kill, startup failure, or timeout—while stableCount remains above zero, AMS will terminate the dependent client process.

AMSAndroidContentProvider
0 likes · 18 min read
Why Android ContentProvider Client Processes May Be Killed by AMS: Deep Dive into StableCount and Process Cleanup
WeChat Client Technology Team
WeChat Client Technology Team
Aug 23, 2017 · Mobile Development

Mastering Android Video Encoding: Choosing Codecs and Optimizing YUV Processing

This article examines Android video encoding challenges, compares hardware (MediaCodec) and software (FFmpeg+x264/openh264) codecs, and presents fast YUV frame preprocessing techniques—including scaling, rotation, and mirroring—using NEON optimizations to achieve high‑quality, low‑latency recordings.

AndroidMediaCodecNEON Optimization
0 likes · 15 min read
Mastering Android Video Encoding: Choosing Codecs and Optimizing YUV Processing
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Aug 23, 2017 · Mobile Development

Why Android Application.onCreate() Runs Multiple Times and How to Optimize Process Initialization

The article explains why an Android app may start several processes, causing Application.onCreate() to execute multiple times, and presents various techniques—including android:process configuration, process‑specific initialization, getRunningAppProcesses(), UsageStatsManager, and the AndroidProcesses library—to reduce startup latency and manage running processes across different Android versions.

AndroidMobile Developmentapplication
0 likes · 8 min read
Why Android Application.onCreate() Runs Multiple Times and How to Optimize Process Initialization
JD Retail Technology
JD Retail Technology
Aug 19, 2017 · Mobile Development

Key Issues and Solutions in Implementing the Aura Android Plugin Framework

This article explains the major challenges tackled by the Aura Android plugin framework—including component representation, class loading, resource handling, host‑plugin interaction, and packaging—and outlines how solving these enables building a generic, scalable plugin architecture for mobile apps.

AURAAndroidMobile Development
0 likes · 9 min read
Key Issues and Solutions in Implementing the Aura Android Plugin Framework
Meituan Technology Team
Meituan Technology Team
Aug 17, 2017 · Mobile Development

Real‑time Android Studio Source Code Security Scanning with FindBugs Extension (Code Arbiter)

Code Arbiter extends the FindBugs plugin to provide real‑time Android Studio source‑code security scanning, implementing line‑by‑line API misuse detection, empty TrustManager checks, taint‑analysis of sources and sinks, and custom bytecode checks for unprotected Intent/Bundle reads, all packaged as a JAR for instant developer feedback.

AndroidCode ArbiterIDE plugin
0 likes · 20 min read
Real‑time Android Studio Source Code Security Scanning with FindBugs Extension (Code Arbiter)
Tencent TDS Service
Tencent TDS Service
Aug 17, 2017 · Mobile Development

How VasSonic Boosted Mobile WebView Performance by Over 40%

VasSonic, a lightweight high‑performance hybrid framework developed by Tencent’s VAS team, evolved from addressing slow H5 page loads in Mobile QQ to implementing terminal optimizations, static and dynamic rendering, parallel loading, and incremental updates, ultimately cutting first‑screen load time by more than 40%.

AndroidVasSonicWebView optimization
0 likes · 18 min read
How VasSonic Boosted Mobile WebView Performance by Over 40%
Qunar Tech Salon
Qunar Tech Salon
Aug 11, 2017 · Mobile Development

Understanding Permissions4M: An Android Compile‑Time Annotation Framework for Runtime Permissions

This article explains the design and implementation of Permissions4M, an Android library that uses compile‑time annotations to simplify runtime permission handling, covering the pre‑compilation, compilation, and post‑compilation stages, module structure, key code snippets, and usage patterns.

AndroidAnnotation ProcessingCompile-time
0 likes · 18 min read
Understanding Permissions4M: An Android Compile‑Time Annotation Framework for Runtime Permissions
Tencent TDS Service
Tencent TDS Service
Aug 10, 2017 · Mobile Development

How to Achieve Near-Instant Android App Launch: Cold Start Optimization Guide

This article explains why Android apps suffer noticeable delays on cold start, breaks down the launch lifecycle, and provides practical optimizations—including reducing work in lifecycle callbacks, avoiding unnecessary delays, customizing window backgrounds, and using profiling tools—to dramatically cut startup time.

Androidcold start
0 likes · 10 min read
How to Achieve Near-Instant Android App Launch: Cold Start Optimization Guide
Qunar Tech Salon
Qunar Tech Salon
Aug 8, 2017 · Fundamentals

Introduction to Kotlin: Language Features, Design Philosophy, and Practical Use in Backend and Mobile Development

This article provides a comprehensive overview of Kotlin, covering its basic syntax, key language features such as static typing, type inference, functional and object‑oriented support, its design philosophy of practicality, conciseness and safety, seamless Java interoperability, and its applications in server‑side and Android development together with tooling and compilation details.

AndroidKotlinProgramming Language
0 likes · 26 min read
Introduction to Kotlin: Language Features, Design Philosophy, and Practical Use in Backend and Mobile Development
JD Retail Technology
JD Retail Technology
Aug 4, 2017 · Mobile Development

Dynamic Floor-Based Architecture for JD.com Mobile Product Detail Page

This article presents a comprehensive technical solution for JD.com's mobile product detail page, describing the challenges of static layouts, the concept of floor-based dynamic composition, server‑driven configuration, implementation steps, and performance optimizations using RecyclerView and bitmap substitution to ensure a flexible, low‑latency user experience.

AndroidFloorizationMobile Development
0 likes · 12 min read
Dynamic Floor-Based Architecture for JD.com Mobile Product Detail Page
Qunar Tech Salon
Qunar Tech Salon
Aug 3, 2017 · Information Security

Why Use LLVM for Obfuscation and How to Apply It in Android Development

This article explains the reasons for using LLVM to obfuscate Android applications, describes various LLVM-based obfuscation techniques such as instruction substitution, control‑flow flattening, bogus control flow, and custom passes, and illustrates their effects with diagrams.

AndroidLLVMMobile Development
0 likes · 2 min read
Why Use LLVM for Obfuscation and How to Apply It in Android Development
Tencent Music Tech Team
Tencent Music Tech Team
Jul 28, 2017 · Mobile Development

Dynamic Image Formats and Performance Comparison on Android

The article defines dynamic image formats, traces their history from GIF to WebP, compares GIF, APNG and WebP features and Android decoding performance, showing WebP offers smaller files and faster loading at higher CPU cost, while GIF remains most compatible and CPU‑efficient.

APNGAndroidDynamic Images
0 likes · 19 min read
Dynamic Image Formats and Performance Comparison on Android
Tencent TDS Service
Tencent TDS Service
Jul 27, 2017 · Mobile Development

Explore Android O: New Features, APIs, and Development Tips

This article provides a comprehensive overview of Android O's major updates—including Fluid Experiences like notification channels, picture‑in‑picture, adaptive icons, autofill, and media enhancements—along with behavior and security changes, new APIs, and practical code examples for developers.

Adaptive IconsAndroidAndroid O
0 likes · 23 min read
Explore Android O: New Features, APIs, and Development Tips
Baidu Intelligent Testing
Baidu Intelligent Testing
Jul 26, 2017 · Mobile Development

SmartMonkey: An Enhanced Android Automated Testing Framework

This article introduces SmartMonkey, a custom Android testing solution that overcomes the randomness and inefficiency of the built‑in Monkey tool by using UIAutomator to parse UI hierarchies, select meaningful nodes, and execute controlled actions for more effective stability and functional testing.

AndroidAutomated TestingMobile Development
0 likes · 8 min read
SmartMonkey: An Enhanced Android Automated Testing Framework
Meituan Technology Team
Meituan Technology Team
Jul 20, 2017 · Mobile Development

Remote Debugging of Android Apps via Custom JDWP Channels

The article describes how to remotely debug Android apps by creating a custom JDWP socket channel that bypasses Android 7.0’s library restrictions using a fake dlsym ELF parser, enabling developers to retrieve runtime state from production builds without prior instrumentation or user cooperation.

AndroidELFdynamic linking
0 likes · 16 min read
Remote Debugging of Android Apps via Custom JDWP Channels
Hujiang Technology
Hujiang Technology
Jul 13, 2017 · Mobile Development

Resolving Threading and FindClass Issues in Android NDK

The article explains how upgrading the Android NDK introduces threading pitfalls such as ANR and FindClass failures, and provides step‑by‑step solutions using main‑thread class lookup, global references, and thread attachment to safely execute JNI calls in background threads.

AndroidFindClassJNI
0 likes · 4 min read
Resolving Threading and FindClass Issues in Android NDK
Tencent Music Tech Team
Tencent Music Tech Team
Jul 7, 2017 · Mobile Development

Android O New Features, Behavior Changes, and API Updates

Android O (8.0) adds fluid‑experience features such as notification channels and dots, picture‑in‑picture, adaptive icons, autofill, downloadable fonts, pinned shortcuts, TextView auto‑sizing and media enhancements, while Vitals improve battery, security and stability, and it introduces background execution limits, stricter permissions, new WebView and UI APIs, unified margins, animation set improvements, and overlay‑window changes.

AndroidMobile DevelopmentNotifications
0 likes · 23 min read
Android O New Features, Behavior Changes, and API Updates
WeChat Client Technology Team
WeChat Client Technology Team
Jun 30, 2017 · Mobile Development

How WeChat Re‑engineered Its Android Architecture for Scalability

This article chronicles the evolution of WeChat's Android architecture from a simple layered design through multi‑process and modular restructurings, explains why a major refactor was needed, and details the new communication, module, and code‑boundary strategies that enable faster development, better isolation, and a lightweight WeChat nano demo.

AndroidArchitectureGradle
0 likes · 28 min read
How WeChat Re‑engineered Its Android Architecture for Scalability
Didi Tech
Didi Tech
Jun 30, 2017 · Mobile Development

Didi’s VirtualAPK: An Open‑Source Android Plugin Framework for Dynamic Feature Delivery

Didi’s newly open‑source VirtualAPK framework lets Android apps deliver new features, hot‑fixes, and experimental functionality instantly through modular plugins, offering full component support, minimal intrusion, easy host‑resource access, and broad device compatibility—overcoming the limitations of existing plugin solutions for rapid, reliable business updates.

AndroidDynamic ReleaseMobile Development
0 likes · 5 min read
Didi’s VirtualAPK: An Open‑Source Android Plugin Framework for Dynamic Feature Delivery
Qunar Tech Salon
Qunar Tech Salon
Jun 29, 2017 · Mobile Development

Exploring Kotlin: Features, Compatibility, and Advantages for Mobile Development

This article examines Kotlin’s rise after Google I/O 2017, its multi‑platform compilation capabilities, key language features such as immutability, reduced boilerplate, null‑safety, and seamless Java interoperability, while offering practical insights for Android and cross‑platform mobile developers.

AndroidInteroperabilityKotlin
0 likes · 6 min read
Exploring Kotlin: Features, Compatibility, and Advantages for Mobile Development
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.

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

AndroidMobile DevelopmentNetwork Traffic
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.

AndroidKotlinMobile Development
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.

AndroidHello WorldIntelliJ IDEA
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 FunctionsInheritance
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
Liulishuo Tech Team
Liulishuo Tech Team
May 24, 2017 · Mobile Development

Understanding Dagger 2 Modules, Components, and Subcomponents in Android

This article explains how Dagger 2 structures dependency injection for Android apps using Modules, Components, and Subcomponents, illustrating their roles with diagrams, comparing them to manual injection, and showing how they clarify code dependencies while keeping runtime overhead minimal.

AndroidDagger2Mobile Development
0 likes · 4 min read
Understanding Dagger 2 Modules, Components, and Subcomponents in Android
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.

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

AndroidCodeConversionDexGuard
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