Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Mobile Development

12 min read

Master Android Hooking: From View OnClickListener to Xposed Framework

This article explains the concept of Android Hook, demonstrates how to intercept View.OnClickListener using Java reflection, shows step‑by‑step code for hooking startActivity via ActivityThread instrumentation, and introduces the Xposed framework’s mechanism for system‑wide method interception, providing practical examples and key implementation tips.

18 min read

Master WeChat Mini Program Login: From wx.login to Secure Token Authentication

This guide walks through the complete implementation of WeChat Mini Program login, covering front‑end wx.login calls, back‑end code2Session exchanges, database schema design, API specifications, environment configuration, token validation via interceptors, and key security considerations, all illustrated with code snippets and diagrams.

3 min read

Will Android Power Future PCs? Google’s Plan to Merge Android with ChromeOS Explained

Google announced it will retain both Android and ChromeOS while rebuilding ChromeOS on the Android stack, aiming to launch Android‑based PCs by 2026 that combine ChromeOS‑like experience with full Android app compatibility, leveraging Qualcomm’s new Snapdragon processors for seamless cross‑device integration.

8 min read

CodeGenie: HarmonyOS-Native Code Completion with Cross-Module Intelligence & Adaptive Acceptance

CodeGenie leverages a Huawei-curated HarmonyOS corpus to provide context-aware code completion with three trigger modes, fine-grained acceptance controls, cross-module dependency resolution, and adaptive style learning, enabling developers to generate accurate ArkTS code while maintaining full control over suggestions.

6 min read

HarmonyOS Navigation Deep Dive: Dialog Routing with NavDestination Dialog Mode

This article explains how to implement dialog routing in HarmonyOS using the Navigation component's Dialog mode, contrasting Standard and Dialog NavDestination modes, and provides a complete shopping cart example with ArkTS code demonstrating persistent, non-blocking dialogs with transition effects.

12 min read

Building Offline‑First Android Apps: Room, WorkManager, Paging 3 & Compose

Learn how to create robust offline‑first Android applications by combining local data storage with Room, background synchronization using WorkManager, efficient pagination via Paging 3, key‑value handling with DataStore, and responsive UI updates through Jetpack Compose, ensuring seamless user experience across unstable network conditions.

10 min read

CodeGenie AI Slashes HarmonyOS Tuning Time: Cold Start, Jank & Memory Leaks Auto-Diagnosed

Huawei's CodeGenie Smart Tuning in DevEco Studio 6.0.0 Beta uses 20+ atomic profiling tools and a curated knowledge base to let developers diagnose cold-start delays, frame drops, and memory leaks via natural-language queries, cutting manual log analysis by half.