Device-Specific Properties
The device-specific properties define information for specific devices in your project. Store these properties in your project’s targets folder in the target device file for the device to which the property pertains, device_name.xml.
project.handset.device_name.langgroups
Specifies one or more language groups that indicate the language(s) that your mobile application supports for the device indicated in the property name.
When specifying the property, replace device_name in the property name with the name of a specific device. The value for a specific device is the value that you selected from the Choose your handset list in the Add Handset dialog when you added the device to the project. For example, for an Apple iPhone 5 phone, the property name is:
project.handset.IOS_Apple_iPhone5.langgroup
When you added the device to the project, Mobile Designer automatically added this property to the target device file in your project’s targets folder.
project_folder/targets/device_file.xml
Mobile Designer set the value of the property to the language groups you specified in the
Language Groups field of the Add Handset dialog. For more information, see
Adding a Device to a Project.
You can update the property if you want to add, change, or remove language codes. You can specify the language groups you define with the
project.langgroup.group_name property.
Platforms | All |
Value | One or more language groups. To specify multiple language groups, create a semicolon-separated list. Example <property name="project.langgroup.AMERICAN" value="en;fr;es"/> <property name="project.langgroup.EUROPEAN" value="en;fr;it;de;es"/> <property name="project.langgroup.ASIAN" value="zh;ja"/> To specify that the application supports the American and European language groups for the IOS_Apple_iPhone5 device, use the following: <property name="project.handset.IOS_Apple_iPhone5.langgroup" value="AMERICAN;EUROPEAN"/> |
Default | No default. This property must have a value. |
project.manifest
Specifies the location of the manifest.mf file for a device.
Platforms | All |
Value | Absolute path to the manifest file. |
Default | The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location: Mobile Designer_directory /Devices |