目录

Intents Kit Integration Process

Phase Task Description Example Reference Document
Purpose Select features and determine intents. Select features from the available feature list based on the desired user experience, and determine the intents to be implemented based on these features. If you want to implement the feature of recommending a song to be resumed, you need to implement the PlayMusic intent based on the description of the smart distribution feature. /
Development Apply to be added to the debugging trustlist. Send an email to hagservice@huawei.com or contact Huawei Intents Kit staff, and provide information about your app to be tested, to apply to Huawei for adding your app to the debugging trustlist.

1. App name: HUAWEI Music

2. App package name: com.xxxx

3. Intent name: PlayMusic

4. App icon format: JPG, PNG, and others

5. App ID: 1234567

6. Client ID: 1234567

7. HUAWEI ID (UID): 1234567, 7654321, and others

For details, please refer to the following links:

Habit-based recommendation: Testing Solution

Event-based notification: Testing Solution

Development Register an intent in the intent declaration file. Register your intent during development in DevEco Studio. Register the PlayMusic intent. For details, please refer to Registering an Intent.
Development Implement intent calls/intent sharing. Develop a HarmonyOS API for intent sharing, so that the intent data in your app or atomic service can be shared with the system. Develop an intent sharing API for the PlayMusic intent. For details, please refer to Sharing a Device-Side Intent.
Development Implement intent calls/intent sharing. Develop a HarmonyOS API for intent calls, so that the intent in your app or atomic service can be called. Develop an intent call API for the PlayMusic intent. For details, please refer to Calling a Device-Side Intent.
Verification Perform end-to-end feature verification. Use the test capability provided by Huawei to perform end-to-end debugging of the target feature. After completing the debugging, submit the smart distribution configuration for review. Perform an end-to-end test on the feature of recommending a song to be resumed in HUAWEI Music. After the test is complete, submit the smart distribution configuration. /
Release Release your app or atomic service on AppGallery. After completing the development and packaging, upload your package to AppGallery. Package HUAWEI Music and release it on AppGallery. For details, please refer to the process for releasing an app.
Release Register with Intents Kit. Configure intent registration on Celia Open Platform and submit it for review. The request will be reviewed by Huawei technical support within three working days. Register the PlayMusic intent. /