Tagged articles

Android

1864 articles · Page 16 of 19
360 Tech Engineering
360 Tech Engineering
Apr 5, 2018 · Mobile Development

Understanding Android P Hidden API Restrictions and Their Implementation

This article explains how Android P’s DP1 preview restricts non‑SDK API usage by detailing the hidden‑API greylist mechanism, the compilation‑time processing that marks methods and fields in dex files, and the runtime checks performed by the ART virtual machine to enforce these restrictions.

Access FlagsAndroidCompilation
0 likes · 8 min read
Understanding Android P Hidden API Restrictions and Their Implementation
360 Quality & Efficiency
360 Quality & Efficiency
Apr 2, 2018 · Mobile Development

Using minicap for Fast Android Screen Capture

This article introduces the minicap tool—a native NDK‑based screen‑capture solution for Android—explaining its advantages over the built‑in screencap command, how to compile or obtain binaries, install them on a device, and run it to obtain high‑speed, low‑size screenshots for automation testing.

AndroidNDKminicap
0 likes · 5 min read
Using minicap for Fast Android Screen Capture
Meituan Technology Team
Meituan Technology Team
Mar 29, 2018 · Mobile Development

Solving Android Toast Restrictions and Crash Issues

To avoid crashes and missing messages caused by newer Android restrictions on Toast—such as disabled notifications, BadTokenException on pre‑8.0 devices, and token‑null errors on Android 7.1—developers intercept Toast.show with AspectJ, replace it with a custom MToast, handle exceptions, and ultimately migrate to a robust Snackbar‑based notification system.

AndroidAspectJCrash
0 likes · 18 min read
Solving Android Toast Restrictions and Crash Issues
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Mar 28, 2018 · Mobile Development

Why Does MotionPro VPN Drop on Android? Common Causes and Fixes

The article opens with Confucius' teachings on knowledge and inquiry, then presents a developer's issue where MotionPro VPN disconnects on Android, outlines two main causes—lack of app trust and background cleaning by phone managers—and provides clear steps to whitelist the app and reinstall it with trust enabled.

AndroidMobile DevelopmentTroubleshooting
0 likes · 3 min read
Why Does MotionPro VPN Drop on Android? Common Causes and Fixes
Qizhuo Club
Qizhuo Club
Mar 27, 2018 · Mobile Development

How Android P DP1 Restricts Non‑SDK Calls: Hidden API Mechanisms Explained

This article examines the Android P DP1 hidden‑API restrictions, detailing the compilation‑time generation of grey‑list files, the transformation of access flags in DEX structures, and the runtime checks performed by the ART virtual machine to enforce non‑SDK call limits.

ART RuntimeAndroidDP1
0 likes · 10 min read
How Android P DP1 Restricts Non‑SDK Calls: Hidden API Mechanisms Explained
21CTO
21CTO
Mar 24, 2018 · Mobile Development

What Drives Modern Android Architecture? From MVC to MVX and Router‑Based Decoupling

This article examines the evolution of Android architectural patterns—from MVC, MVP, and MVVM to Flutter‑derived frameworks and Android Architecture Components—explaining their layering, communication mechanisms, and how router‑based decoupling can achieve fully modular mobile applications.

AndroidDispatcherFlutter
0 likes · 11 min read
What Drives Modern Android Architecture? From MVC to MVX and Router‑Based Decoupling
Qizhuo Club
Qizhuo Club
Mar 22, 2018 · Mobile Development

How to Add a Watermark to Android Video Using MediaCodec and OpenGL

This guide explains how to decode a video, render a watermark with OpenGL, re‑encode the frames, and mux them into a new file on Android, covering texture types, viewport positioning, blending, and the required MediaCodec and MediaMuxer code.

AndroidMediaCodecMp4Converter
0 likes · 20 min read
How to Add a Watermark to Android Video Using MediaCodec and OpenGL
Qizhuo Club
Qizhuo Club
Mar 21, 2018 · Mobile Development

How to Encode and Mux MP4 Video on Android Using MediaCodec and MediaMuxer

This tutorial explains how to use Android's MediaCodec to encode video frames—either via byte arrays or an input Surface—and then combine the encoded video with audio using MediaMuxer to produce a synchronized MP4 file, complete with code samples and step‑by‑step guidance.

