WHAT'S IN THIS APPENDIX?
Application Descriptor Settings for Android
Application Descriptor Settings for iPhone
If you have created AIR apps using Flash or Flex, you are probably familiar with the application descriptor file for your project. The application descriptor file is an XML file that provides metadata — such as application name and version — about your project. The compiler reads and uses this data during the compilation process.
By convention, the application descriptor filename is
-app.xml. For example, the application descriptor file for the
FindMeAPizza project is named
In this appendix, I'll describe the application descriptor settings for both Android and iPhone.
Flash CS5 automatically creates and maintains the app descriptor file for you inside the environment. You can modify several of the properties of the file via the AIR for Android dialog box (see Figure A-1) or you can do it manually working with the app descriptor file.
When you manually modify the application descriptor file, don't open the AIR for Android dialog box until you have closed the file.
Figure A.1. FIGURE A-1
Listing A-1 provides a sample application descriptor file.
Example A.1. Sample application descriptor file
<?xml version="1.0" encoding="UTF-8" ...