<action>

(Optional) The privileges (also known as capabilities, user actions, or permissions) the application requests from the OS

Parent elements:

<qnx>, <configuration>

Child elements:

None.

Description:

The <action> element specifies the privileges (also known as capabilities, user actions, or permissions) the application requests from the OS.

Content:

A PCDATA value representing the permissions granted to your application. The following identifiers specify the permissions that can be granted to an application:

access_internet:
Use internet connection from a WIFI, wired, or another connection to a non-local destination.
access_shared
Read and write files that are shared between all applications that are run by the user.
access_led_control
Access and control the LEDs on the device.
play_audio
Play an audio stream.
post_notification
Post a notification to the notification area of the screen.
read_device_identifying_information
Discover device unique identifiers such as the PIN and serial number.
read_geolocation
Read the current location of the device.
record_audio
Access the audio stream from the microphone on the device.
set_audio_volume
Change the volume of an audio stream that is being played.
use_camera
Access the data coming from one of the cameras on the device.

Attributes:

Name Description Values Default
system (Optional) Specifies the action is a system action and not a user action. The default value is false. Examples of system actions you can use are run_native (run the app using OS runtime) run_air_native (run the app using Adobe AIR runtime).

These actions are added implicitly to the BAR file manifest by the packager when it detects an application type that requires them.

true, false false

Example:

<action system="true">run_native</action>