Joke Collection Website - Mood Talk - Brief introduction of HarmonyOS system application
Brief introduction of HarmonyOS system application
The application configuration file "config.json" consists of app, deviceConfig and module.
App signal:
DeviceConfig contains application configuration information of a specific device, which can include default, car, TV, wearable, liteWearable, smartVision and other attributes. The configuration in the default tab applies to all devices. If other equipment types have special requirements, they need to be configured under the label of that equipment type.
Description of internal structure of device configuration object
Internal structure description of default/car/TV/wearable objects.
Internal structure description of network objects
Internal structure description of security configuration object
Device configuration example:
The module object contains the configuration information of the HAP package, and its internal structure is described as follows.
Module example:
Description of the internal structure of the distribution object
Distribution example:
Description of the internal structure of the capability object
Example of ability:
Description of the internal structure of the form object
Form signal
Description of the internal structure of the skill object
Skills example:
Description of internal structure of shortcut object
Shortcut key signal
Take JSON file as a simple example of config.json, and the application of this example is declared as three capabilities.
- Related articles
- There is a feeling that words cannot describe the mood at this moment. Tell me about it.
- Bl novel recommendation
- Whether the crown prince hat of Bailixia is better or the crown prince hat of Panshan is better, Cui Kai's is not considered. Are the other two grafted?
- Keeping your mouth shut and not exposing your child's shortcomings is the greatest achievement of parents.
- Say it in an understatement.
- Speech on the 3rd Wedding Anniversary I am willing to wait for you to be together.
- EXO is preparing a 10th anniversary album. Let¡¯s talk about the brothers in this group. Which one do you like the most?
- Toothache is not a disease, it hurts like hell. What are your moods?
- The broadcast volume broke 300 million, and the hostess got the box lunch in the first episode. Why is "What is Night" popular?
- Sore throat, friends circle matching.