AndroidMediaCodecMediaMuxer
0 likes · 17 min read
How to Encode and Mux MP4 Video on Android Using MediaCodec and MediaMuxer
JD Tech
JD Tech
Mar 20, 2018 · Mobile Development

Android P Disables Non‑Official APIs: Overview, Testing, and Impact

The article explains how Android P disables hidden (non‑official) APIs, describes the reasons behind the restriction, outlines the grey‑list classification, provides verification steps and code examples for testing, and warns developers of the potential consequences for apps that rely on these APIs.

API restrictionsAndroidP preview
0 likes · 8 min read
Android P Disables Non‑Official APIs: Overview, Testing, and Impact
Qizhuo Club
Qizhuo Club
Mar 20, 2018 · Mobile Development

Extract Video Frames as Images with OpenGL and SurfaceTexture on Android

This guide explains how to convert video stream data into individual bitmap images on Android by using SurfaceTexture to receive decoded frames, OpenGL to render them as external textures, and glReadPixels to capture the RGBA data for saving as PNG files.

AndroidBitmapMediaCodec
0 likes · 19 min read
Extract Video Frames as Images with OpenGL and SurfaceTexture on Android
JD Retail Technology
JD Retail Technology
Mar 19, 2018 · Mobile Development

Android P Restricts Non‑Official APIs: Overview, Verification, and Practical Testing

This article explains how Android P disables the use of hidden (non‑SDK) APIs, describes the official restrictions and grey‑list classifications, provides verification steps and download links, and demonstrates a practical reflection test on the WifiManager hidden field, highlighting the impact on developers.

AndroidAndroid PNon‑SDK API
0 likes · 8 min read
Android P Restricts Non‑Official APIs: Overview, Verification, and Practical Testing
Qizhuo Club
Qizhuo Club
Mar 16, 2018 · Mobile Development

How to Decode and Play Video with MediaCodec on Android Using TextureView

This guide walks through using Android's MediaCodec with a TextureView to extract, decode, and render video frames, covering setup of TextureView, MediaExtractor, handling input and output buffers, synchronizing playback with PTS/DTS, and adding audio playback via AudioTrack and Sonic library.

AndroidAudioTrackMediaCodec
0 likes · 14 min read
How to Decode and Play Video with MediaCodec on Android Using TextureView
Meituan Technology Team
Meituan Technology Team
Mar 15, 2018 · Mobile Development

Platformization and Code Reuse Practices in Meituan Waimai Android Client

Facing duplicated codebases as Meituan Waimai expanded from a single app to multiple channels, the team iteratively tried split libraries, componentization, and MVP layers before settling on a three‑layer platform architecture—platform, business, and host—isolated via Gradle projects, product flavors, and tooling to achieve sustainable, cross‑product code reuse.

AndroidGradlecode reuse
0 likes · 25 min read
Platformization and Code Reuse Practices in Meituan Waimai Android Client
JD Tech
JD Tech
Mar 14, 2018 · Mobile Development

Design and Implementation of a Non‑Intrusive UI Thread Lag Monitoring SDK for Android

The article describes the background, architecture, and implementation details of a non‑intrusive Android SDK that monitors UI‑thread stalls, collects performance data, aggregates it on the server, and automatically generates work orders to help developers pinpoint and resolve lag issues efficiently.

AndroidMobile DevelopmentPerformance Monitoring
0 likes · 11 min read
Design and Implementation of a Non‑Intrusive UI Thread Lag Monitoring SDK for Android
Qizhuo Club
Qizhuo Club
Mar 13, 2018 · Mobile Development

Mastering Android MediaCodec: From Basics to Advanced Video Processing

This article explores Android’s MediaCodec API, detailing its role in hardware video encoding/decoding, buffer management, data types, lifecycle states, and practical code examples, providing developers with a comprehensive guide to implementing advanced video processing features such as watermarking and transcoding on mobile devices.

AndroidHardware DecodingMediaCodec
0 likes · 10 min read
Mastering Android MediaCodec: From Basics to Advanced Video Processing
Tencent TDS Service
Tencent TDS Service
Mar 8, 2018 · Mobile Development

How to Detect and Analyze Android Thread Deadlocks with Automated Monitoring

This article describes the background of Android thread freeze issues caused by deadlocks, presents a client‑server monitoring architecture that captures thread and lock information via system traces, details automated analysis methods for deadlock detection and non‑deadlock causes, and shares the observed performance improvements and future plans.

