Getting started with adobe air for android

Mobile development is sexy — there’s no denying that. Lge android phone driver But for someone like me, who generally focuses on back-end development or behind-the-firewall Flex applications, building a mobile application sounds intimidating. Android mobile phone apps free download I can’t pinpoint exactly why, but I also know I am not alone. Fast cheap android phone However, with new Adobe AIR for Android (currently in developer prerelease on Adobe Labs) and the Adobe Flash IDE, mobile development for Google’s new Android 2.2 operating system (code-named Froyo) couldn’t be easier.

In this article, I discuss the essential tools you need to start developing for AIR for Android using Adobe Flash Professional CS5. Phone apps for android I walk you through getting AIR installed on your Android phone and configuring Flash software to develop for that platform.


Phone android Then I show you how to build and deploy your first application. How to android phone While this application won’t be groundbreaking, it can serve as a solid launching point for your new future as a mobile applications developer. 6 inch android phone under 15000 (Note: The details of this tutorial were tested against the AIR for Android release as of August 1, 2010, on a Google/HTC Nexus One running Android 2.2.) Setting up your development environment

• Google Android SDK: The SDK contains the tools you need to develop for Android regardless of whether you are doing native applications in Java or AIR for Android applications in Flash. Android phone driver asus Specifically, you will use two tools in the SDK during this tutorial: adb and ddms.

• AIR for Android: Currently AIR for Android is available through the Adobe prerelease program at no cost, but it does require you to sign up. Android phone jokes Once you sign up, you will have access to the downloads of the AIR for Android installation file and the Flash Professional CS5 extension as well as the accompanying documentation.

Now that you have downloaded the tools, you just need to run through some steps to do the installations. Android phones applications free download Lee Brimelow covers many of these same steps in a video tutorial on GoToAndLearn. Best android smartphone (Note: Most of the time, the instructions are the same, but Brimelow’s instructions assume you are working on a PC while mine assume you are working on a Mac.)

• Unzip the Android SDK. What is an android phone vs iphone You will need to access many of the items in the Tools folder of the SDK files via the command line, so it’s a good idea to keep this folder easily accessible.

• With your phone connected to your computer, use the adb tool inside the Tools folder to ensure that the phone is connected. Android phone releases (Note: You may need to install a driver for your phone if it is connected to a PC.)

• Open a command line window and navigate to the Tools folder inside your unzipped Android SDK, and run the command ./adb devices at the prompt. Android phone 5000 You should see your device on the list (see Figure 1). What is nfc on an android phone If you do not see your phone listed, make sure that it has the USB Debugging option enabled. Virus on phone android remove This caused me some initial trouble. Fastest android phone 2016 You can access this setting on Android 2.2 via Settings > Applications > Development > USB Debugging.

To get started on a project, you first need to install the AIR for Android extension for Flash Professional CS5. Best android phone list Just double-click the install file to open your extension manager and install the extension. Android phone youtube downloader Once you have the extension installed, you should see an option for creating a new AIR for Android application under Create From Template when you start up the Flash CS5 IDE. Com android phone has stopped working Choose this option, which targets a document size of 480 × 800 and gives you an AIR for Android Settings button within your application’s Properties panel.

(Note: You can use Flash Builder instead of Flash Professional CS5 to create your mobile application. Android phone game controller I recommend the series of tutorials by Terrence Ryan for more information.)

In Figure 3, you may also notice an application called KidsStorybook. Android phone 3gb ram That is the sample application you are building. Nokia x android phone It’s a very basic application consisting of five frames that contain the text from a storybook my seven-year-old son made for his class at school. Android phone store (I was inspired by the much more interesting applications based on a child’s drawing that David Stockton built with Flash Catalyst.) You will notice from the screen shot that it looks like a native application on Android.

The application consists of very little code other than what is required to make the buttons browse through pages. Android phone quiz Figure 4 shows one of the pages with both buttons as it appears on my phone.

If you run this application, then you should be able to browse the short book my son wrote using either the buttons or the swipe gesture. Fastest android phone However, the application has a generic icon when listed among the other applications on the phone. Android phone apps free download apk To fix this, simply add your icon to the Icons tab. Android phone number I simply made a 72 × 72 PNG image of the fish and added it to the settings. Android phone zte Now you’re a mobile developer

You are now officially a mobile developer. In android phone You can even build those sexy native applications everyone seems to want. Android phone factory reset Granted, your first application wasn’t groundbreaking, but it was a good start. Lge android phone driver g3 While we touched on using gestures, you can take advantage of so much more with the touch screen and accelerometer to create better and more exciting applications.

For more information, visit the Mobile and Devices Developer Center. Com android phone stopped If you’re interested in delivering video to mobile devices, make sure to see Edmond Au’s article. Screenshot on phone android If you’d like to see inspiring examples of Flash content running on devices that support Flash Player 10.1, visit the Adobe Flash Showcase for mobile.

banner