O'Reilly logo

Professional Flash® Mobile Development: Creating Android™ and iPhone® Applications by Richard Wagner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. Application Descriptor Settings

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 projectName-app.xml. For example, the application descriptor file for the FindMeAPizza project is named FindMeAPizza-app.xml.

In this appendix, I'll describe the application descriptor settings for both Android and iPhone.

ANDROID APPLICATION DESCRIPTOR SETTINGS

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. FIGURE A-1

Sample Android Application Descriptor File

Listing A-1 provides a sample application descriptor file.

Example A.1. Sample application descriptor file

<?xml version="1.0" encoding="UTF-8" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required