Professional Flash Mobile Development
Home > Computing and Information Technology > Computer programming / software engineering > Professional Flash Mobile Development: Creating Android and iPhone Applications
Professional Flash Mobile Development: Creating Android and iPhone Applications

Professional Flash Mobile Development: Creating Android and iPhone Applications


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

Professional Flash Mobile Development: Creating Android and iPhone Applications Everything Flash developers need to know to create native Android and iPhone apps This Wrox guide shows Flash developers how to create native applications for Android and iPhone mobile devices using Flash. Packed with practical examples, it shows how to build a variety of apps and integrate them with core mobile services such as Accelerometer, GPS, Photo Library,and more. Offers Flash developers the tools to create apps for the Android and iPhone mobile devices Shows how to design a user interface optimized for Android and iOS and offers plenty of examples for building native Android and iPhone apps with Flash, migrating existing Flash media, testing and debugging applications, and more Helps you understand ways to work with files on Android and iOS Professional Flash Mobile Development: Creating Android and iPhone Applications answers the demand for Flash-capable Android and iPhone apps.

Table of Contents:
INTRODUCTION xv PART I: GETTING STARTED CHAPTER 1: INTRODUCING FLASH DEVELOPMENT FOR MOBILE DEVICES 3 Expanding to the Mobile World 3 Discovering Adobe AIR 5 Building for Android 5 Building for iOS 6 What You Can and Cannot Do 7 Device Support 7 Unsupported AS3 API Objects 8 Understanding the AIR for Android Security Model 9 Getting to Know the Android SDK 10 Getting to Know the iOS SDK 11 Summary 11 CHAPTER 2: SETTING UP YOUR DEVELOPMENT ENVIRONMENT 13 Preparing for Android Development 13 Installing the AIR SDK 13 Creating a Code-Signing Certificate 15 Installing the Flash CS5 Extension for AIR 2.5 17 Installing the Android SDK 17 Adding the Android SDK to Your System Path 19 Creating an Android Virtual Device 21 Installing the AIR Runtime onto Your Device 22 Comparing the Development Environment Options 22 Using MXML in Android Apps 23 Preparing for iOS Development 23 Joining the iPhone Developer Program 23 Getting an iPhone Developer Certificate 24 Retrieving the Developer Certificate 28 Adding a Device 30 Creating an App ID 31 Creating a Provisioning Profile 32 Installing the Provisioning Profile 35 Summary 37 CHAPTER 3: BUILDING AND INSTALLING VANILLAAPP 39 VanillaApp for Android 39 Creating a Project 40 Creating a Flash Document for AIR for Android 40 Creating an ActionScript Document Class 41 Coding the Document Class 43 Adding Icons 49 Defining Android Settings 49 Previewing the App inside Flash 52 Publishing and Installing the Application 53 Running the App on an Android Device 53 VanillaApp for iOS 54 Creating a Project 56 Creating an iPhone-Based Flash Document 57 Creating an ActionScript Document Class 57 Coding the Document Class 58 Creating a Splash Screen 65 Adding Icons 66 Defining iPhone Settings 66 Previewing the App inside Flash 70 Publishing the Application 70 Installing the App on an iPhone 71 Summary 73 CHAPTER 4: RETHINKING ACTIONSCRIPT PROGRAMMING 77 Conserving Memory and CPU Resources 77 ActionScript Practices 78 Reuse Objects 78 General Tips for Working with AS3 79 Event Handling 81 UI Practices 81 Graphics Practices 82 Caching 82 Miscellaneous Tips 83 General Application Practices 83 Frame Rate 83 GPU Rendering 84 Garbage Collection 84 Kitchen Sink Tips 85 Summary 85 CHAPTER 5: MULTITOUCH API 87 Understanding the Multitouch Jargon 87 Mouse Emulation Events 87 Touch Events 88 Gesture Events 88 Listening for Touch Events 89 Event Bubbling 89 Working with Touch Events 89 Coding the Document Class 90 Running the App 92 Working with the Swipe Gesture 96 Setting Up the Timeline 96 Adding a Sound Asset 96 Coding the Document Class 97 Running the App 101 Working with Rotate and Zoom Gestures 101 Coding the Document Class 102 Running the App 106 Summary 107 CHAPTER 6: DETECTING MOTION WITH ACCELEROMETER 109 Introducing Accelerometer and AccelerometerEvent 110 Listening for Accelerometer Events 111 Coding the Document Class 111 Running the App 114 Responding to Accelerometer Events 114 Creating the Sphere Class 115 Coding the Document Class 116 Running the App 121 Detecting Shaking 122 Coding the Document Class 122 Running the App 127 Summary 127 CHAPTER 7: IMPLEMENTING AUTO ORIENTATION 129 Enabling Your App to Rotate 129 StageOrientationEvent 130 Two Essentials for UI Reorientation 131 Detecting an Orientation Change 132 Changing Positioning Based on Orientation Changes 138 Summary 144 CHAPTER 8: GEOLOCATION API 145 Getting Geolocation Data 145 Enabling GPS Support for Android 147 Creating a Basic Geolocation Application 148 Coding the Document Class 148 Testing and Running the App 152 Creating a Compass App 153 Coding the Document Class 153 Running the App 159 Creating a Speedometer and Altimeter 160 Embedding a Font in Your App 160 Coding the Document Class 161 Configuring Landscape Orientation 167 Running the App 169 Sending Geolocation to a Web Service 169 Coding the Document Class 170 Running the App 178 Summary 178 CHAPTER 9: SERVICE INTEGRATION USING URL PROTOCOLS 179 Abstracting URL Protocols 180 Making Phone Calls from Your Application 181 Creating PhoneDialer.as 181 Using PhoneDialer in an App 182 Sending SMS Messages 187 Creating SMS.as 188 Adding SMS Support to PhoneServices App 189 Running the App 189 Sending E-mails 191 Creating Mail.as 191 Sending Mail from an App 194 Android: Adding Permissions 196 Running the App 197 Pointing on Google Maps 198 Creating GoogleMaps.as 199 Using GoogleMaps in an App 200 Android: Setting Permissions 206 Running the App 206 Summary 207 CHAPTER 10: ANDROID CAMERA, CAMERA ROLL, AND MICROPHONE 209 CameraUI: Launch and Return 210 Camera: Creating a Live Video Feed 216 Tapping into the Camera Roll 221 Capturing Sounds with the Microphone 228 Summary 234 CHAPTER 11: FILE MANAGEMENT 237 Understanding the Android File and Directory Structure 237 Working with Directories, Files, and File Streams 238 Working with Directories 238 File System Operations 241 Reading and Writing Files 244 Reading a File 245 Writing to a File 246 Android Case Study: Jots 246 Coding the Document Class 248 Running Jots 253 Summary 253 CHAPTER 12: LOCAL DATABASES 255 Working with a SQLite Database 255 Open a Database Connection 256 Creating a Synchronous Connection 256 Creating an Asynchronous Connection 256 Creating Tables 257 Making a SQL Query 262 Inserting and Updating Records 263 Summary 269 PART IV: TESTING AND DEBUGGING CHAPTER 13: REMOTE DEBUGGING 273 Establishing a WIFI Connection 273 Using the AIR Debug Launcher 274 Android Debugging 274 Remote Debugging inside the Flash IDE 274 Remote Debugging from the Command Line 276 Debugging with Android SDK’s Logcat 277 iOS Debugging 277 Remote Debugging inside the Flash IDE 277 Viewing GPU Rendering Diagnostics 278 Summary 278 CHAPTER 14: SUBMITTING YOUR APP TO THE APP STORE 279 Preparing Your Android App 279 Getting a Screenshot 280 Submitting Your App to the Android Market 281 Registering Your Developer Profile 281 Submitting Your App 282 Preparing Your iOS App 285 Getting a Distribution Certificate 285 Creating a Distribution Provisioning Profile 287 Publishing a Distribution Release of Your App 288 Submitting Your App to the Apple App Store 288 Summary 289 APPENDIX A: APPLICATION DESCRIPTOR SETTINGS 291 APPENDIX B: COMPILING APPLICATIONS FROM THE COMMAND LINE 305 INDEX 309


Best Sellers


Product Details
  • ISBN-13: 9781118037317
  • Publisher: John Wiley & Sons Inc
  • Publisher Imprint: Wrox Press
  • Language: English
  • Sub Title: Creating Android and iPhone Applications
  • ISBN-10: 1118037316
  • Publisher Date: 21 Dec 2010
  • Binding: Digital (delivered electronically)
  • No of Pages: 336


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Professional Flash Mobile Development: Creating Android and iPhone Applications
John Wiley & Sons Inc -
Professional Flash Mobile Development: Creating Android and iPhone Applications
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Professional Flash Mobile Development: Creating Android and iPhone Applications

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!