openharmony 鸿蒙 dataability-configuration

DataAbility Component Configuration URI Introduction A Uniform Resource Identifier (URI) is used to identify a specific data item, such as a table in the database or a file on the disk. URIs used comp
阅读全文

openharmony 鸿蒙 create-serviceability

Creating a ServiceAbility Create a ServiceAbility. When you create a ServiceAbility in DevEco Studio, DevEco Studio automatically generates the onStart(), onStop(), and onCommand() callbacks. You need
阅读全文

openharmony 鸿蒙 create-pageability

Creating a PageAbility When you create a PageAbility in DevEco Studio, DevEco Studio automatically generates the onCreate() and onDestroy() callbacks in app.js and app.ets. You need to implement the o
阅读全文

openharmony 鸿蒙 create-dataability

Creating a DataAbility To meet the basic requirements of the database storage service, implement the Insert, Query, Update, and Delete methods for a DataAbility. The BatchInsert and ExecuteBatch metho
阅读全文

openharmony 鸿蒙 context-switch

Context Switching API in the FA ModelCorresponding .d.ts File in the Stage ModelCorresponding API or Field in the Stage Model getOrCreateLocalDir(callback:AsyncCallback<string>):void;getOrCreate
阅读全文

openharmony 鸿蒙 connect-serviceability

Connecting to a ServiceAbility If a ServiceAbility wants to interact with a PageAbility or a ServiceAbility in another application, you must first create a connection by calling connectAbility(). This
阅读全文

openharmony 鸿蒙 configuration-file-diff

Differences in Configuration Files The FA model uses the config.json file to describe the basic information about an application. An application can have multiple modules, and each module has a config
阅读全文

openharmony 鸿蒙 config-file-stage

Application Configuration File (Stage Model) The application configuration file contains information about the application's configuration, components, and permissions, as well as custom information.
阅读全文

openharmony 鸿蒙 config-file-fa

Application Configuration File (FA Model) The configuration file contains information about the application's configuration, components, and permissions, as well as custom information. The information
阅读全文