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

AndroidPicture-in-PictureSurfaceView
0 likes · 14 min read
Comparative Study and Implementation of Small‑Window Video Playback on Android
Tencent Music Tech Team
Tencent Music Tech Team
Jan 19, 2018 · Mobile Development

Analyzing and Solving Android Toast Issues with Snackbar and View System

The article examines Android Toast crashes, explains the system‑level window and drawing lifecycle, and proposes safer alternatives by replacing Toast with a Snackbar or custom view hierarchy, using parent‑finding logic, weak‑reference management, and a protective handler wrapper to prevent exceptions.

AndroidHandlerLifecycle
0 likes · 17 min read
Analyzing and Solving Android Toast Issues with Snackbar and View System
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 ProxyException Handling
0 likes · 11 min read
Analysis of Toast Display Issues in Android Applications
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.

AndroidPicture-in-PictureSurfaceView
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
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
Tencent Music Tech Team
Tencent Music Tech Team
Oct 20, 2017 · Frontend Development

Integrating React‑Native Components into Web with React‑Web: Practices, Issues, and Optimizations

The article describes how to reuse React‑Native code on the web with react‑web by mapping components during bundling, handling platform‑specific layout and flexbox differences, and applying optimizations such as server‑side rendering, on‑demand imports, Preact substitution, and CSS extraction, which together cut bundle size by up to 70 % and halve first‑paint time.

Performance optimizationPreactReact Native
0 likes · 12 min read
Integrating React‑Native Components into Web with React‑Web: Practices, Issues, and Optimizations
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.

ARKitAndroidProject Tango
0 likes · 16 min read
Google ARCore: Principles, Setup, Device Compatibility Hacks, and Comparison with ARKit & Project Tango
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