Tencent Music Tech Team
Author

Tencent Music Tech Team

Public account of Tencent Music's development team, focusing on technology sharing and communication.

141
Articles
0
Likes
368
Views
0
Comments
Recent Articles

Latest from Tencent Music Tech Team

100 recent articles max
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
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
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 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.

AndroidNotificationsOreo
0 likes · 23 min read
Android O New Features, Behavior Changes, and API Updates
Tencent Music Tech Team
Tencent Music Tech Team
Jun 30, 2017 · Fundamentals

Understanding GIF Format, LZW Compression, and Color Quantization Techniques

The GIF format, introduced by CompuServe in 1987, uses LZW lossless compression and a block‑based file structure supporting 256‑color palettes, transparency, and animation, while efficient color‑quantization methods such as octree trees dramatically speed encoding compared to slower median‑cut algorithms without sacrificing visual quality.

GIFLZWcolor quantization
0 likes · 18 min read
Understanding GIF Format, LZW Compression, and Color Quantization Techniques
Tencent Music Tech Team
Tencent Music Tech Team
Jun 23, 2017 · Backend Development

New Features and Changes in npm@5: Detailed Overview and Comparison with Yarn

npm 5 introduces automatic package‑lock generation, default --save, enhanced Git and file‑dependency handling, new prepack/postpack scripts, stronger integrity checks, a fully managed cache and registry tweaks, while narrowing Yarn’s speed advantage despite early bugs, making it a compelling alternative for npm‑centric workflows.

YaRNdependency managementnpm
0 likes · 15 min read
New Features and Changes in npm@5: Detailed Overview and Comparison with Yarn
Tencent Music Tech Team
Tencent Music Tech Team
Jun 2, 2017 · Mobile Development

Promise Design Pattern in iOS Development

The article explains how the Promise design pattern, implemented in iOS via PromiseKit, replaces nested delegate callbacks with chainable `then` calls, detailing its states, internal block‑signature handling for parameter passing, and how it resolves callback‑hell while improving code readability and flow control.

0 likes · 16 min read
Promise Design Pattern in iOS Development
Tencent Music Tech Team
Tencent Music Tech Team
May 11, 2017 · Mobile Development

Understanding Android Audio Volume Architecture and Configuration (Android 6.0)

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

AndroidAudioManagerAudioService
0 likes · 12 min read
Understanding Android Audio Volume Architecture and Configuration (Android 6.0)
Tencent Music Tech Team
Tencent Music Tech Team
May 5, 2017 · Mobile Development

Understanding iOS Core Audio: Definitions of Sample, Frame, and Packet

The article clarifies Apple’s Core Audio terminology—defining a sample as a single channel value, a frame as simultaneous samples, and a packet as one or more contiguous frames—explains why these terms are often confused across audio, networking, and codec contexts, and demonstrates the definitions with an MP3 parsing example.

Core AudioFrameaudio processing
0 likes · 11 min read
Understanding iOS Core Audio: Definitions of Sample, Frame, and Packet
Tencent Music Tech Team
Tencent Music Tech Team
Apr 28, 2017 · Mobile Development

Analysis and Implementation of Android APK Signature Scheme v2

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

APKAndroidGradle
0 likes · 14 min read
Analysis and Implementation of Android APK Signature Scheme v2