DEVELOPING MOBILE APPLICATIONS with FLEX and FLASH BUILDER 4.6 Iv Contents
Total Page:16
File Type:pdf, Size:1020Kb
Developing Mobile Applications with ADOBE® FLEX® 4.6 and ADOBE® FLASH® BUILDER TM 4.6 Legal notices Legal notices For legal notices, see http://help.adobe.com/en_US/legalnotices/index.html. Last updated 11/21/2011 iii Contents Chapter 1: Getting started Getting started with mobile applications . 1 Differences in mobile, desktop, and browser application development . 4 Chapter 2: Development environment Create an Android application in Flash Builder . 8 Create an iOS application in Flash Builder . 10 Create a BlackBerry Tablet OS application in Flash Builder . 10 Create an ActionScript mobile project . 11 Use native extensions . 11 Set mobile project preferences . 13 Connect Google Android devices . 16 Apple iOS development process using Flash Builder . 18 Chapter 3: User interface and layout Lay out a mobile application . 23 Handle user input in a mobile application . 29 Define a mobile application and a splash screen . 31 Define views in a mobile application . 36 Define tabs in a mobile application . 45 Create multiple panes in a mobile application . 47 Define navigation, title, and action controls in a mobile application . 56 Use scroll bars in a mobile application . 61 Define menus in a mobile application . 67 Display the busy indicator for long-running activity in a mobile application . 71 Add a toggle switch to a mobile application . 73 Add a callout container to a mobile application . 75 Define transitions in a mobile application . 88 Select dates and times in a mobile application . 93 Use a spinner list in a mobile application . 104 Chapter 4: Application design and workflow Enable persistence in a mobile application . 118 Support multiple screen sizes and DPI values in a mobile application . 122 Chapter 5: Text Use text in a mobile application . 136 User interactions with text in a mobile application . 145 Use the soft keyboard in a mobile application . 146 Embed fonts in a mobile application . 158 Last updated 11/21/2011 DEVELOPING MOBILE APPLICATIONS WITH FLEX AND FLASH BUILDER 4.6 iv Contents Chapter 6: Skinning Basics of mobile skinning . 160 Create skins for a mobile application . 164 Apply a custom mobile skin . 172 Chapter 7: Test and debug Manage launch configurations . 174 Test and debug a mobile application on the desktop . 174 Test and debug a mobile application on a device . 175 Chapter 8: Install on devices Install an application on a Google Android device . 179 Install an application on an Apple iOS device . 179 Chapter 9: Package and export Package and export a mobile application to an online store . 181 Export Android APK packages for release . 181 Export Apple iOS packages for release . 182 Create, test, and deploy using the command line . ..