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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Getting Started With Flash Mobile Development

1,195

Published on

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.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,195
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
22
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • 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
  • Transcript

    • 1. Getting Started with Flash Mobile Development
      Mihai Corlan | WW Developer Evangelist | http://corlan.org
    • 2. 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
    • 3. Live Coding – a simple Twitter Client
    • 4. Flex Support for Screen Metaphor
      Application First Screen
      Second Screen
    • 5. 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
    • 6. 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>
    • 7. View Lifecycle
      ?
      View
      Data
      Another
      View
      Destroyed
      Created
      Created
      Destroyed
      Created
      Destroyed
      data = yourData;
      destructionPolicy =”none"
    • 8. 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'))"/>
    • 9. 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;
      }
    • 10. 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);
      }
      }
    • 11. Storing Data
      AIR has support for SQLite. You can create new databases/tables, read/write records
      You can write files to device storage
    • 12. 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
    • 13.
    • 14. 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
    • 15. 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

    ×