Getting Started With Flash Mobile Development
Upcoming SlideShare
Loading in...5
×
 

Getting Started With Flash Mobile Development

on

  • 1,603 views

Interested in developing mobile apps for Android, iOS, and BlackBerry PlayBook Tablet? Learn how to use the the Flash Platform to do just so.

Interested in developing mobile apps for Android, iOS, and BlackBerry PlayBook Tablet? Learn how to use the the Flash Platform to do just so.

Statistics

Views

Total Views
1,603
Views on SlideShare
1,603
Embed Views
0

Actions

Likes
0
Downloads
21
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • I’ve been working for Adobe for the past 7 years. And in the last tree years I’ve been working as a developer evangelist focused on Flex, Adobe AIR
  • Building Twitter ClientDiscuss new project wizard with different options, application permissionsUsing DCDDiscus Action BarDiscuss screen metaphorDiscuss view live cycle – using data to store the dataTesting the app in the simulator and deviceDiscuss support for device orientation changesDiscuss packaging supporShow Mobile-1 project to discuss phone/sms/mail/web integrationShow samples for camera and mic access
  • Show Mobile-1 project to discuss phone/sms/mail/web integration

Getting Started With Flash Mobile Development Getting Started With Flash Mobile Development Presentation Transcript

  • Getting Started with Flash Mobile Development
    Mihai Corlan | WW Developer Evangelist | http://corlan.org
  • About Me
    Adobe World Wide Developer Evangelist (since 2008)
    Flash Builder Engineer 2006-2008
    Web Developer 98’ - 2006
    Blog: http://corlan.org
    Twitter: http://twitter.com/mcorlan
    Email: mihai.corlan@adobe.com
    2
  • Live Coding – a simple Twitter Client
  • Flex Support for Screen Metaphor
    Application First Screen
    Second Screen
  • Flex Mobile Components - ViewNavigator
    Using Flex’s s:MobileApplication or s:TabbedMobileApplication you get screen management for free
    navigator.push(NewScreen, data) - add new screen
    navigator.popView() - go to previous screen
    navigator.popToFirstView() - go to first view
    navigator.activeView - retrieve active view
  • Action Bar
    Navigation / Title / Action
    Hide the bar actionBarVisible = false
    Overlay the bar overlayControls = false
    <s:navigationContent>
    <s:Button label="Home"/>
    </s:navigationContent>
    <s:titleContent>
    <s:TextInput prompt="search" width="100%"/>
    </s:titleContent>
    <s:actionContent>
    <s:Button label="Go"/>
    </s:actionContent>
  • View Lifecycle
    ?
    View
    Data
    Another
    View
    Destroyed
    Created
    Created
    Destroyed
    Created
    Destroyed
    data = yourData;
    destructionPolicy =”none"
  • Integration with Phone/SMS/Mail/Web Browser Apps
    <s:Button label="Phone" click="navigateToURL(new URLRequest('tel:08383838'))"/>
    <s:Button label="SMS" click="navigateToURL(new URLRequest('sms:08383838'))"/>
    <s:Button label="Email" click="navigateToURL(new URLRequest('mailto:mcorlan@adobe.com'))"/>
    <s:Button label="Web" click="navigateToURL(new URLRequest('http://corlan.org'))"/>
  • Camera Access
    Access to Camera Roll
    Access to Camera Native app (for video and photo)
    cameraUI = new CameraUI();
    cameraUI.addEventListener(MediaEvent.COMPLETE, onCameraUIComplete);
    cameraUI.launch(MediaType.IMAGE);//photo
    //cameraUI.launch(MediaType.VIDEO);//video
    private function onCameraUIComplete(e:MediaEvent):void {
    varmediaPromise:MediaPromise = e.data;
    // do something with the image:
    mediaPromise.file.url;
    }
  • Microphone Access
    if (Microphone.isSupported) {
    mic= Microphone.getMicrophone();
    soundBytes = new ByteArray();
    mic.addEventListener(SampleDataEvent.SAMPLE_DATA, micSampleDataHandler);
    }
    private function micSampleDataHandler(event:SampleDataEvent):void {
    while (event.data.bytesAvailable) {
    varsample:Number = event.data.readFloat();
    soundBytes.writeFloat(sample);
    }
    }
  • Storing Data
    AIR has support for SQLite. You can create new databases/tables, read/write records
    You can write files to device storage
  • Thank You!
    Download tutorial and projects for mobile development:
    http://corlan.org/downloads/dt/mobile.zip
    I will upload the slides to my blog today.
    http://corlan.org
    http://twitter.com/mcorlan
    mcorlan@adobe.com
  • Adobe, the Adobe logo, Adobe AIR, the Adobe AIR logo, the Adobe PDF logo, AIR, ColdFusion, ColdFusion Builder, Flash, Flash Builder, the Flash logo, Flex, LiveCycle, and Reader are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. All other trademarks are the property of their respective owners.
    © 2010 Adobe Systems Incorporated. All rights reserved. Printed in the USA. 9102xxxx 3/10
    Adobe, the Adobe logo, Adobe AIR, the Adobe AIR logo, ActionScript, AIR, Flash, Flash Builder, Flash Catalyst, the Flash logo, Flex, and LiveCycle are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Java is a trademark or registered trademark of Sun Microsystems, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
    Printed in the USA. 91023957 3/10
  • The Flash Platform
    Applications, Content and Video
    Tools to Design and Develop
    Clients
    Servers
    Framework
    Services
    Adobe® Flash® Builder™
    Adobe® Flash® Media Server Family
    Adobe® Flash® CS5 Professional
    Adobe® Flex ®
    Adobe® Flash® Platform Services
    Adobe® AIR®
    “Burrito”
    “Hero”
    2.6
    Adobe® Flash® Catalyst™
    Adobe® LiveCycle®
    Data Services
    Adobe® LiveCycle® Collaboration Service
    Adobe® Flash® Player
    “Panini”
    10.2
    Integrating withthe Flash Platform
    ColdFusion Builder
    Creative Suite 5