Mobile Development: Android and iOS Device Setup
By Paul Trani on in Mobile with One Comment
If you’re thinking about getting into mobile development you can only go so far without getting content ont a device. The easiest way, in my opinion, is to use a MacBook Pro and an Android device running Android 2.2. (I’m personally a fan of the Samsung Galaxy S2). Â From there it’s literally “plug and play”. Just connect your Android device via USB and use Flash Pro to publish directly to the device.
If you have a PC or are interested in publishing to iOS devices things get a little more complex. I thought I’d outline those steps to hopefully avoid some headaches with connecting those devices/platforms:
Android Device Setup
The following device hardware and software is needed to publish to an Android device.
AIR must be installed on the Android device. Simply search â€œAdobe AIRâ€ in the Android Market on your device.
- Device must have Android 2.2 or higher with an ARMv7 processor or higher. For a compatible devices please refer to this list of certified devices: http://www.adobe.com/flashplatform/certified_devices/
- Necessary USB cable for your device.
Configuring Your Android Device
- On your device, select the submenu button and select Settings.
- Select Applications.
- Select â€œUnknown Sourcesâ€ so non-market apps can be installed.
- Select Development.
- Select â€œUSB Debuggingâ€.
Some devices may have an extra step or two. Samsung devices, for example, need to have you manually mount them in order for it to connect.
Installing Android USB Drivers
If you are on a Mac, on device driver is needed. For PC do one of the following. Be sure to set USB connection to â€œCharge Onlyâ€ on devices such as Droid X.
- Connect your Android device to your computerâ€™s USB port.
- Windows will try to install the driver software and if it fails with no driver found error, proceed to the next step.
- Right-click on â€œComputerâ€ from your desktop or Windows Explorer, and select â€œManage.â€
- Select â€œDevice Managerâ€ in the left pane of the Computer Management window.
- Locate â€œOther devicesâ€ and right click on your device and select â€œUpdate Driver Software…â€
- A prompt will ask how you want to search for the driver software. Select â€œBrowse my computer for driver software.â€
- Click â€œBrowse…â€ and to browse to Flash Pro CS5 installation folder to select Android_Drivers folder, check the â€œInclude subfoldersâ€ checkbox.
- Click â€œNext.â€
- When Windows 7 asks if youâ€™d like to install the device software, click â€œInstallâ€ to install the driver.
- Connect your Android-powered device to your computerâ€™s USB port. Windows will detect the device and launch the Found New Hardware wizard.
- Select â€œInstall from a list or a specific location (Advanced)â€ and click â€œNextâ€.
- â€œSearch for the best driver in these locationsâ€ is selected by default, select â€œInclude this location in the searchâ€ and click Browse to browse to Flash Pro CS5 installation folder to select Android_Drivers folder.
- Click â€œNextâ€; Vista may prompt you to confirm the privilege elevation required for
- driver installation. Confirm it.
- Connect your Android-powered device to your computerâ€™s USB port. Windows will detect the device and launch the Found New Hardware Wizard.
- Select â€œNo, not this timeâ€ when it asks to use Windows update to search for the driver and click â€œNext.â€
- Select â€œInstall from a list or specific location (Advanced)â€ and click â€œNextâ€.
- Select â€œInclude this location in the searchâ€ and click â€œBrowse…â€ and browse to Flash Pro CS5 installation folder to select Android_Drivers folder; click â€œNextâ€ to install the driver.
iOS Device Setup
If you are building for iOS you will need to obtain all of the necessary provisioning profiles, developer certificates and have iTunes installed. For the iOS provisioning process see the iOS Dev Center.
Register as an iOS Developer
- Enroll in the iOS Developer Program
- The Apple Developer Center will walk you through the necessary steps to either create a new Apple ID for an individual or company, or use an existing Apple ID. As an individual your name will be listed as the seller. If it’s for a company then the company’s name will be used.
- Choose â€˜iOS Developer Programâ€™ as the program.
You will then receive an activation email where you will choose a contract type. There are two types:
- Free Applications Contract â€”managed through iTunes Connect. Login to set up the enrollment step.
- Paid Applications Contract â€” You will need to complete a separate contract through iTunes Connect for applications you are selling including your bank info (where to distribute proceeds and deduct payments), a W-9 tax form and contact information. Know that you can always go back and update to a Paid Applications Contract later.
Setup Certs/Devices/Profiles in the Apple iOS Provisioning Portal.Â See the iOS Provisioning Portal for details and tutorial videos.
Add Certificate and Provisioning Profile to Flash Professional
Windows users, check out Lee Brimelowâ€™s Developing Applications for Windows