- Introduction
- Becoming an Apple Certified Developer
- Registering an iPhone and Other Apple Testing Devices
- Creating App IDs
- Creating a Developers Provisioning Profiles
- Creating and Publishing an iPhone App
- Controlling the Accelerometer
- Saving Images to the Camera Roll
- Understanding the Limits of Flash
- Identifying Devices to Deploy an Ad Hoc App
- Creating an Ad Hoc Distribution Profile
- Packaging an Ad Hoc App
- Packaging an App for the iTunes App Store
- Using iTunes Connect to Publish an App
- Using Screen Orientation in an App
- Using Geolocation in an App
- Using Multitouch in an App
Creating and Publishing an iPhone App
With all of these tasks completed you are now ready to complete your first iPhone App. Sometimes it seems like a world full of red tape where you need to dot your i’s and cross your t’s, but you do get to the point where you can develop applications for your iPhone using Flash CS5 (New!). You need to go through the steps of creating a Developer Certificate, registering your test iPhone, creating an App ID, and downloading a developers profile in order to develop for any iPhone development tool; this is not just a unique Flash CS5 feature. Flash CS5, however, does allow you to very easily create the final iPhone App.
Create and Publish an iPhone App
In Flash, click the File menu, click New, click iPhone OS, and then click OK.
A new movie opens with the size 320x480 pixels.
- Create an iPhone App using Flash tools.
- Open the Properties panel.
Click the iPhone Settings Edit button.
The iPhone Settings dialog box opens, displaying three tabs: General, Deployment and Icons.
- Click the General Tab.
- Enter an Output file name, such as wordsearch.ipa.
- Enter the App Name that you want to appear on the iPhone, such as Word Search. You are limited to 11 characters.
- Enter an version number for the App, such as 1.0.
- Click the Aspect Ratio list arrow, and then select a display option: Portrait or Landscape view.
- Select or deselect any of the following options:
-
Full Screen. Select to force your App to take up all of the screen space on your phone; deselect to show information at the top of your iPhone, including carrier signal, WiFi connection, time and battery life, will be visible in your App.
-
Auto Orientation. Select to change the orientation of your App as the iPhone is rotated.
-
- Click the Rendering list arrow, and then click an acceleration option, Auto, CPU, or GPU.
- Click the Add button (+) in Included Files, and then select the Default.png file. The Default.png file displays when your App starts to run and disappears when your App has loaded.
- Click the Deployment tab.
- Click Browse, and then select your Developer P12 certificate file, and then enter your password.
- Click Browse, and then select the developer Provisioning Profile you downloaded.
- Enter the full name of the App ID you created in the iPhone Developer Center.
- Select the Quick Publishing For Device Testing option.
- Click the Icons tab.
- Locate and add the 29.png, 57.png and 512.png file.
Click Publish.
Flash launches the iPhone Packager tool and generates (6-10 minutes) an IPA iPhone App file in the same folder as your Flash files.
- Locate the IPA file, and then drag the file onto iTunes and sync your device. When the sync completes you will be able to launch your App from your iPhone.