Androiddeadlockthread monitoring
0 likes · 17 min read
How to Detect and Analyze Android Thread Deadlocks with Automated Monitoring
Baidu Intelligent Testing
Baidu Intelligent Testing
Mar 2, 2018 · Mobile Development

Automated Performance Testing Solutions for Android and iOS Apps

The article outlines comprehensive automated performance testing approaches for Android and iOS applications, covering challenges of data accuracy, reliability and volume, and describing configurable UI automation, remote device management, data collection, and reporting mechanisms to enable scalable, low‑effort mobile testing.

AndroidPerformance AutomationUI automation
0 likes · 13 min read
Automated Performance Testing Solutions for Android and iOS Apps
Meituan Technology Team
Meituan Technology Team
Feb 28, 2018 · Mobile Development

Holmes Dynamic Logging System for Mobile Apps: Automatic Instrumentation and Runtime Lua Scripting

Holmes is a zero‑cost dynamic logging system for Android apps that automatically instruments every method to emit trace logs, stores them locally, and lets developers remotely retrieve precise execution histories and run Lua scripts for on‑device snapshots, dramatically reducing debugging time despite fragmentation and low performance impact.

Androiddynamic loggingruntime scripting
0 likes · 14 min read
Holmes Dynamic Logging System for Mobile Apps: Automatic Instrumentation and Runtime Lua Scripting
360 Quality & Efficiency
360 Quality & Efficiency
Feb 28, 2018 · Mobile Development

Appium + Python: Environment Setup and a Simple Mobile Automation Demo

This guide walks through installing the required tools, configuring Appium with Python on Windows, extracting an Android app's package and activity, writing a basic automation script, launching the app, using uiautomatorviewer for element location, and applying tips for Chinese input and service timeout handling.

AndroidAppiumUIAutomatorViewer
0 likes · 7 min read
Appium + Python: Environment Setup and a Simple Mobile Automation Demo
Tencent Music Tech Team
Tencent Music Tech Team
Feb 9, 2018 · Mobile Development

Understanding String Encoding in Android JNI: From Native Crash to Source Code Analysis

This article investigates an Android JNI native crash caused by misusing NewString(), examines why a custom UTF‑8‑to‑UTF‑16 conversion was used instead of NewStringUTF(), compares Dalvik and ART string encodings, reveals a Dalvik UTF‑8 conversion bug fixed in ART, and advises developers on encoding nuances across Android versions.

ARTAndroidDalvik
0 likes · 26 min read
Understanding String Encoding in Android JNI: From Native Crash to Source Code Analysis
Qizhuo Club
Qizhuo Club
Feb 9, 2018 · Fundamentals

Unlocking Android's ELF Files: A Beginner's Guide to the Binary Format

This article introduces the ELF file format used in Linux and Android, explains its three main types, compares it to Windows PE, and outlines how linkers and loaders interpret ELF headers, sections, and segments for native development and reverse engineering.

AndroidELFNative Development
0 likes · 8 min read
Unlocking Android's ELF Files: A Beginner's Guide to the Binary Format
Meituan Technology Team
Meituan Technology Team
Feb 8, 2018 · Mobile Development

Logan: A High‑Performance Mobile Logging Library for Meituan‑Dianping

Logan is Meituan‑Dianping’s native C‑based mobile logging library that uses MMAP caching, streaming compression and encryption, and a unified protocol to eliminate Java‑heap GC pauses, prevent log loss, secure data, and provide efficient retrieval and proactive reporting across dozens of apps.

AndroidLog ManagementNative C Library
0 likes · 15 min read
Logan: A High‑Performance Mobile Logging Library for Meituan‑Dianping
Meituan Technology Team
Meituan Technology Team
Feb 2, 2018 · Information Security

Detection Techniques for Xposed Installer and Cydia Substrate on Android

The article explains how Android hooking frameworks Xposed Installer and Cydia Substrate operate and provides practical Java‑ and native‑level detection methods—such as package‑name checks, stack‑trace inspection, memory‑map scanning, and signature matching—to identify their presence and strengthen app security.

AndroidCydia SubstrateHook Detection
0 likes · 15 min read
Detection Techniques for Xposed Installer and Cydia Substrate on Android
360 Quality & Efficiency
360 Quality & Efficiency
Feb 2, 2018 · Mobile Development

Understanding Android ANR (Application Not Responding) and a Comparative Review of Monitoring Solutions

