Mobile native Wearable native

API and Privilege Checker

The Tizen IDE provides the API and privilege checker tool to identify potential problems in the application code related to API and privilege usage.

In project properties, you can enable the checker during the building process or code editing stage. You can also perform the checks manually in the Project Explorer view by choosing a project, opening the context menu, and selecting Check API and Privilege Violations.

The results of the check are displayed in the Problems view. The following tables define the different alarms that the checks can generate.

Table: API usage check alarms
Alarm type Description Message format Required actions
API version alarm The application contains a function, enumerator, or constant which is only provided in a higher API version than the one the application is using. {API name} – The API is not supported in API version {version identifier}.

For example: account_connect - The API is not supported in API version 2.1.0.

Either upgrade the API version in the manifest file accordingly, or stop using the reported API element.
Deprecated API alarm The application uses a function, enumerator, or constant which has been deprecated. {API name} - The API is deprecated.

For example: account_connect - The API is deprecated.

Look at the cause of the deprecation and consider modifying the application source to use an alternative API (if one exists) as suggested by the platform. In most cases, an alternative is provided. However, if no alternative exists, you can still use the deprecated API in the current SDK version without exceptions. However, note that deprecated API can be removed from the platform in future without prior notice.
Table: Privilege check alarms
Alarm type Description Message format Required actions
Undefined privilege alarm The application uses a function whose privilege is not specified in the manifest file. The {Privilege name} privilege is required for {API name}.

For example: The http://tizen.org/privilege/alarm.set privilege is required for alarm_cancel.

Either assign the privilege in the manifest file in the IDE, or stop using the reported function. Privilege violation is a strong reason for the rejection of an application in the certification process.
Unused privilege alarm The application does not use any function belonging to a reported privilege. The {Privilege name} privilege is not used.

For example: The http://tizen.org/privilege/badge.admin privilege is not used.

Remove the privilege from the manifest file in the IDE, or ignore the alarm if you are planning to use the corresponding functions later.
Go to top