An Introduction to Flash and AIR Development on Android



Similar documents
[PACKTl. Flash Development for Android Cookbook. Flash, Flex, and AIR. Joseph Labrecque. Over 90 recipes to build exciting Android applications with

5 reasons to choose Streamezzo SDK over Android SDK Page 2

Wiley Publishing, Inc.

Developing Mobile Applications with ADOBE FLEX and ADOBE FLASH TM BUILDER

Build Once, Deploy Everywhere: Support Both ios and Android

Full version is >>> HERE <<<

Multi-touch app development with modern web tools. David Reagan, Advanced Visualization Lab

Developer's Cookbook. Building Applications with. The Android. the Android SDK. A Addison-Wesley. James Steele Nelson To

POEMS Smartphone Web User Guide

Best practices building multi-platform apps. John Hasthorpe & Josh Venman

STANDARD BANNER: Ad Specs

The 8 th International Scientific Conference elearning and software for Education Bucharest, April 26-27, / X

Building ADOBE AIR Applications

MOVEIRO BT-200 Technical Information for Application Developer

Lee Barnes, CTO Utopia Solutions. Utopia Solutions

Introduction to Android

Getting started with Adobe Reader

Scientific m-learning. 4-7 June Mobile Application Development using App Inventor for Android Devices

CS378 -Mobile Computing. Android Overview and Android Development Environment

Professional Flash Mobile DeveloPMent

Adobe Flash Professional CS6

What Smartphones and Tablets are supported by Smart Measure PRO?

Release Notes: Onsight Connect for Android Software Release Notes. Software Version Revision 1.0.0

Developing Applications for ios

More details >>> HERE <<<

Android 5.0: Lollipop OS

Adobe Flash Catalyst CS5.5

Client Overview. Engagement Situation. Key Requirements. Xoriant Solutions

Operating Systems/Supported Browser Chart _

Using Flash CS3 and AIR to Build Desktop Applications

Praktikum Entwicklung Mediensysteme (für Master)

Mobile Banking is Here!... Enroll today. Just log in to your Miami Federal Credit Union online banking account from a computer, click on the Self

Creating Effective Mobile Advertising Campaigns

Mobile Phones Operating Systems

Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department. Mobile Computing ECOM Eng. Wafaa Audah.

Supported Operating Systems & Browsers

Mobile Application Marketplace 2015: Market Analysis and Assessment of Future Evolution and Opportunities

ipad, a revolutionary device - Apple

ADT Plugin for Eclipse

Building an Android client. Rohit Nayak Talentica Software

HYBRID APPLICATION DEVELOPMENT IN PHONEGAP USING UI TOOLKITS

Flash Development for Android Cookbook

Full version is >>> HERE <<<

CS 528 Mobile and Ubiquitous Computing Lecture 2: Android Introduction and Setup. Emmanuel Agu

Fiserv. Hardware Requirements Browser Support Channel Support. Maximum OS Version Support. Version Support

ANDROID OPERATING SYSTEM

Adobe Productivity and Creativity Tool

Supported Operating Systems and Browsers Phone Channel

01. Introduction of Android

Brief Guide v0.3. Based on Android Version Work in Progress

Discovery Insure Driving Challenge Frequently Asked Questions

O Reilly Ebooks Your bookshelf on your devices!

Fusion Release Notes Versions January 2015

Mobile App Development

En Wireless Mobile Utility (Android) User s Manual. D610, D600, D7100, D5300, D5200, D3300, Df

Getting started with Android and App Engine

Mobiliti. Certified Device List MR5 Release. Last Updated November 21, ASP Version

GestPoint Maestro3D. A White Paper from GestureTek The Inventor of 3D Video Gesture Control

Generate Android App

Basic Android Setup Windows Version

WATTLE. Adobe Connect 9.4 Upgrade Key Differences. Author: Jo Jo Maung, Business Analyst, ITS Version: 1.3 Date: 16 September 2015.

Advertising Specifications, Standards and Guidelines

AppBoard TM 2.6. System Requirements. Technical Documentation. Version July 2015

Build a Mobile App in 60 Minutes with MAF

Mobile Application Development 2014

SuperOffice Pocket CRM

Event Manager Application for Android

Graduate presentation for CSCI By Janakiram Vantipalli ( Janakiram.vantipalli@colorado.edu )

Game Development. with Unity. for ios and Android devices. Johan Sanneblad, HiQ

RIA DEVELOPMENT OPTIONS - AIR VS. SILVERLIGHT

C (1) SNC toolbox mobile. Application Guide Software Version Sony Corporation

Mobile App Development Using App Inventor

«compl*tc IDIOT'S GUIDE. Android App. Development. by Christopher Froehlich ALPHA. A member of Penguin Group (USA) Inc.

RDM+ Remote Desktop for Android. Getting Started Guide

Workshop on Android and Applications Development

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

More information >>> HERE <<<

Cisco Cius Development Guide Version 1.0 September 30, 2010

Creating Next-Generation User Experience with Windows Aero, Windows Presentation Foundation and Silverlight on Windows Embedded Standard 7

IAB Full page flex Mobile Rising Star Ad Unit

ANDROID. Programming basics

Deepak Patil (Technical Director) iasys Technologies Pvt. Ltd.

TECHNOLOGIES MOBILE STRATEGY

the future of mobile web by startech.ro

WEARIT DEVELOPER DOCUMENTATION 0.2 preliminary release July 20 th, 2013

Zoom Video Conferencing

Choosing a Mobile Strategy for Your Business

MOBILE APPS. QA Testing for mobile applications

Take Pictures on your Android Tablet or Phone

Practical Android Projects Lucas Jordan Pieter Greyling

Android Setup Phase 2

Transcription:

An Introduction to Flash and AIR Development on Android Stephen Chin Twitter: @steveonjava http://steveonjava.com/ Oswald Campesato Twitter: @ocampesato http://book2-web.com/

STEPHEN CHIN OSWALD CAMPESATO + =?

Adobe Flash Available on Android Phones Today Works in the Browser Limited Access to Device APIs Adobe AIR In Pre-release Today Deploys as an Android Market Application Gives Full Access to Device APIs Update: Now Available in the Android Market!

Tool Name Description Supports Android Development Adobe Flash CS5 Visual design tool for building Flash Actionscript Via Plug-in applications with some Actionscript. Adobe Flash Builder 4 Professional Flex and Actionscript development environment. Flex, Actionscript Command Line Plug-in Available Later Device Central Device library and runtime emulation environment. N/A Downloaded Profiles Flex 4 SDK Stand-alone development toolkit. Flex, Command Adobe Flash Catalyst Rapid Development Platform for building Flex user interfaces. Actionscript Flex, Actionscript Line Not supported directly

import flash.system.capabilities; import flash.ui.multitouch; capabilityscroller.capabilities.text = "Manufacturer: " + Capabilities.manufacturer + "\n" + "OS: " + Capabilities.os + "\n" + "Pixel Aspect Ratio: " + Capabilities.pixelAspectRatio + "\n" + "Player Type: " + Capabilities.playerType + "\n" + "Screen Color: " + Capabilities.screenColor + "\n" + "Screen DPI: " + Capabilities.screenDPI + "\n" + "Screen Resolution: " + Capabilities.screenResolutionX + "x" + Capabilities.screenResolutionY + "\n" + "Touch Screen Type: " + Capabilities.touchscreenType + "\n" + "Version: " + Capabilities.version + "\n" + "Supports Gesture Events: " + Multitouch.supportsGestureEvents + "\n" + "Supports Touch Events: " + Multitouch.supportsTouchEvents + "\n" + "Input Mode: " + Multitouch.inputMode + "\n" + "Max Touch Points: " + Multitouch.maxTouchPoints + "\n" + "Supported Gestures: " + Multitouch.supportedGestures;

Device Name Manufacturer Resolution Size Density Type T-Mobile G1 HTC 320x480 3.2" 180ppi HVGA HTC Hero HTC 320x480 3.2" 180ppi HVGA Motorola Droid Motorola 480x854 3.7" 265ppi FWVGA Google Nexus One HTC 480x800 3.7" 252ppi WVGA Xperia X10 Mini Sony Ericsson 240x320 2.55" 157ppi QVGA Xperia X10 Sony Ericsson 480x854 4" 245ppi WVGA HTC Evo 4G HTC 480x800 4.3" 217ppi WVGA Droid X Motorola 480x854 4.3"? FWVGA

Screen Orientation * Multitouch * Gestures Accelerometer Camera GPS * APIs we will show examples of today

Stage Event Listener stage.addeventlistener( StageOrientationEvent.ORIENTATION_CHANGE, <function callback>); StageOrientation Values DEFAULT ROTATED_LEFT ROTATED_RIGHT UPSIDE_DOWN UNKNOWN

import flash.display.stageorientation; import flash.events.stageorientationevent; stop(); stage.addeventlistener( StageOrientationEvent.ORIENTATION_CHANGE, onchanged); function onchanged(event:stageorientationevent):void { play(); }

GESTURES Two Finger Tap Rotate Press and Tap Swipe Pan Zoom Illustrations provided by Gestureworks (www.gestureworks.com)

package com.proandroidflash { import flash.events.transformgestureevent; import flash.ui.multitouch; import flash.ui.multitouchinputmode; import mx.controls.image; public class MultiTouchImage extends Image { public function MultiTouchImage() { addeventlistener(transformgestureevent.gesture_rotate, rotatelistener); addeventlistener(transformgestureevent.gesture_zoom, zoomlistener); Multitouch.inputMode = MultitouchInputMode.GESTURE; } public function rotatelistener(e:transformgestureevent):void { rotation += e.rotation; } } } public function zoomlistener(e:transformgestureevent):void { scalex *= e.scalex; scaley *= e.scaley; }

<?xml version="1.0" encoding="utf-8"?> <s:application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx xmlns:proandroidflash="com.proandroidflash.*" backgroundcolor="#333333"> <s:layout> <s:verticallayout horizontalalign="center" paddingtop="10" paddingleft="10" paddingright="10" paddingbottom="10"/> </s:layout> <fx:declarations> <fx:array id="images"> <fx:object> [@Embed(source='images/cassandra1.jpg')] </fx:object> </fx:array> </fx:declarations> <s:label text="android Scrapbook" fontsize="32" color="white"/> <s:label text="drag, Rotate, and Zoom with your fingers." fontsize="14" color="#aaaaaa"/> <s:bordercontainer backgroundcolor="#cccccc" bordercolor="#555555" rotation="5" width="110%" height="110%"> <s:filters> <s:dropshadowfilter alpha="0.5"/> </s:filters> <proandroidflash:multitouchimage source="@embed(source='images/cassandra1.jpg')" y="20" x="10" width="350" rotation="-3"/> <proandroidflash:multitouchimage source="@embed(source='images/cassandra2.jpg')" y="200" x="40" width="350" rotation="13"/> <proandroidflash:multitouchimage source="@embed(source='images/cassandra3.jpg')" y="460" x="5" width="350" rotation="-8"/> </s:bordercontainer> </s:application>

API Name Accessibility DatagramSocket DNSResolver DockIcon DRMManager EncryptedLocalStore HTMLLoader LocalConnection Property to Check Capabilities.hasAccessibility DatagramSocket.isSupported DNSResolver.isSupported NativeApplication.supportsDockIcon DRMManager.isSupported EncryptedLocalStore.isSupported HTMLLoader.isSupported LocalConnection.isSupported NativeApplication.exit() -- NativeApplication.menu NativeApplication.isSetAsDefaultApplication() NativeApplication.startAtLogin NativeApplication.supportsMenu NativeApplication.supportsDefaultApplication NativeApplication.supportsStartAtLogin

API Name NativeMenu NativeProcess NativeWindow NativeWindow.notifyUser() NetworkInfo PDF support PrintJob SecureSocket ServerSocket Property to Check NativeMenu.isSupported NativeProcess.isSupported NativeWindow.isSupported NativeWindow.supportsNotification NetworkInfo.isSupported HTMLLoader.pdfCapability PrintJob.isSupported SecureSocket.isSupported ServerSocket.isSupported Shader -- ShaderFilter -- StorageVolumeInfo XMLSignatureValidator StorageVolumeInfo.isSupported XMLSignatureValidator.isSupported

Coming 2011 MobileApplication Views ViewNavigator Splash Screen Components: ActionBar Text Components List, Scroller, and Touch Gestures For more info see: http://opensource.adobe.com/wiki/display/flexsdk/hero

Android Tablets iphone/ipad Television

Android SDK (2.2 or later) http://developer.android.com/sdk/index.html AIR Prerelease http://labs.adobe.com/technologies/air2/android/ Flex Mobile (Hero) http://opensource.adobe.com/wiki/display/flexsd k/hero

James Ward http://www.jamesward.com/ Christian Cantrell http://blogs.adobe.com/cantrell/ Christophe Coenraets http://coenraets.org/blog/ Serge Jespers http://www.webkitchen.be/ Lee Brimelow (The Flash Blog) http://blog.theflashblog.com/ Mark Doherty (FlashMobileBlog) http://www.flashmobileblog.com/

San Flashcisco BAADUG SilvaFUG SilvaFUG presents Flash On Flash Gaming on Android Stephen Chin and James Young November 9 th (SF) and 11 th (SJ)

Stephen Chin, Oswald Campesato, and Dean Iverson Coming in April 2011 Will Include: UI Controls Media Support Mobile Flex APIs Android Market Deployment Extensive Examples