This article explains the causes and trigger conditions of Android ANR, describes the underlying message‑driven mechanism, and compares four popular detection approaches—BlockCanary, ANR‑WatchDog, SafeLooper, and FileObserver—highlighting their advantages, limitations, and practical usage recommendations.

ANRANR-WatchDogAndroid
0 likes · 7 min read
Understanding Android ANR (Application Not Responding) and a Comparative Review of Monitoring Solutions
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 31, 2018 · Mobile Development

How DingTalk Android Achieved Robust Accessibility for the Visually Impaired

This article details DingTalk's Android accessibility journey—starting in mid‑2017, collaborating with the Shenzhen Information Accessibility Research Association, leveraging TalkBack, implementing contentDescription, focus navigation, custom views and services, and emphasizing thorough testing—to empower millions of visually impaired users in China.

AndroidDingTalkMobile Development
0 likes · 13 min read
How DingTalk Android Achieved Robust Accessibility for the Visually Impaired
Qizhuo Club
Qizhuo Club
Jan 26, 2018 · Mobile Development

Unveiling How RePlugin’s Gradle Plugins Automate Host & Plugin Build Processes

This article explains how the two essential Gradle plugins—replugin-host-gradle and replugin-plugin-gradle—generate configuration files, inject AndroidManifest components, create built‑in plugin descriptors, and use Transform API to modify bytecode, enabling seamless plugin development and integration in Android projects.

AndroidGradleRePlugin
0 likes · 10 min read
Unveiling How RePlugin’s Gradle Plugins Automate Host & Plugin Build Processes
Tencent Music Tech Team
Tencent Music Tech Team
Jan 26, 2018 · Mobile Development

Comparative Study and Implementation of Small‑Window Video Playback on Android

The article compares Android small‑window video playback techniques—SurfaceView, GLSurfaceView and TextureView—detailing their animation limitations, providing source‑code examples for embedded and floating implementations, and showing that TextureView combined with a singleton player offers the smoothest, most reliable small‑window experience.

AndroidSurfaceViewTextureView
0 likes · 14 min read
Comparative Study and Implementation of Small‑Window Video Playback on Android
360 Quality & Efficiency
360 Quality & Efficiency
Jan 22, 2018 · Information Security

High‑Risk Android WebView Cross‑Origin Access Vulnerability – Description, Impact, Detection, and Mitigation

A security bulletin released on January 9 2018 details a critical Android WebView cross‑origin vulnerability that can expose user privacy data and credentials, outlines its widespread impact on many apps, and provides detection tools and concrete remediation steps for developers.

AndroidCross-Origininformation security
0 likes · 4 min read
High‑Risk Android WebView Cross‑Origin Access Vulnerability – Description, Impact, Detection, and Mitigation
Tencent TDS Service
Tencent TDS Service
Jan 18, 2018 · Mobile Development

Detecting and Analyzing Android UI Thread Lag with Looper Logging and Choreographer

This article explains why Android UI lag hurts user experience, reviews traditional adb‑based detection methods, introduces a new in‑app monitoring system that leverages Looper log matching and Choreographer.FrameCallback to capture precise stack traces, and describes its implementation, performance impact, data processing pipeline, and real‑world results.

AndroidLooperMobile Development
0 likes · 22 min read
Detecting and Analyzing Android UI Thread Lag with Looper Logging and Choreographer
Qizhuo Club
Qizhuo Club
Jan 15, 2018 · Mobile Development

Integrating Fresco Image Loading Library with RePlugin in Android

This guide explains what Fresco is, shows how to add its dependencies, use SimpleDraweeView in XML, and details a plugin‑friendly approach for sharing Fresco across host and RePlugin modules by converting the drawee AAR to a JAR and handling custom attribute callbacks.

AndroidFrescoRePlugin
0 likes · 6 min read
Integrating Fresco Image Loading Library with RePlugin in Android
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jan 14, 2018 · Mobile Development

Top 30+ Java & Android Interview Questions Every Engineer Should Master

This article compiles essential Java fundamentals and Android development interview questions—from interface purpose and abstract classes to thread blocking, memory leaks, service lifecycles, layout optimizations, and common design patterns—providing concise explanations and code snippets to help candidates ace technical screenings.

AndroidInterviewQuestionsMobileDevelopment
0 likes · 40 min read
Top 30+ Java & Android Interview Questions Every Engineer Should Master
Tencent Music Tech Team
Tencent Music Tech Team
Jan 12, 2018 · Mobile Development

