OpenHarmony Developer Documentation (Cangjie)
-
Getting Started
- Application Development Guide
- Quick Start
- Using Cangjie Modules in ArkTS Applications
- Using ArkTS APIs in Cangjie Applications
- Development Fundamentals
- Application Package Basics
- Application Package Structure
- Application Package Development and Usage
- Application Package Installation, Uninstallation, and Updates
- Application Configuration Files (Stage Model)
- Application Package FAQs
- Application Package Terminology
- Resource Classification and Access
-
Development
- Application Framework
- Ability Kit (Program Framework Services)
- Ability Kit Introduction
- Application Models
- Stage Model Development Guide
- Stage Model Application Components
- Application/Component-Level Configuration
- UIAbility Component
- Information Carrier Want
- Cross-Application Navigation
- Launching Specific Types of Applications
- Stage Model Application Configuration File
- Stage Model Application Components
- ArkData (Ark Data Management)
- ArkData Introduction
- Application Data Persistence
- Cross-Device Data Synchronization for Same Application (Distributed)
- Data Reliability and Security
- ArkUI (Ark UI Framework)
- ArkUI Introduction
- UI Development (Cangjie Declarative Development Paradigm)
- UI Development (Cangjie Declarative Paradigm) Overview
- Learning Basic UI Paradigm Syntax
- Learning UI Paradigm State Management
- State Management Overview
- State Management (V1)
- Managing Component-Owned States
- Managing Application-Owned States
- Other State Management
- MVVM Pattern
- State Management Best Practices
- State Management Proper Usage Development Guide
- Learning UI Paradigm Rendering Control
- Layout Development
- Adding Components
- Setting Up Component Navigation and Page Routing
- Working with Text
- Using Dialogs
- Dialog Overview
- Using Dialog Boxes
- Menu Control
- Popup Tips
- Binding Modal Pages
- Instant Feedback (Toast)
- Displaying Graphics
- Using Animations
- Animation Overview
- Property Animation
- Transition Animation
- Component Animation
- Animation Curves
- Animation Smoothing
- Animation Effects
- Frame Animation (ohos.animator)
- Supporting Interaction Events
- Using Mirroring Capabilities
- Theme Settings
- Window Management
- Screen Management
- ArkWeb (Ark Web)
- ArkWeb Introduction
- Setting Basic Properties and Events
- Managing Web Page Interactions
- Managing Web Component Network Security and Privacy
- Managing Web Page Loading and Browsing History
- Processing Web Content
- Web Debugging and Maintenance
- Core File Kit (File Basic Services)
- Core File Kit Introduction
- Application Files
- Application Files Overview
- Application Sandbox Directory
- Application File Access and Management
- Application File Sharing
- User Files
- Localization Kit (Localization Development Service)
- Introduction to Localization Kit
- Application Internationalization
- International UI Design
- Setting Calendar and Almanac
- Timezone and Daylight Saving Time Internationalization
- Localized Names
- Application Localization
- Improving Translatability
- Localization Testing
- Ability Kit (Program Framework Services)
- System
- Security
- Application Access Control
- Access Control Overview
- Application Permission Management
- Application Permission Management Overview
- Requesting Application Permissions
- Application Permission List
- Open Permissions (System Authorization)
- Open Permissions (User Authorization)
- Restricted Open Permissions
- Application Permission Group List
- Crypto Architecture Kit (Cryptographic Algorithm Framework Service)
- Introduction to Crypto Architecture Kit
- Key Generation and Conversion
- Key Generation and Conversion Overview
- Key Generation and Conversion Specifications
- Key Generation and Conversion Development Guide
- Encryption/Decryption
- Encryption/Decryption Overview
- Encryption/Decryption Algorithm Specifications
- Encryption/Decryption Development Guide
- AES Symmetric Key (GCM Mode) Encryption/Decryption (Cangjie)
- AES Symmetric Key (CCM Mode) Encryption/Decryption (Cangjie)
- AES Symmetric Key (CBC Mode) Encryption/Decryption (Cangjie)
- AES Symmetric Key (ECB Mode) Encryption/Decryption (Cangjie)
- AES Symmetric Key (GCM Mode) Segmented Encryption/Decryption (Cangjie)
- 3DES Symmetric Key (ECB Mode) Encryption/Decryption (Cangjie)
- SM4 Symmetric Key (ECB Mode) Encryption/Decryption (Cangjie)
- SM4 Symmetric Key (CBC Mode) Encryption/Decryption (Cangjie)
- SM4 Symmetric Key (GCM Mode) Encryption/Decryption (Cangjie)
- SM4 Symmetric Key (GCM Mode) Segmented Encryption/Decryption (Cangjie)
- Message Digest Calculation
- Message Digest Calculation Overview and Specifications
- Message Digest Calculation Development Guide
- Message Authentication Code Calculation
- Secure Random Number Generation
- Universal Keystore Kit (Key Management Service)
- Introduction to Universal Keystore Kit
- Universal Keystore Basic Concepts
- Key Generation/Import
- Key Generation
- Key Generation Overview and Specifications
- Development Guide
- Key Import
- Key Generation
- Key Usage
- Key Usage Overview and General Process
- Encryption/Decryption
- Signing/Verification
- Key Agreement
- Key Agreement Overview and Specifications
- Development Guide
- Key Derivation
- Key Derivation Overview and Specifications
- Development Guide
- HMAC
- HMAC Overview and Specifications
- Development Guide
- Key Deletion
- Key Attestation
- Other Operations
- Key Existence Check
- Key Property Retrieval
- Key Export
- Application Access Control
- Network
- Connectivity Kit (Short-Range Communication Service)
- Network Kit (Network Service)
- Introduction to Network Kit
- Network Kit Data Transmission Capabilities
- Network Kit Network Management Capabilities
- Telephony Kit (Cellular Communication Service)
- Basic Features
- Basic Services Kit (Basic Services)
- Introduction to Basic Services Kit
- Process/Thread Communication
- Inter-Process Communication Using Common Events
- Upload/Download
- Basic Services Kit (Basic Services)
- Hardware
- Sensor Service Kit (Sensor Service)
- Debugging and Optimization
- Performance Analysis Kit (Performance Analysis Service)
- Introduction to Performance Analysis Kit
- HiLog Usage Guide
- HiAppEvent Usage Guide
- HiAppEvent Introduction
- Event Subscription
- Application Events
- System Events
- Crash Events
- Appfreeze Events
- HiTraceMeter Usage Guide
- Error Management
- Fault Analysis
- Command Line Tools
- Test Kit (Application Testing Service)
- Debugging Commands
- aa Tool
- bm Tool
- Packing/Unpacking Tools
- Scanning Tool
- cem Tool
- anm Tool
- restool Tool
- param Tool
- power-shell Tool
- atm Tool
- Command Line Tools
- Performance Analysis Kit (Performance Analysis Service)
- Security
- Media
- Camera Kit (Camera Service)
- Camera Kit Overview
- Development Preparation
- Camera Development Guide
- Image Kit (Image Processing Service)
- Media Kit (Media Service)
- Media Development Guide
- Media Information Query
- AVCodec Supported Formats
- Media Development Guide
- Media Library Kit (Media File Management Service)
- Restricted Capabilities
- Camera Kit (Camera Service)
- Graphics
- ArkGraphics 2D (Ark 2D Graphics Service)
- ArkGraphics 2D Introduction
- Customizing Drawing Frame Rates for Different Content Using Variable Frame Rate Capability
- ArkGraphics 2D (Ark 2D Graphics Service)
- Application Services
- Location Kit (Location Service)
- Application Framework
-
API Reference
- API Reference Overview
- Development Instructions
- SystemCapability Usage Guide
- SystemCapability List
- API Tagging Control
- Universal Error Codes
- Application Framework
- Ability Kit (Application Framework Service)
- Cangjie API
- ohos.app.ability.ui_ability
- ohos.app.ability.want
- ohos.ability_access_ctrl (Application Access Control Management)
- ohos.bundle.bundle_manager (bundleManager Management)
- ohos.app.ability.ability_stage
- ohos.app.ability.ability_result
- ohos.app.ability.app_recovery
- ohos.app.ability.ability_constant
- ohos.app.ability.context_constant
- ohos.app.ability.dialog_request
- ohos.app.ability.start_options
- ohos.app.ability.want_constant
- ohos.app.ability
- ohos.application.error_observer
- ohos.application.test_runner
- ohos.element_name
- ohos.metadata
- ohos.security.permission_request_result (PermissionRequestResult)
- ohos.security.skill
- ohos.app.ability.error_manager
- Error Codes
- Cangjie API
- ArkData (Ark Data Management)
- Cangjie API
- Error Codes
- ArkUI (Ark UI Framework)
- Cangjie API
- UI Interface
- Window Management
- Screen Management
- Cangjie Components
- Universal Events
- Universal Attributes
- Size Setting
- Position Setting
- Layout Constraints
- Flex Layout
- Border Setting
- Background Setting
- Opacity Setting
- Visibility Control
- Disable Control
- Overlay
- Z-Order Control
- Graphic Transformation
- Image Effect
- Shape Clipping
- Color Gradient
- Popup Control
- Menu Control
- Focus Control
- Drag and Drop Control
- Component Identifier
- Foreground Color Setting
- Component Content Blur
- Modal Transition Setting
- Safe Area
- Component Content Filling Method
- Touch hot zone settings
- Rows, Columns & Stacks
- Grid & Column Layout
- Scrolling & Swiping
- Navigation & Switching
- Buttons & Pickers
- Text and Input
- Image and Video
- Information Display
- Blank and Divider
- Canvas Drawing
- Graphic Drawing
- Menu
- Animation
- Dialog
- Web
- Custom Components
- State Management and Rendering Control
- Common Definitions
- Thread Control
- Framework Interfaces
- Error Codes
- UI Interface
- Graphics
- Cangjie API
- ArkWeb (Ark Web)
- Cangjie APIs
- Error Codes
- Core File Kit (Basic File Services)
- Cangjie APIs
- Error Codes
- IPC Kit (Inter-Process Communication Services)
- Cangjie APIs
- Error Codes
- Localization Kit (Localization Development Services)
- Ability Kit (Application Framework Service)
- System
- Security
- Crypto Architecture Kit (Cryptographic Algorithm Framework Service)
- Cangjie API
- Error Codes
- Universal Keystore Kit (Key Management Service)
- Cangjie API
- Error Codes
- Crypto Architecture Kit (Cryptographic Algorithm Framework Service)
- Network
- Connectivity Kit (Short-Range Communication Service)
- Cangjie API
- Error Codes
- Network Kit (Network Service)
- Connectivity Kit (Short-Range Communication Service)
- Basic Features
- Basic Services Kit (Basic Services)
- Cangjie API
- Device Management
- Data File Processing
- Process/Thread Communication
- Others
- Error Codes
- Cangjie API
- Basic Services Kit (Basic Services)
- Hardware
- Sensor Service Kit (Sensor Service)
- Cangjie API
- Error Codes
- Telephony Kit
- Cangjie API
- Sensor Service Kit (Sensor Service)
- Debugging & Optimization
- Performance Analysis Kit (Performance Analysis Service)
- Test Kit (Application Testing Service)
- Cangjie API
- Error Codes
- Security
- Media
- Camera Kit (Camera Service)
- Cangjie APIs
- Error Codes
- Image Kit (Image Processing Service)
- Cangjie APIs
- Error Codes
- Media Kit (Media Service)
- Cangjie APIs
- Error Codes
- Media Library Kit (Media File Management Service)
- Camera Kit (Camera Service)
- Graphics
- ArkGraphics2D (Ark 2D Graphics Service)
- Cangjie APIs
- Error Codes
- ArkGraphics2D (Ark 2D Graphics Service)
- Application Services
- Location Kit (Location Service)
- Cangjie APIs
- Error Codes
- Location Kit (Location Service)
- Cangjie and ArkTS Interoperability Library
- Cangjie Programming Language Library API
- API Reference Overview
-
Learning Cangjie Language
- First Look at Cangjie Language
- Basic Concepts
- Basic Data Types
- Functions
- Struct Types
- Enum Types and Pattern Matching
- Classes and Interfaces
- Generics
- Extensions
- Collection Types
- Packages
- Exception Handling
- Concurrency Programming
- Basic I/O Operations
- Network Programming
- Macros
- Reflection and Annotations
- Cross-language Interoperability
- Cangjie-C Interoperability
- Cangjie-ArkTS Interoperability
- Introduction to Interoperability
- Overview
- Scenarios
- Interoperability Methods
- ArkTS Calling Cangjie
- Implementing Interoperability Code on Cangjie Side
- Using Interoperability Code on ArkTS Side
- Cangjie Calling ArkTS
- ArkTS Calling Cangjie
- Interoperability Usage Examples
- Cangjie-ArkTS Interoperability Auxiliary Library
- Cangjie-ArkTS Interoperability Development Guidelines
- Compilation and Build
- Appendix