目录
DlpAntiPeep (Screen Privacy)
Hopping Overview
App Continuation Overview
App Continuation for Data Migration
Common Continuation
Video Casting
Audio Casting
Drag-and-Drop Across Devices
Unified Drag-and-Drop
Cross-Device Pasteboard
Common Scenarios of Cross-Device Pasteboard
Tap to Transfer for Links
Tap to Transfer for Files
Grab & Drop
All-Scenario Collaboration for Office Editing
Smart Watch Map Navigation
All-Scenario Collaboration for Social Communication
Network Pre-connection During Cold Start
Optimization in Live Streaming Under Poor Network Conditions
Solution for Video Export in Background Based on the Continuous Task Mechanism and Live View Kit
Full-Link Stock Tracking Development Practice
Best Practices
Architecture Overview
Layered Architecture Design
Modular Design
Application Concurrency Design
Aspect-Oriented Programming Design
Application Tracking
DialogHub-based Common Dialog Box
ScrollComponents-based Waterfall Layout
ScrollComponents-based Grid Layout
ScrollComponents-based List Layout
Common List Operations
StateStore-based Global State Management
Common Navigation Styles
HMRouter-based Page Redirection
Animation Usage Guide
Long-Take Animation
Dark Mode Adaptation
Page Brightness Settings
ArkTS High-Performance Programming
Aspect-Oriented Programming Based on the Aspect Plug-in Library
Bytecode Instrumentation Based on AbcKitTS
Home Screen Shortcuts
App Icon Configuration and Development
Inter-Application Redirection
Irregularly Shaped Windows on PCs or 2-in-1 Devices
Soft Keyboard Layout Adaptation
Multithreaded Operations for Intensive Relational Store and File Read/Write Tasks
Video Adaptation on Web Pages
Web Page Cross-Origin Solutions
Bluetooth Low Energy
SFFT-based High-Speed Concurrent File Transfer
Optimizing Deferred Photo Delivery
Basic Playback Controls with AVPlayer
Overview
PCM Audio Playback Using AudioRenderer
PCM Audio Playback Using OHAudio
Formatted Audio Playback Using AVPlayer (ArkTS)
Formatted Audio Playback Using AVPlayer (C++)
Short Audio Playback Using SoundPool
Overview
Recording PCM Audio Using AudioCapturer (ArkTS)
Recording PCM Audio Using OHAudio (C++)
Recording Formatted Audio Using AVRecorder (ArkTS)
Recording Formatted Audio Using AVRecorder (C++)
Recording Audio Using AVScreenCapture
Playing Long Videos Using the Video Component
Playing Short Videos Using the Video Component
Audio Focus Management
Audio Monitoring Based on Audio Capabilities
Audio Input Device Management
Audio Output Device Management
Location Positioning
Setting Thread Priority in Heavy-Load Scenarios
Implementing Communication Between Native Child Threads and the UI Main Thread
Overview
Getting Started with an Example
Cross-Device Experience Design
Window Mode
Window Orientation
Immersive Window
Layout
Responsive Layout
Page Layouts
Component Layout
Screen Type-based Layout
Adaptive Layout
Semi-Folded State of Foldable Screens
Responsive Layout on Web
App Multiplier
Interactions Across Devices
Cross-Device Resource Files
Long Video
Stock
Business Office
Music Player
Shopping
Travel Booking
Map Navigation
Lifestyle
Bank Wealth Management
Community Comment
News & Reading
Mobile Payment
Instant Messaging
Image Beautification
Gaming
Settings
Short Video
Cross-Device Feature Development
Cross-Device Camera Interface Adaptation
Cross-Device Screen Adaptation
Cross-Device Project Deployment and Release
Bi-fold Phone App Development
Widescreen Foldable Phone/Widescreen Bar-Type Phone App Development
Tri-Fold Phone App Development
Tablet App Development
Foldable PC App Development
Wearable App Development
Lite Wearable App Development
Vision App Development
Smooth Home Page News Feeds
Page Turning in a Reader
Bidirectional Scrolling List Based on List and Scroller
Dialog Box Component Encapsulation
Custom Font Settings
Seamless Transition of Online Short Videos
Adaptive Scaling and Immersion of Short Videos in Full Screen
Unicast Live Streaming Based on Media Capabilities
Live Co-Hosting Based on Media Capabilities
Landscape/Portrait Mode Switching of Video Apps
Karaoke Solution
Lightweight Video Editing
Audiobook Solution
Troubleshooting Guide for No Sound in Audio Playback
Implementing Image Carousels Using the Swiper Component
Image Previewer
Audio Quality Switching
Image-to-Video Synthesis
Audio Waveform Animation Based on AudioRenderer and AudioCapturer
Adding Watermarks
Recording Playback Timeline Built on Canvas
Bike Sharing
Lock Screen Immersive Live Views
AI-Enhanced Image and Text Creation
Comment Dialog Box
Rich Text Editor
Image Editing Using PixelMap
Image Editing Using PixelMap and Canvas
Troubleshooting Guide for XComponent-Based Image Rendering
Application Security Coding
Application Permission Request
Usage of Device Identifiers
Secure Development with the ArkWeb Component
Application Quality Overview
Performance Experience Design
Detecting Startup Duration Issues
Detecting Main Thread Jank Issues
Detecting Frame Loss During Scrolling
Introduction to Performance Profiling
Analyzing Touch Response Latency of Web Pages
Analyzing Loading Completion Latency of Web Pages
Analyzing Web Frame Rate Issues
Analyzing Time-Consuming Issues in Cross-Thread Serialization
Memory Basics
Obtaining Memory Information of a Process
Analyzing ArkTS/JS Memory
Analyzing Native Memory
Analyzing Kernel-Mode Memory
Analyzing Task Execution Timeout
Optimizing Perception of Smoothness
Controlling Rendering Range
Reducing Layout Nodes
Optimizing Component Rendering
Controlling State Update
Optimizing the Animation Frame Rate
Using Concurrency
Loading Resources in Advance
Improving Running Efficiency
Reducing Time-consuming Operations
Delaying Operation Trigger
Optimizing Component Nesting
Optimizing Performance Using LazyForEach
Optimizing Performance of UI Components
Optimizing Time-Consuming Operations in the Main Thread
Frame-based Rendering in Heavy-Load Scenarios
Optimizing Frame Loss for Long List Loading
Optimizing Frame Loss for Waterfall Loading
Optimizing Frame Loss for Grid Component Loading
Optimizing Frame Loss During Swiper Component Loading
Optimization for Minimizing Redundant Re-rendering
Maleoon GPU Rendering Optimization
Reducing Application Latency
Reducing Application Package Size
Reducing Application Memory Usage
Optimizing Image Loading
Optimizing File Upload and Download
Optimizing Web Loading Performance
Solution to Screen Flickering
Solution to White Image Blocks
High-Performance JSON Parsing
High-Performance Protobuf Parsing
Parallelization Performance Optimization
Power Consumption Overview
User Experience on Application Power Consumption
Scenario-based Power Consumption Test
Power Consumption Detection in Running State
High CPU Load Analysis
Analysis of Invisible Foreground Animation Issues
Analysis of Empty Running Issues of the App UI Process
Analysis of Issues When the Self-Rendered Layer Does Not Use Hardware Composition
Analysis of Issues When Apps Are Prohibited from Using Sensors in the Background
Low-Power Design in Power Saving and Dark Modes
LTPO-based Low-Power Design
HWC-based Low-Power Design
Low-Power Rules in Music Playback Scenarios
Low-Power Rules in Navigation and Positioning Scenarios
Low-Power Rules in Static Scenarios
Low-Power Rules in Video Encoding and Decoding Scenarios
Low-Power Rules in Video Bullet Comment Drawing Scenarios
Low-Power Suggestions for Storing Video Sources to the ROM
Low-Power Suggestions for Layer Composition in Video Scenarios
Low-Power Suggestions for Wi-Fi Loading in Video Scenarios
Low-Power Suggestions for Network Resources Preloading
Low-Power Suggestions for Invisible Components
Proper Use of Background Tasks
Management of Background Applications
CPU Usage
Bluetooth Resources
Network Resources
Audio Resources
GPS Resources
Sensor Resources
Upload and Download
Audio Playback
Positioning and Navigation
System Resources
Vsync Low-Power Optimization
Buffer Low-Power Optimization
Stability Overview
Out-of-Bounds Access Detection Capabilities
Typical Out-of-Bounds Access Issues
Principles of Out-of-Bounds Access Detection Tools
ASan: Detecting Memory Errors
HWASan: Detecting Memory Errors
GWP-ASan: Detecting Memory Errors
Adaptation FAQs
Using TSan to Detect Thread Issues
Detecting JavaScript Memory Leaks
Detecting Native Memory Leaks
JsLeakWatcher Development
Using the Memory Leak Customization Capability
Detecting File Handle Leaks
Detecting Thread Leaks
ArkCompiler: Detecting Runtime Issues
Using Enhanced Detection for Exception Information
UBSan: Detecting Undefined Behavior
Detecting Address Sanitizer
Detecting Resource Leaks
Detecting App Freeze Issues
Detecting App Crash Issues
Detecting Application Kill Events
CppCrash Fault Detection Mechanism and Specifications
SIGSEGV Invalid Memory Access
SIGABRT (Proactive Process Abort)
SIGBUS Illegal Memory Access
SIGILL Illegal Instruction
SIGTRAP Breakpoint or Trap Faults
Overview of Out-of-Bounds Address Faults
Memory Out-of-Bounds Access
Use-After-Free Faults
Repeated Memory Deallocation Faults
Abnormal Memory Deallocation Address Faults
Invalid File Handle Closing Faults
Undefined Abnormal Access Faults
Data Race Abnormal Access Faults
App Freeze Fault Detection Mechanism and Specifications
App Main Thread Blocking Faults
Busy App Main Thread Faults
Fault Modes of ArkWeb GPU Process Suspension
Fault Modes of ArkWeb Render Process Suspension
Overview of ArkTS Memory Leak Faults
Global Handle Memory Leak Faults
Local Handle Memory Leak Faults
VMRoot Memory Leak Faults
OOM Faults Caused by Ultra-Large Object Allocation
Overview of RSS Memory Leak Faults
Memory Leaks Caused by Oversized Native Heap Memory
Memory Leaks Caused by Oversized Anonymous Mapping
Memory Leaks Caused by Oversized File Mapping
Memory Leaks Caused by Oversized Stack Memory
Memory Leaks Caused by Oversized Combination Usage
Overview of Overall PSS Memory Leak Faults
Overall PSS Memory Leak Faults
Overview of DMA Memory Leak Faults
DMA Memory Leak Faults
Overview of ASHMEM Memory Leak Faults
ASHMEM Memory Leak Faults
Overview of GPU Memory Leak Faults
GPU Memory Leak Faults in Single-App Self-Rendering
Overview of ArkWeb V8 OOM Faults
Memory Leak Faults Caused by JS Objects Being Held by the JS Side for a Long Time
Overview of JSVM OOM Faults
Memory Leak Faults Caused by JS Objects Being Held by the Native Side
Memory Leak Faults Caused by JS Objects Being Held by the JS Side for a Long Time
Overview of Thread Leak Faults
Thread Leak Fault Modes
Overview of Handle Leak Fault Modes
Handle Leak Fault Modes
C++ Crash Issue Analysis
JS Crash Issue Analysis
App-Killed Issue Analysis
Out-of-Bounds Address Issue Analysis
Quickly Locating App Crashes in the Develop State
Fast Locating ArkTS Memory Leaks in the Development State
Fast Locating DMA Memory Leaks in the Development State
Fast Locating Native Memory Leaks in the Development State
Analyzing Other Resource Leaks
Troubleshooting App Freeze Issues
Practices for Locating App Freeze Issues of the Top Stack in Ark Runtime
Fast Locating App Freeze in the Development State
Stability Analysis in the O&M State
ArkTS Coding Specifications for NDK Development
Node-API Development Specifications
C++ Coding Specifications
libuv Usage and Cases
Error-prone API Usage Standards
Using DevEco Studio to Statically Check Coding Specifications
HiLog Printing Specifications
Optimization Suggestions for Out-of-Bounds Address Issues
Optimization Suggestions for Resource Leaks
Optimization Suggestions for App Freeze
Optimization Suggestions for CppCrash Issues
Optimization Suggestions for JS Crash Issues
Out-of-Bounds Address Cases
Resource Leak Cases
App Freeze Cases
CppCrash Cases
JS Crash Cases
APM Capability Building
App Events
Crash Monitoring Practice
Customizing the Hvigor Plugin
Building Multi-Target Products
Automated Testing Framework
Application Privacy Protection
Application Data Security
Application Asset Protection Design
Multi-Device Application UI Development
Long Video
Stock
Business Office
Music Player
Shopping
Travel Booking
Map Navigation
Lifestyle
Bank Wealth Management
Community Comment
News & Reading
Mobile Payment
Instant Messaging
Image Beautification
Gaming
Settings
Short Video