Adobe
Products
Acrobat
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
More products
Solutions
Digital marketing
Digital media
Education
Financial services
Government
Web Experience Management
More solutions
Learning Help Downloads Company
Buy
Home use for personal and home office
Education for students, educators, and staff
Business for small and medium businesses
Licensing programs for businesses, schools, and government
Special offers
Search
 
Info Sign in
Welcome,
My cart
My orders My Adobe
My Adobe
My orders
My information
My preferences
Sign out
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Adobe
Products Sections   Search  
Solutions Company
Help Learning
Sign in Welcome, My orders My Adobe
Qty:
Purchase requires verification of academic eligibility
Subtotal
Review and Checkout
Adobe Developer Connection / Flex Developer Center /

Build your first mobile Flex application – Twitter Trends

by Narciso Jaramillo

Narciso Jaramillo
  • rictus.com/muchado

Modified

7 October 2011

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
Flash Builder Flex mobile

Requirements

Prerequisite knowledge

Some familiarity with Adobe Flex is helpful.

 

Additional required products

iOS, Android, or BlackBerry Tablet OS device is useful but not required.

User level

Beginning

Required products

  • Flash Builder (Download trial)

Sample files

  • Complete tutorial (PDF, 676 KB)
  • Tutorial assets (ZIP, 1.4 MB)
  • Mobile app file (APK, 840 KB)

Note: This article has been updated to include information about the BlackBerry Tablet OS and Apple iOS support added in the Flex 4.5.1 and Flash Builder 4.5.1 updates.

With the release of Adobe Flash Builder 4.5, you can now develop Flex applications for Android, BlackBerry Tablet OS, or iOS devices using the same workflow you use to build web or desktop applications today. In this quick tutorial, you'll build an application that gets the latest trending topics from Twitter and lets you see the tweets for each topic, as well as information on the user who posted each tweet (see Figure 1). Along the way, youll see how to create and lay out a mobile Flex application, bind it to data using the data connectivity features in Flash Builder, and test your application on both the desktop and on a physical device.

The mobile Twitter application you’ll be building in this tutorial.
Figure 1. The mobile Twitter application you’ll be building in this tutorial.

The mobile development features in Flex and Flash Builder 4.5 provide several key features:

  • Many of the core Flex components have been made mobile-ready, so when you use them in a mobile application, they automatically appear with skins and interactions optimized for small screens and touch input.
  • Unlike web or desktop applications, mobile applications are typically structured around a series of simple views, as shown in the diagram above. Flex 4.5 provides View and ViewNavigator components to make it easy to build these types of applications.
  • Flex provides mechanisms to make it easier for your application to adapt across screens with different pixel densities—a common problem in mobile development.
  • The core Flex components have been optimized in order to perform well on devices with limited memory and CPU speed.
  • Mobile applications built with Flex 4.5 use the AIR runtime, and are packaged using the native application format on each device, so they can be deployed and sold on application stores or markets the same way as native applications on each platform.

To start with the tutorial, download the following:

  • Complete tutorial (PDF, 676 KB)
  • Tutorial assets (ZIP, 1.4 MB)
  • Mobile application (APK, 840 KB)

For more information about building apps for mobile devices, read Mobile development using Flex SDK 4.5 and Flash Builder 4.5.

For more information on packaging an application for final deployment for each platform, see:

  • Using Flash Builder 4.5 to package applications for Apple iOS
  • Using Flash Builder 4.5 to package applications for Google Android devices
  • Using Flash Builder 4.5 to package applications for BlackBerry Tablet OS devices

After finishing this tutorial, if you want to go further and explore building a more complete Flex application with a custom server back end, check out the Flex Test Drive for Mobile.

Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License+Adobe Commercial Rights

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

More Like This

  • 100 Days of Exercise: Building social features into mobile AIR apps
  • Caltrain Times from design to release: A story of mobile application development
  • Flex mobile development tips and tricks – Part 5: Using mobile view and tab transitions
  • Flex mobile development tips and tricks—Part 4: Creating an alert popup and other skinnable popups
  • Flex mobile development tips and tricks – Part 2: Styling your application's tabs and ActionBar
  • Flex mobile development tips and tricks – Part 1: Data handling
  • Flex mobile development tips and tricks – Part 3: Hiding and positioning your app’s tabs and hiding the ActionBar
  • Introducing Adobe Flex 4.6 SDK
  • What's new in Flex 4.6 SDK and Flash Builder 4.6
  • Flex mobile performance checklist

Tutorials & Samples

Tutorials

  • Flex mobile performance checklist
  • Flex and Maven with Flexmojos – Part 3: Journeyman
  • Migrating Flex 3 applications to Flex 4.5 – Part 4

Samples

  • Twitter Trends
  • Flex 4.5 reference applications
  • Mobile Trader Flex app on Android Market

Flex User Forum

More
02/21/2012 Problem with scrolling in ADG
02/21/2012 extending FormItem and direction
02/21/2012 Change the Selected TEXT Color of Spark DataGrid Row
02/21/2012 Vertically Align Text in Spark DataGrid Row

Flex Cookbook

More
02/15/2012 Custom WorkFlow Component
02/09/2012 Using Camera with a MediaContainer instead of VideoDisplay
02/08/2012 Digital Clock
01/20/2012 Skinnable Transform Tool

Products

  • Adobe Touch Apps
  • Acrobat
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • Mobile Apps
  • Photoshop

Solutions

  • Digital marketing
  • Digital media
  • Web Experience Management

Industries

  • Education
  • Financial services
  • Government

Help

  • Product help centers
  • Orders and returns
  • Downloading and installing
  • My Adobe

Learning

  • Adobe Developer Connection
  • Adobe TV
  • Training and certification
  • Forums
  • Design Center

Ways to buy

  • For personal and home office
  • For students, educators, and staff
  • For small and medium businesses
  • For businesses, schools, and government
  • Special offers

Downloads

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • Pacific - English
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Ad Choices

Reviewed by TRUSTe: site privacy statement