Friday, July 5, 2013

Flash Builder 4.5 Mobile Application for Acer Iconia A500 Tablet

This blog post will discuss making a simple mobile application using Flash Builder 4.5. I will be targeting the because it is currently the only mobile device that I have access to, but it should be relevant to other mobile devices too. The Acer Iconia A500 Tablet runs on (Honeycomb). For a full review of the tablet, read this . It sells for around $450 for the 32GB version.Step 1 - configure the tabletOn the tablet go to Settings - Applications - DevelopmentCheck the USB Debugging option. This allows Flash Builder to debug applications straight on to the tablet through USB. Next, connect the tablet to your computer using the USB cable provided.Step2 - create a mobile projectInside Flash Builder, create a new Flex Mobile Project.Give it a name like TabletApp. Click Next.Select the desired target platform(s). For the Acer Iconia and other Andoid tablets, check the Google Android checkbox. You can choose the mobile app template to use here as well.Important: your mobile application might need to have access to the internet, the file system, the gps, etc. Under the Permissions tab, choose the Google Android platform, and check any of the permissions that your application needs.For my sample application I chose the INTERNET, WRITE_EXTERNAL_STORAGE, and ACCESS_FINE_LOCATION (GPS) permissions.Click next. Set up the build path if necessary, or leave it to the default values.Once the project is created, Flash Builder will open the two main files - TabletApp.mxml (the main application file), and TabletAppHomeView.mxml (the default home view component). Add in some components to the home view like a button or a label. Step 3 - Run the application on the tabletNow, to test our your application on the Acer Iconia Tablet, make sure it is connected by USB, and that you followed the step above on the tablet to enable USB debugging.Under the Run menu, choose Debug Configurations...

No comments:

Post a Comment