From 5c1715e4593dfbb59dd04ae7a33f3079e9740d80 Mon Sep 17 00:00:00 2001 From: Gloria Date: Tue, 18 Apr 2023 14:46:24 +0800 Subject: [PATCH] Update docs by correcting links Signed-off-by: wusongqing --- .../explicit-implicit-want-mappings.md | 2 +- .../application-models/module-switch.md | 10 ++++---- en/application-dev/media/avrecorder.md | 2 +- .../continuous-task-dev-guide.md | 2 +- en/application-dev/website.md | 25 +++++++++++-------- 5 files changed, 23 insertions(+), 18 deletions(-) diff --git a/en/application-dev/application-models/explicit-implicit-want-mappings.md b/en/application-dev/application-models/explicit-implicit-want-mappings.md index 921cdec8ba..b0d98063c2 100644 --- a/en/application-dev/application-models/explicit-implicit-want-mappings.md +++ b/en/application-dev/application-models/explicit-implicit-want-mappings.md @@ -17,7 +17,7 @@ Both explicit Want and implicit Want can be used to match an ability to start ba | flags | number | No| No| This field is not used for matching and is directly transferred to the system for processing. It is generally used to set runtime information, such as URI data authorization.| | parameters | {[key: string]: any} | No| No| This field is not used for matching. It is passed to the target ability as a parameter.| -## Matching Rules for Implicit Want +## Matching Rules of Implicit Want | Name | Type | Matching Item| Mandatory| Rule Description | | ----------- | ------------------------------ | ------ | ---- | ------------------------------------------------------------ | diff --git a/en/application-dev/application-models/module-switch.md b/en/application-dev/application-models/module-switch.md index c5948c5ac1..f3d5bd1c64 100644 --- a/en/application-dev/application-models/module-switch.md +++ b/en/application-dev/application-models/module-switch.md @@ -3,7 +3,7 @@ When switching an application from the FA model to the stage model, you must migrate the configurations under the **module** tag in the **config.json** file to the **module** tag in the **module.json5** file. -**Table 1** module comparison +### Table 1 module Comparison | Field Name in the FA Model| Field Description| Field Name in the Stage Model| Difference| | -------- | -------- | -------- | -------- | @@ -26,7 +26,7 @@ When switching an application from the FA model to the stage model, you must mig | commonEvents | Common events.| common_event_config.json| In the stage model, the **common_event_config.json** file is defined in **resources/base/profile** in the development view.| | entryTheme | Keyword of an OpenHarmony internal theme.| / | This configuration is not supported in the stage model.| -**Table 2** metaData comparison +### Table 2 metaData Comparison | Field Name Under metaData in the FA Model| Field Description| Field Name Under metaData in the Stage Model| Difference| | -------- | -------- | -------- | -------- | @@ -34,7 +34,7 @@ When switching an application from the FA model to the stage model, you must mig | results | Metadata of the ability return value.| / | This configuration is not supported in the stage model.| | customizeData | Custom metadata of the parent component. **parameters** and **results** cannot be configured in **application**.| metadata | See [Table 3](#table-3-comparison-between-customizedata-under-metadata-in-the-fa-model-and-metadata-in-the-stage-model).| -**Table 3** Comparison between customizeData under metaData in the FA model and metadata in the stage model +### Table 3 Comparison Between customizeData Under metaData in the FA Model and metadata in the Stage Model | Field Name Under customizeData in metaData in the FA Model| Field Description| Field Name Under metaData in the Stage Model| Difference| | -------- | -------- | -------- | -------- | @@ -42,14 +42,14 @@ When switching an application from the FA model to the stage model, you must mig | value | Value of the data item. The value is a string with a maximum of 255 bytes.| value | None.| | extra | Format of the current custom data. The value is the resource value of **extra**.| resource | The field name is changed. For details, see [Table 4](#table-4-metadata-examples).| -**Table 4** metaData examples +### Table 4 metaData Examples | Example in the FA Model| Example in the Stage Model| | -------- | -------- | | "meteData": {
"customizeDate": [{
"name": "label",
"value": "string",
"extra": "$string:label",
}]
} | "meteData": [{
"name": "label",
"value": "string",
"resource": "$string:label",
}] | -**Table 5** abilities comparison +### Table 5 abilities Comparison | Field Name Under abilities in the FA Model| Field Description| Field Name Under abilities in the Stage Model| Difference| | -------- | -------- | -------- | -------- | diff --git a/en/application-dev/media/avrecorder.md b/en/application-dev/media/avrecorder.md index 6485cc6748..fdc7d7c35c 100644 --- a/en/application-dev/media/avrecorder.md +++ b/en/application-dev/media/avrecorder.md @@ -22,7 +22,7 @@ The following figures show the AVRecorder state transition and the interaction w Before developing audio recording, configure the permission **ohos.permission.MICROPHONE** for your application. For details about the configuration, see [Permission Application Guide](../security/accesstoken-guidelines.md). -To use the camera to record videos, the camera module is required. For details about how to use the camera APIs, see [Camera Management](js-apis-camera.md). +To use the camera to record videos, the camera module is required. For details about how to use the camera APIs, see [Camera Management](../reference/apis/js-apis-camera.md). ## How to Develop diff --git a/en/application-dev/task-management/continuous-task-dev-guide.md b/en/application-dev/task-management/continuous-task-dev-guide.md index ff3ff065c3..c60206c48c 100644 --- a/en/application-dev/task-management/continuous-task-dev-guide.md +++ b/en/application-dev/task-management/continuous-task-dev-guide.md @@ -290,7 +290,7 @@ For details about the stage model, see [Stage Model Development Overview](../app } ``` -3. If a continuous task needs to be executed in the background for another application or on another device, you can create and run an ability in the background in Call mode. For details, see [Using Ability Call (Intra-Device)](../application-models/uiability-intra-device-interaction.md#using-ability-call-to-implement-uiability-interaction) and [Using Ability Call (Inter-Device)](../application-models/hop-multi-device-collaboration.md#using-cross-device-ability-call). +3. If a continuous task needs to be executed in the background for another application or on another device, you can create and run an ability in the background in Call mode. For details, see [Using Call to Implement UIAbility Interaction (intra-device)](../application-models/uiability-intra-device-interaction.md#using-call-to-implement-uiability-interaction-for-system-applications-only) and [Using Cross-Device Call (inter-device)](../application-models/hop-multi-device-collaboration.md#using-cross-device-call). ```ts import Ability from '@ohos.application.Ability' diff --git a/en/application-dev/website.md b/en/application-dev/website.md index 0cd30b40d8..537c0d9b6f 100644 --- a/en/application-dev/website.md +++ b/en/application-dev/website.md @@ -12,7 +12,6 @@ - Application Package Structure - [Application Package Structure in Stage Model](quick-start/application-package-structure-stage.md) - [Application Package Structure in FA Model](quick-start/application-package-structure-fa.md) - - [HAR File Structure](quick-start/har-structure.md) - Multi-HAP Mechanism - [Multi-HAP Design Objectives](quick-start/multi-hap-objective.md) - [Multi-HAP Build View](quick-start/multi-hap-build-view.md) @@ -21,6 +20,11 @@ - [Multi-HAP Operation Mechanism and Data Communication Modes](quick-start/multi-hap-principles.md) - [Application Installation and Uninstallation Process](quick-start/application-package-install-uninstall.md) - [Application Package Update Process](quick-start/application-package-update.md) + - Shared Package + - [Shared Package Overview](quick-start/shared-guide.md) + - [HAR](quick-start/har-package.md) + - HSP + - [In-Application HSP Development](quick-start/in-app-hsp.md) - Quick Fix - [Quick Fix Overview](quick-start/quickfix-principles.md) - [CLI-based Quick Fix Development](quick-start/quickfix-debug.md) @@ -510,6 +514,7 @@ - [SwipeGesture](reference/arkui-ts/ts-basic-gestures-swipegesture.md) - [Combined Gestures](reference/arkui-ts/ts-combined-gestures.md) - Basic Components + - [AlphabetIndexer](reference/arkui-ts/ts-container-alphabet-indexer.md) - [Blank](reference/arkui-ts/ts-basic-components-blank.md) - [Button](reference/arkui-ts/ts-basic-components-button.md) - [Checkbox](reference/arkui-ts/ts-basic-components-checkbox.md) @@ -556,13 +561,11 @@ - [XComponent](reference/arkui-ts/ts-basic-components-xcomponent.md) - Container Components - [AbilityComponent](reference/arkui-ts/ts-container-ability-component.md) - - [AlphabetIndexer](reference/arkui-ts/ts-container-alphabet-indexer.md) - [Badge](reference/arkui-ts/ts-container-badge.md) - [Column](reference/arkui-ts/ts-container-column.md) - [ColumnSplit](reference/arkui-ts/ts-container-columnsplit.md) - [Counter](reference/arkui-ts/ts-container-counter.md) - [Flex](reference/arkui-ts/ts-container-flex.md) - - [FlowItem](reference/arkui-ts/ts-container-flowitem.md) - [GridCol](reference/arkui-ts/ts-container-gridcol.md) - [GridRow](reference/arkui-ts/ts-container-gridrow.md) - [Grid](reference/arkui-ts/ts-container-grid.md) @@ -934,6 +937,7 @@ - [@ohos.promptAction (Prompt)](reference/apis/js-apis-promptAction.md) - [@ohos.router (Page Routing)](reference/apis/js-apis-router.md) - [@ohos.measure (Text Measurement)](reference/apis/js-apis-measure.md) + - [@ohos.uiAppearance (UI Appearance)](reference/apis/js-apis-uiappearance.md) - Graphics - [@ohos.animation.windowAnimationManager (Window Animation Management)](reference/apis/js-apis-windowAnimationManager.md) - [@ohos.application.WindowExtensionAbility (WindowExtensionAbility)](reference/apis/js-apis-application-windowExtensionAbility.md) @@ -971,7 +975,6 @@ - [@ohos.security.huks (HUKS)](reference/apis/js-apis-huks.md) - [@ohos.userIAM.faceAuth (Facial Authentication)](reference/apis/js-apis-useriam-faceauth.md) - [@ohos.userIAM.userAuth (User Authentication)](reference/apis/js-apis-useriam-userauth.md) - - [@system.cipher (Cipher Algorithm)](reference/apis/js-apis-system-cipher.md) - security - [PermissionRequestResult](reference/apis/js-apis-permissionrequestresult.md) - Data Management @@ -984,20 +987,20 @@ - [@ohos.data.preferences (Preferences)](reference/apis/js-apis-data-preferences.md) - [@ohos.data.relationalStore (RDB Store)](reference/apis/js-apis-data-relationalStore.md) - [@ohos.data.ValuesBucket](reference/apis/js-apis-data-valuesBucket.md) - - data/rdb - - [resultSet (Result Set)](reference/apis/js-apis-data-resultset.md) - File Management - [@ohos.file.environment (Directory Environment Capability)](reference/apis/js-apis-file-environment.md) - [@ohos.file.fileAccess (User File Access and Management)](reference/apis/js-apis-fileAccess.md) - [@ohos.file.fileExtensionInfo (User File Extension Information)](reference/apis/js-apis-fileExtensionInfo.md) + - [@ohos.file.fileuri (File URI)](reference/apis/js-apis-file-fileuri.md) - [@ohos.file.fs (File Management)](reference/apis/js-apis-file-fs.md) - [@ohos.file.hash (File Hash Processing)](reference/apis/js-apis-file-hash.md) - [@ohos.file.picker (Picker)](reference/apis/js-apis-file-picker.md) - [@ohos.file.securityLabel (Data Label)](reference/apis/js-apis-file-securityLabel.md) - [@ohos.file.statvfs (File System Space Statistics)](reference/apis/js-apis-file-statvfs.md) - - [@ohos.storageStatistics (Application Storage Statistics)](reference/apis/js-apis-file-storage-statistics.md) - - [@ohos.volumeManager (Volume Management)](reference/apis/js-apis-file-volumemanager.md) + - [@ohos.file.storageStatistics (Application Storage Statistics)](reference/apis/js-apis-file-storage-statistics.md) + - [@ohos.file.volumeManager (Volume Management)](reference/apis/js-apis-file-volumemanager.md) - [@ohos.filemanagement.userFileManager (User Data Management)](reference/apis/js-apis-userFileManager.md) + - [@ohos.fileShare (File Sharing)](reference/apis/js-apis-fileShare.md) - Telephony Service - [@ohos.contact (Contacts)](reference/apis/js-apis-contact.md) - [@ohos.telephony.call (Call)](reference/apis/js-apis-call.md) @@ -1138,23 +1141,23 @@ - [@ohos.fileio (File Management)](reference/apis/js-apis-fileio.md) - [@ohos.geolocation (Geolocation)](reference/apis/js-apis-geolocation.md) - [@ohos.hiAppEvent (Application Event Logging)](reference/apis/js-apis-hiappevent.md) + - [@ohos.multimedia.medialibrary (Media Library Management)](reference/apis/js-apis-medialibrary.md) - [@ohos.prompt (Prompt)](reference/apis/js-apis-prompt.md) - [@ohos.reminderAgent (Reminder Agent)](reference/apis/js-apis-reminderAgent.md) - [@ohos.statfs (statfs)](reference/apis/js-apis-statfs.md) - [@ohos.systemParameter (System Parameter)](reference/apis/js-apis-system-parameter.md) - [@ohos.systemTime (System Time and Time Zone)](reference/apis/js-apis-system-time.md) - [@ohos.usb (USB Management)](reference/apis/js-apis-usb-deprecated.md) - - [@ohos.usbV9 (USB Management)](reference/apis/js-apis-usb.md) - [@system.app (Application Context)](reference/apis/js-apis-system-app.md) - [@system.battery (Battery Information)](reference/apis/js-apis-system-battery.md) - [@system.bluetooth (Bluetooth)](reference/apis/js-apis-system-bluetooth.md) - [@system.brightness (Screen Brightness)](reference/apis/js-apis-system-brightness.md) + - [@system.cipher (Cipher Algorithm)](reference/apis/js-apis-system-cipher.md) - [@system.configuration (Application Configuration)](reference/apis/js-apis-system-configuration.md) - [@system.device (Device Information)](reference/apis/js-apis-system-device.md) - [@system.fetch (Data Request)](reference/apis/js-apis-system-fetch.md) - [@system.file (File Storage)](reference/apis/js-apis-system-file.md) - [@system.geolocation (Geographic Location)](reference/apis/js-apis-system-location.md) - - [@ohos.multimedia.medialibrary (Media Library Management)](reference/apis/js-apis-medialibrary.md) - [@system.mediaquery (Media Query)](reference/apis/js-apis-system-mediaquery.md) - [@system.network (Network State)](reference/apis/js-apis-system-network.md) - [@system.notification (Notification)](reference/apis/js-apis-system-notification.md) @@ -1179,6 +1182,8 @@ - [PermissionDef](reference/apis/js-apis-bundle-PermissionDef.md) - [remoteAbilityInfo](reference/apis/js-apis-bundle-remoteAbilityInfo.md) - [shortcutInfo](reference/apis/js-apis-bundle-ShortcutInfo.md) + - data/rdb + - [resultSet](reference/apis/js-apis-data-resultset.md) - Error Codes - [Universal Error Codes](reference/errorcodes/errorcode-universal.md) - Ability Framework -- GitLab