目录

Starting a System Application

This topic describes how to start a system application. It also lists the supported redirection capabilities of system applications.

Methods of Starting a System Application

In addition to the methods described in the preceding topics (for example, using openLink to start a specified application or using startAbilityByType to specify an application of the specified type), you can use the following methods to start a system application:

Capabilities That Support Redirection to System Applications

[h2]Settings

Currently, the following screens in Settings can be directly opened:

[h2]AppGallery

AppGallery Kit allows you to open an application details page through the loadProduct() API, App Linking, and other methods. For details, please refer to Displaying the App Details Page.

[h2]Wallet

Payment Kit provides the requestPayment API to implement one-off payment and payment with contract signing.

[h2]Phone

Telephony Kit provides makeCall(), which allows users to jump to the dialing screen, where the number to dial is displayed.

[h2]Calendar

Calendar Kit provides addEvent, which allows users to create a schedule.

[h2]Contacts

Contacts Kit provides the Contacts Picker, which is used to start the Contacts application and read contact data. For details, see Contact Selection.

[h2]Maps

Map Kit provides the map picker, which supports place details display, location selection, and administrative division selection.

[h2]Camera

[h2]Files

Core File Kit provides the DocumentViewPicker and AudioViewPicker.

Sample Code