1e41f4b71Sopenharmony_ci# ApplicationInfo
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciThe **ApplicationInfo** module provides application information. Unless otherwise specified, the information is obtained through [bundle.getApplicationInfo](js-apis-Bundle.md#bundlegetapplicationinfodeprecated).
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci> **NOTE**
6e41f4b71Sopenharmony_ci>
7e41f4b71Sopenharmony_ci> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci## ApplicationInfo<sup>(deprecated)<sup>
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ci> This API is deprecated since API version 9. You are advised to use [bundleManager-ApplicationInfo](js-apis-bundleManager-applicationInfo.md) instead.
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci**System capability**: SystemCapability.BundleManager.BundleFramework
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ci| Name                      | Type                                                        | Read-Only| Optional| Description                                                        |
16e41f4b71Sopenharmony_ci| -------------------------- | ------------------------------------------------------------ | ---- | ---- | ------------------------------------------------------------ |
17e41f4b71Sopenharmony_ci| name                       | string                                                       | Yes  | No  | Application name.                                            |
18e41f4b71Sopenharmony_ci| description                | string                                                       | Yes  | No  | Application description.                                        |
19e41f4b71Sopenharmony_ci| descriptionId              | number                                                       | Yes  | No  | ID of the application description.                                |
20e41f4b71Sopenharmony_ci| systemApp                  | boolean                                                      | Yes  | No  | Whether the application is a system application. The default value is **false**.                       |
21e41f4b71Sopenharmony_ci| enabled                    | boolean                                                      | Yes  | No  | Whether the application is enabled. The default value is **true**.                      |
22e41f4b71Sopenharmony_ci| label                      | string                                                       | Yes  | No  | Application label.                                        |
23e41f4b71Sopenharmony_ci| labelId                    | string                                                       | Yes  | No  | ID of the application label.                                  |
24e41f4b71Sopenharmony_ci| icon                       | string                                                       | Yes  | No  | Application icon.                                            |
25e41f4b71Sopenharmony_ci| iconId                     | string                                                       | Yes  | No  | ID of the application icon.                                    |
26e41f4b71Sopenharmony_ci| process                    | string                                                       | Yes  | No  | Process in which the application runs. If this parameter is not set, the bundle name is used.                |
27e41f4b71Sopenharmony_ci| supportedModes             | number                                                       | Yes  | No  | Modes supported by the application. Currently, only the **drive** mode is defined. This attribute applies only to telematics devices.|
28e41f4b71Sopenharmony_ci| moduleSourceDirs           | Array\<string>                                               | Yes  | No  | Relative paths for storing application resources. Do not access resource files using concatenated paths. Use [@ohos.resourceManager](../apis-localization-kit/js-apis-resource-manager.md) instead.                              |
29e41f4b71Sopenharmony_ci| permissions                | Array\<string>                                               | Yes  | No  | Permissions required for accessing the application.<br>The value is obtained by passing in GET_APPLICATION_INFO_WITH_PERMISSION to [bundle.getApplicationInfo](js-apis-Bundle.md#bundlegetapplicationinfodeprecated).|
30e41f4b71Sopenharmony_ci| moduleInfos                | Array\<[ModuleInfo](js-apis-bundle-ModuleInfo.md)>           | Yes  | No  | Application module information.                                        |
31e41f4b71Sopenharmony_ci| entryDir                   | string                                                       | Yes  | No  | Path for storing application files. Do not access resource files using concatenated paths. Use [@ohos.resourceManager](../apis-localization-kit/js-apis-resource-manager.md) instead.                                    |
32e41f4b71Sopenharmony_ci| codePath<sup>8+</sup>      | string                                                       | Yes  | No  | Installation directory of the application. Do not access resource files using concatenated paths. Use [@ohos.resourceManager](../apis-localization-kit/js-apis-resource-manager.md) instead.                                        |
33e41f4b71Sopenharmony_ci| metaData<sup>8+</sup>      | Map\<string, Array\<[CustomizeData](js-apis-bundle-CustomizeData.md)>> | Yes  | No  | Custom metadata of the application.<br>The value is obtained by passing in GET_APPLICATION_INFO_WITH_METADATA to [bundle.getApplicationInfo](js-apis-Bundle.md#bundlegetapplicationinfodeprecated).|
34e41f4b71Sopenharmony_ci| removable<sup>8+</sup>     | boolean                                                      | Yes  | No  | Whether the application is removable.                                    |
35e41f4b71Sopenharmony_ci| accessTokenId<sup>8+</sup> | number                                                       | Yes  | No  | Access token ID of the application.                                   |
36e41f4b71Sopenharmony_ci| uid<sup>8+</sup>           | number                                                       | Yes  | No  | UID of the application.                                             |
37e41f4b71Sopenharmony_ci| entityType                 | string                                                       | Yes  | No  | Type of the application, for example, gaming, social networking, movies, and news.|
38