Analysis of Toast Display Issues in Android Applications

The article examines common Android Toast problems, detailing exceptions like WindowManager$BadTokenException and sporadic display failures, explains how Toast uses a system TYPE_TOAST window, analyzes the underlying source code, and offers practical solutions to prevent and fix these issues.

AndroidBinder ProxyNotificationManager
0 likes · 11 min read
Analysis of Toast Display Issues in Android Applications
Tencent TDS Service
Tencent TDS Service
Jan 11, 2018 · Mobile Development

How Android Plugin Architecture Evolves: From ProxyActivity to Full Sandbox

This article traces the five‑year evolution of Android plugin technology, comparing representative frameworks across three generations, and delves into core mechanisms such as class loading, resource handling, and activity lifecycle management, while providing detailed code examples and discussing future directions like componentization and app sandboxing.

AndroidClassLoaderplugin
0 likes · 25 min read
How Android Plugin Architecture Evolves: From ProxyActivity to Full Sandbox
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 9, 2018 · Frontend Development

How Weex Powered Youku’s Double‑11 Live Stream: Architecture, Challenges & Solutions

This article details how Youku rebuilt its Double‑11 live‑streaming platform with Weex, covering the overall architecture, component modularization, interactive feature support, gesture conflict resolution, screen‑rotation handling, video corner rendering, performance optimizations, and the impressive results achieved during the event.

AndroidComponentizationPerformance
0 likes · 14 min read
How Weex Powered Youku’s Double‑11 Live Stream: Architecture, Challenges & Solutions
Meituan Technology Team
Meituan Technology Team
Jan 5, 2018 · Mobile Development

Performance Optimization of JSON Serialization on Android: Replacing Gson with JSONObject and Mson

The article shows that replacing reflection‑heavy Gson with lightweight JSONObject for manual serialization and a compile‑time annotation‑processor generated library called Mson can cut JSON parsing and writing time to about one‑tenth, while maintaining compatibility and eliminating ProGuard rules for performance‑critical Android apps.

AndroidAnnotationProcessorGson
0 likes · 13 min read
Performance Optimization of JSON Serialization on Android: Replacing Gson with JSONObject and Mson
37 Interactive Technology Team
37 Interactive Technology Team
Jan 5, 2018 · Mobile Development

Overview and Detailed Design of the Android Checkout In‑App Billing Library

The Android Checkout library wraps Google Play’s In‑App Billing API, providing a streamlined, lifecycle‑aware interface that handles service binding, request queuing, caching, purchase verification, and pagination, while exposing core classes such as Billing, Request, Checkout, Inventory, and configuration to simplify integration despite added synchronization overhead.

AndroidCheckout LibraryIn-App Billing
0 likes · 23 min read
Overview and Detailed Design of the Android Checkout In‑App Billing Library
360 Quality & Efficiency
360 Quality & Efficiency
Jan 3, 2018 · Mobile Development

Analyzing and Extending Minicap for Dynamic Resolution and Rotation Handling

This article introduces the open‑source Android screen‑capture tool Minicap, examines its architecture and command‑line usage, and details code modifications that enable real‑time rotation detection, dynamic resolution changes, and inclusion of rotation metadata in the image stream for more reliable remote device display.

AndroidNDKclient‑server
0 likes · 12 min read
Analyzing and Extending Minicap for Dynamic Resolution and Rotation Handling
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 DevelopmentSurfaceView
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.

AndroidC++Dynamic Loading
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.

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

How MVP Architecture Streamlines Android App Development in Suning+ Project

This article explains why the Suning+ Android app adopted the MVP pattern, details each layer's responsibilities, showcases the project’s multi‑layer structure, directory layout, and code snippets, and demonstrates how MVP reduces coupling and accelerates iterative development.

AndroidArchitectureDesign Pattern
0 likes · 9 min read
How MVP Architecture Streamlines Android App Development in Suning+ Project
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.

AndroidLong ConnectionMobile Development
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.

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

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

AndroidPlugin Frameworkbuild system
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

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.

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

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

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

AndroidAnimationJSON
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
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
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 DevelopmentProcess Management
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.

AURAAndroidClassLoader
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 ProcessingJava
0 likes · 18 min read
Understanding Permissions4M: An Android Compile‑Time Annotation Framework for Runtime Permissions