OpenHarmony应用开发文档
OpenHarmony应用开发文档
- 应用开发导读
- 入门
- 快速入门
- 开发基础知识
- 应用程序包基础知识
- 应用程序包概述
- 应用程序包结构
- 应用程序包多HAP机制
- 应用程序包安装和卸载流程
- 应用配置文件(Stage模型)
- 应用配置文件(FA模型)
- 应用程序包基础知识
- 资源分类与访问
- 学习ArkTS语言
- 初识ArkTS语言
- ArkTS语法(声明式UI)
- 开发
- 应用模型
- 应用模型概述
- Stage模型开发指导
- Stage模型开发概述
- Stage模型应用组件
- 应用/组件级配置
- UIAbility组件
- ExtensionAbility组件
- AbilityStage组件容器
- 应用上下文Context
- 信息传递载体Want
- 组件启动规则
- 应用组件跨设备交互(流转)
- 进程间通信
- 线程间通信
- 任务管理
- FA模型开发指导
- FA模型开发概述
- FA模型应用组件
- 应用/组件级配置
- PageAbility组件开发指导
- ServiceAbility组件开发指导
- DataAbility组件开发指导
- 服务卡片开发指导
- FA模型的Context
- 信息传递载体Want
- 进程间通信
- 线程间通信
- 任务管理
- FA模型与Stage模型应用组件互通指导
- FA模型切换Stage模型指导
- UI开发
- 方舟开发框架(ArkUI)概述
- 基于ArkTS的声明式开发范式
- 兼容JS的类Web开发范式
- 通知
- 窗口管理
- WebGL
- 媒体
- 安全
- 访问控制
- 用户认证
- 密钥管理
- 加解密算法库框架
- 证书
- Hap包签名工具
- 网络与连接
- 网络管理
- IPC与RPC通信
- 电话服务
- 数据管理
- 分布式数据服务
- 关系型数据库
- 首选项
- 分布式数据对象
- 数据共享
- 文件管理
- 后台任务管理
- 后台任务
- 后台代理提醒
- 设备管理
- 设备使用信息统计
- DFX
- 国际化
- 应用测试
- 一次开发,多端部署
- IDL工具规格及使用说明书
- Native API相关指导
- 应用模型
- 工具
- 示例教程
- API参考
- 系统能力SystemCapability使用指南
- 系统能力SystemCapability列表
- 组件参考(基于ArkTS的声明式开发范式)
- 组件导读
- 组件通用信息
- 通用事件
- 通用属性
- 手势处理
- 基础组件
- Blank
- Button
- Checkbox
- CheckboxGroup
- DataPanel
- DatePicker
- Divider
- Formcomponent
- Gauge
- Image
- ImageAnimator
- LoadingProgress
- Marquee
- Menu
- MenuItem
- MenuItemGroup
- Navigation
- NavRouter
- NavDestination
- PatternLock
- PluginComponent
- Progress
- QRCode
- Radio
- Rating
- RemoteWindow
- RichText
- ScrollBar
- Search
- Select
- Slider
- Span
- Stepper
- StepperItem
- Text
- TextArea
- TextClock
- TextInput
- TextPicker
- TextTimer
- TimePicker
- Toggle
- Web
- XComponent
- 容器组件
- 媒体组件
- 绘制组件
- 画布组件
- 动画
- 全局UI方法
- 应用级变量的状态管理
- 像素单位
- 枚举说明
- 类型说明
- 已停止维护的组件
- 组件参考(兼容JS的类Web开发范式-ArkUI.Full)
- 组件参考(兼容JS的类Web开发范式-ArkUI.Lite)
- JS服务卡片UI组件参考
- 接口参考(ArkTS及JS API)
- 开发说明
- Ability框架
- Stage模型能力的接口(推荐)
- @ohos.app.ability.Ability (Ability基类)
- @ohos.app.ability.AbilityConstant (AbilityConstant)
- @ohos.app.ability.abilityLifecycleCallback (AbilityLifecycleCallback)
- @ohos.app.ability.AbilityStage (AbilityStage)
- @ohos.app.ability.common (应用上下文Context)
- @ohos.app.ability.contextConstant (ContextConstant)
- @ohos.app.ability.EnvironmentCallback (EnvironmentCallback)
- @ohos.app.ability.ExtensionAbility (扩展能力基类)
- @ohos.app.ability.ServiceExtensionAbility (ServiceExtensionAbility)
- @ohos.app.ability.StartOptions (StartOptions)
- @ohos.app.ability.UIAbility (UIAbility)
- @ohos.app.form.FormExtensionAbility (FormExtensionAbility)
- @ohos.application.DataShareExtensionAbility (数据共享扩展能力)
- @ohos.application.StaticSubscriberExtensionAbility (StaticSubscriberExtensionAbility)
- Stage模型能力的接口(待停用)
- FA模型能力的接口
- 通用能力的接口(推荐)
- @ohos.app.ability.abilityDelegatorRegistry (AbilityDelegatorRegistry)
- @ohos.app.ability.abilityManager (AbilityManager)
- @ohos.app.ability.appManager (appManager)
- @ohos.app.ability.appRecovery (appRecovery)
- @ohos.app.ability.Configuration (Configuration)
- @ohos.app.ability.ConfigurationConstant (ConfigurationConstant)
- @ohos.app.ability.errorManager (ErrorManager)
- @ohos.app.ability.missionManager (missionManager)
- @ohos.app.ability.quickFixManager (quickFixManager)
- @ohos.app.ability.Want (Want)
- @ohos.app.ability.wantAgent (WantAgent模块)
- @ohos.app.ability.wantConstant (wantConstant)
- @ohos.app.form.formBindingData (卡片数据绑定类)
- @ohos.app.form.formHost (FormHost)
- @ohos.app.form.formInfo (FormInfo)
- @ohos.app.form.formProvider (FormProvider)
- 通用能力的接口(待停用)
- @ohos.ability.dataUriUtils (DataUriUtils模块)
- @ohos.ability.errorCode (ErrorCode)
- @ohos.ability.wantConstant (wantConstant)
- @ohos.application.abilityDelegatorRegistry (AbilityDelegatorRegistry)
- @ohos.application.abilityManager (AbilityManager)
- @ohos.application.appManager (appManager)
- @ohos.application.Configuration (Configuration)
- @ohos.application.ConfigurationConstant (ConfigurationConstant)
- @ohos.application.formBindingData (卡片数据绑定类)
- @ohos.application.formError (FormError)
- @ohos.application.formHost (FormHost)
- @ohos.application.formInfo (FormInfo)
- @ohos.application.formProvider (FormProvider)
- @ohos.application.missionManager (missionManager)
- @ohos.application.Want (Want)
- @ohos.wantAgent (WantAgent模块)
- 接口依赖的元素及定义
- ability
- app
- application
- abilityDelegator
- abilityDelegatorArgs
- abilityMonitor
- AbilityRunningInfo
- AbilityStageContext
- AbilityStateData
- abilityStageMonitor
- ApplicationContext
- ApplicationStateObserver
- AppStateData
- BaseContext
- Context
- ContinueCallback
- ContinueDeviceInfo
- ErrorObserver
- ExtensionContext
- ExtensionRunningInfo
- FormExtensionContext
- MissionCallbacks
- MissionDeviceInfo
- MissionInfo
- MissionListener
- MissionParameter
- MissionSnapshot
- ProcessData
- ProcessRunningInfo
- ProcessInformation
- ServiceExtensionContext
- UIAbilityContext
- shellCmdResult
- WindowExtensionContext
- wantAgent
- 流转
- Stage模型能力的接口(推荐)
- 公共事件与通知
- 包管理
- @ohos.bundle.appControl (appControl模块)
- @ohos.bundle.bundleManager (bundleManager模块)
- @ohos.bundle.bundleMonitor (bundleMonitor模块)
- @ohos.bundle.defaultAppManager (默认应用管理)
- @ohos.bundle.distributedBundleManager (distributedBundleManager模块)
- @ohos.bundle.freeInstall (freeInstall模块)
- @ohos.bundle.installer (installer模块)
- @ohos.bundle.launcherBundleManager (launcherBundleManager模块)
- @ohos.zlib (Zip模块)
- bundleManager
- UI界面
- 图形图像
- 媒体
- 资源管理
- 后台任务
- 安全
- 数据管理
- @ohos.data.dataAbility (DataAbility谓词)
- @ohos.data.dataShare (数据共享)
- @ohos.data.dataSharePredicates (数据共享谓词)
- @ohos.data.dataShareResultSet (数据共享结果集)
- @ohos.data.distributedDataObject (分布式数据对象)
- @ohos.data.distributedKVStore (分布式键值数据库)
- @ohos.data.preferences (首选项)
- @ohos.data.relationalStore (关系型数据库)
- @ohos.data.ValuesBucket (数据集)
- data/rdb
- 文件管理
- @ohos.file.environment (目录环境能力)
- @ohos.file.fileAccess (公共文件访问与管理)
- @ohos.file.fileExtensionInfo (公共文件访问与管理属性信息)
- @ohos.file.fs (文件管理)
- @ohos.file.hash (文件哈希处理)
- @ohos.file.securityLabel (数据标签)
- @ohos.file.statvfs (文件系统空间统计)
- @ohos.file.storageStatistics (应用空间统计)
- @ohos.file.volumeManager (卷管理)
- @ohos.filemanagement.userFileManager (用户数据管理)
- @ohos.multimedia.medialibrary (媒体库管理)
- 电话服务
- 网络管理
- 通信与连接
- 系统基础能力
- @ohos.accessibility (辅助功能)
- @ohos.accessibility.config (系统辅助功能配置)
- @ohos.accessibility.GesturePath (手势路径)
- @ohos.accessibility.GesturePoint (手势触摸点)
- @ohos.application.AccessibilityExtensionAbility (辅助功能扩展能力)
- @ohos.faultLogger (故障日志获取)
- @ohos.hichecker (检测模式)
- @ohos.hidebug (Debug调试)
- @ohos.hilog (HiLog日志打印)
- @ohos.hiSysEvent (系统事件打点)
- @ohos.hiTraceChain (分布式跟踪)
- @ohos.hiTraceMeter (性能打点)
- @ohos.hiviewdfx.hiAppEvent (应用事件打点)
- @ohos.inputMethod (输入法框架)
- @ohos.inputMethodEngine (输入法服务)
- @ohos.InputMethodExtensionAbility (InputMethodExtensionAbility)
- @ohos.InputMethodExtensionContext (InputMethodExtensionContext)
- @ohos.InputMethodSubtype (输入法子类型)
- @ohos.pasteboard (剪贴板)
- @ohos.screenLock (锁屏管理)
- @ohos.systemDateTime (系统时间、时区)
- @ohos.systemTimer (系统定时器)
- @ohos.wallpaper (壁纸)
- @ohos.web.webview (Webview)
- console (日志打印)
- Timer (定时器)
- application
- 设备管理
- @ohos.batteryInfo (电量信息)
- @ohos.batteryStatistics (耗电统计)
- @ohos.brightness (屏幕亮度)
- @ohos.deviceInfo (设备信息)
- @ohos.distributedHardware.deviceManager (设备管理)
- @ohos.geoLocationManager (位置服务)
- @ohos.multimodalInput.inputConsumer (组合按键)
- @ohos.multimodalInput.inputDevice (输入设备)
- @ohos.multimodalInput.inputDeviceCooperate (键鼠穿越)
- @ohos.multimodalInput.inputEvent (输入事件)
- @ohos.multimodalInput.inputEventClient (按键注入)
- @ohos.multimodalInput.inputMonitor (输入监听)
- @ohos.multimodalInput.keyCode (键值)
- @ohos.multimodalInput.keyEvent (按键输入事件)
- @ohos.multimodalInput.mouseEvent (鼠标输入事件)
- @ohos.multimodalInput.pointer (鼠标指针)
- @ohos.multimodalInput.touchEvent (触摸输入事件)
- @ohos.power (系统电源管理)
- @ohos.runningLock (Runninglock锁)
- @ohos.sensor (传感器)
- @ohos.settings (设置数据项名称)
- @ohos.stationary (设备状态感知框架)
- @ohos.systemCapability (系统能力)
- @ohos.systemParameterEnhance (系统参数)
- @ohos.thermal (热管理)
- @ohos.update (升级)
- @ohos.usbManager (USB管理)
- @ohos.vibrator (振动)
- 帐号管理
- 定制管理
- 语言基础类库
- @ohos.buffer (Buffer)
- @ohos.convertxml (xml转换JavaScript)
- @ohos.process (获取进程相关的信息)
- @ohos.taskpool (启动任务池)
- @ohos.uri (URI字符串解析)
- @ohos.url (URL字符串解析)
- @ohos.util (util工具函数)
- @ohos.util.ArrayList (线性容器ArrayList)
- @ohos.util.Deque (线性容器Deque)
- @ohos.util.HashMap (非线性容器HashMap)
- @ohos.util.HashSet (非线性容器HashSet)
- @ohos.util.LightWeightMap (非线性容器LightWeightMap)
- @ohos.util.LightWeightSet (非线性容器LightWeightSet)
- @ohos.util.LinkedList (线性容器LinkedList)
- @ohos.util.List (线性容器List)
- @ohos.util.PlainArray (非线性容器PlainArray)
- @ohos.util.Queue (线性容器Queue)
- @ohos.util.Stack (线性容器Stack)
- @ohos.util.TreeMap (非线性容器TreeMap)
- @ohos.util.TreeSet (非线性容器TreeSet)
- @ohos.util.Vector (线性容器Vector)
- @ohos.worker (启动一个Worker)
- @ohos.xml (xml解析与生成)
- 测试
- 已停止维护的接口
- @ohos.backgroundTaskManager (后台任务管理)
- @ohos.bundle (Bundle模块)
- @ohos.bundle.innerBundleManager (innerBundleManager模块)
- @ohos.bundleState (设备使用信息统计)
- @ohos.bytrace (性能打点)
- @ohos.data.distributedData (分布式数据管理)
- @ohos.data.storage (轻量级存储)
- @ohos.data.rdb (关系型数据库)
- @ohos.distributedBundle (分布式包管理)
- @ohos.document (文件交互)
- @ohos.fileio (文件管理)
- @ohos.geolocation (位置服务)
- @ohos.hiAppEvent (应用打点)
- @ohos.prompt (弹窗)
- @ohos.reminderAgent (后台代理提醒)
- @ohos.statfs (statfs)
- @ohos.systemParameter (系统属性)
- @ohos.systemTime (系统时间、时区)
- @ohos.usb (USB管理)
- @ohos.usbV9 (USB管理)
- @system.app (应用上下文)
- @system.battery (电量信息)
- @system.bluetooth (蓝牙)
- @system.brightness (屏幕亮度)
- @system.configuration (应用配置)
- @system.device (设备信息)
- @system.fetch (数据请求)
- @system.file (文件存储)
- @system.geolocation (地理位置)
- @system.mediaquery (媒体查询)
- @system.network (网络状态)
- @system.notification (通知消息)
- @system.package (应用管理)
- @system.prompt (弹窗)
- @system.request (上传下载)
- @system.router (页面路由)
- @system.sensor (传感器)
- @system.storage (数据存储)
- @system.vibrator (振动)
- bundle
- 错误码参考
- 通用错误码
- Ability框架
- 包管理
- 公共事件与通知
- UI界面
- 图形图像
- 媒体
- 资源管理
- 后台任务
- 安全
- 数据管理
- 文件管理
- 电话服务
- 网络管理
- 通信与连接
- 系统基础能力
- 帐号管理
- 设备管理
- 定制管理
- 语言基础类库
- 测试
- 接口参考(Native API)
- 模块
- 头文件
- drawing_bitmap.h
- drawing_brush.h
- drawing_canvas.h
- drawing_color.h
- drawing_font_collection.h
- drawing_path.h
- drawing_pen.h
- drawing_text_declaration.h
- drawing_text_typography.h
- drawing_types.h
- external_window.h
- image_pixel_map_napi.h
- log.h
- native_buffer.h
- native_image.h
- native_interface_xcomponent.h
- native_vsync.h
- raw_dir.h
- raw_file_manager.h
- raw_file.h
- context.h
- data_type.h
- format.h
- model.h
- status.h
- tensor.h
- types.h
- neural_network_runtime_type.h
- neural_network_runtime.h
- native_avcodec_audiodecoder.h
- native_avcodec_audioencoder.h
- native_avcodec_base.h
- native_avcodec_videodecoder.h
- native_avcodec_videoencoder.h
- native_averrors.h
- native_avformat.h
- native_avmemory.h
- native_huks_api.h
- native_huks_param.h
- native_huks_type.h
- 结构体
- OH_Drawing_BitmapFormat
- OH_NativeBuffer_Config
- OH_NativeXComponent_Callback
- OH_NativeXComponent_MouseEvent
- OH_NativeXComponent_MouseEvent_Callback
- OH_NativeXComponent_TouchEvent
- OH_NativeXComponent_TouchPoint
- OHExtDataHandle
- OHHDRMetaData
- OhosPixelMapCreateOps
- OhosPixelMapInfo
- RawFileDescriptor
- Region
- Rect
- OH_AI_CallBackParam
- OH_AI_ShapeInfo
- OH_AI_TensorHandleArray
- OH_NN_Memory
- OH_NN_QuantParam
- OH_NN_Tensor
- OH_NN_UInt32Array
- OH_AVCodecAsyncCallback
- OH_AVCodecBufferAttr
- OH_Huks_Blob
- OH_Huks_CertChain
- OH_Huks_KeyInfo
- OH_Huks_KeyMaterial25519
- OH_Huks_KeyMaterialDh
- OH_Huks_KeyMaterialDsa
- OH_Huks_KeyMaterialEcc
- OH_Huks_KeyMaterialRsa
- OH_Huks_Param
- OH_Huks_ParamSet
- OH_Huks_PubKeyInfo
- OH_Huks_Result
- 标准库
- 常见问题