• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Air on Mobile (2011)
 

Air on Mobile (2011)

on

  • 9,274 views

 

Statistics

Views

Total Views
9,274
Views on SlideShare
3,505
Embed Views
5,769

Actions

Likes
3
Downloads
71
Comments
1

35 Embeds 5,769

http://blog.riaproject.com 4294
http://masolin.blogspot.com 808
http://masolin.blogspot.tw 471
http://www.webshowme.com 77
http://www.directrss.co.il 37
http://webcache.googleusercontent.com 20
url_unknown 8
http://masolin.blogspot.hk 4
http://masolin.blogspot.co.uk 4
http://masolin.blogspot.jp 4
http://masolin.blogspot.com.es 4
http://masolin.blogspot.com.br 3
http://feeds.feedburner.com 3
http://masolin.blogspot.in 3
http://masolin.blogspot.fr 3
http://masolin.blogspot.pt 2
http://masolin.blogspot.com.au 2
http://www.slideshare.net 2
http://masolin.blogspot.kr 2
http://xianguo.com 2
https://www.google.com.tw 2
http://masolin.blogspot.de 1
http://cache.baidu.com 1
https://proxypy13.appspot.com 1
http://cache.baiducontent.com 1
http://masolin.blogspot.tw.sixxs.org 1
http://masolin.blogspot.ca 1
http://masolin.blogspot.nl 1
http://3.hidemyass.com 1
http://masolin.blogspot.fi 1
http://masolin.blogspot.it 1
http://masolin.blogspot.co.nz 1
http://reader.googleusercontent.com 1
http://translate.googleusercontent.com 1
http://mobile.webshowme.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial LicenseCC Attribution-NonCommercial License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • swf based ios apps which software is best .

    www.linefocus.com
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Air on Mobile (2011) Air on Mobile (2011) Presentation Transcript

    • AIRonMOBILEMaso Lin2011/4/18
    • 人活得好好的幹嘛寫手機APP?
    • 全球68億人口
    • 有34億人有手機
    • 但不只34億”台”手機
    • 2010年底超過50億台
    • 那手機很多 關我什麼事 俺是閃客啊ActionScriptHero.org
    • SmartPhone+Tablet > PC+NB 預計今年超越 2013達到2倍
    • 日本MIXI手機連線85%電腦連線15%
    • FACEBOOK則是 4:1左右
    • TWITTER約2:1
    • AT&T過去3年行動上網量 成長50倍
    • 全球行手上網量 預估未來5年 將再成長26倍
    • SOLOMO via John Doerr
    • SOCIALLOCALMOBILE
    • 準備工作
    • • Flash CS5 (AIR2.0)• Flash CS5.5 (AIR 2.6)• Flash Builder4.5 (Spark mobile component)
    • • Android SDK• 保護費 $25(終身)• Android Phone/Pad若干
    • • ARMv7• Android 2.2以上
    • • Mac電腦乙部(會比較方便)• 保護費 $99(年)• iPhone, iPad 少許
    • • iPod Touch 3代以上• iPhone3Gs以上• iPad• iOS 4.0以上
    • • CertifiedDevices http://www.adobe.com/flashplatform/ certified_devices/
    • Photo via Mike Chambers 可以玩哪些
    • Accelerometerimport flash.events.AccelerometerEvent;import flash.sensors.Accelerometer;var accelerometer:Accelerometer;accelerometer = new Accelerometer();accelerometer.addEventListener(AccelerometerEvent.UPDATE, accUpdateHandler);function accUpdateHandler(event:AccelerometerEvent):void{ xSpeed -= event.accelerationX * 2; ySpeed += event.accelerationY * 2;} http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/sensors/Accelerometer.html
    • Geolocationimport flash.events.GeolocationEvent;import flash.sensors.Geolocation;var geo:Geolocation;geo = new Geolocation();geo.addEventListener(GeolocationEvent.UPDATE,geoUpdateHandler);function geoUpdateHandler(event:GeolocationEvent):void{ trace(event.latitude); trace(event.longitude);} http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/sensors/ Geolocation.html
    • Multitouch : Touch PointMultitouch.inputMode = MultitouchInputMode.TOUCH_POINT;addEventListener(TouchEvent.TOUCH_BEGIN, onTouchBegin);addEventListener(TouchEvent.TOUCH_END, onTouchEnd);addEventListener(TouchEvent.TOUCH_MOVE, onTouchMove);function onTouchBegin(eBegin:TouchEvent) { trace(eBegin.touchPointID); trace(eMove.stageX); trace(eMove.stageY);}function onTouchMove(eMove:TouchEvent) { trace(eMove.stageX); trace(eMove.stageY);}function onTouchEnd(eEnd:TouchEvent) { trace(eEnd.touchPointID);} http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/events/TouchEvent.html
    • Multitouch : GestureMultitouch.inputMode = MultitouchInputMode.GESTURE;addEventListener(TransformGestureEvent.GESTURE_ROTATE,onRotate)addEventListener(TransformGestureEvent.GESTURE_ZOOM,onZoom)addEventListener(TransformGestureEvent.GESTURE_PAN,onPan)addEventListener(TransformGestureEvent.GESTURE_SWIPE,onSwipe)function onRotate(e:TransformGestureEvent):void{ trace(e.rotation);}function onZoom(e:TransformGestureEvent):void{ trace([e.scaleX,e.scaleY])}function onPan(e:TransformGestureEvent):void{ trace([e.offsetX,e.offsetY])}function onSwipe(e:TransformGestureEvent):void{} http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/events/GestureEvent.html
    • StageWebViewimport flash.media.StageWebView;var webView:StageWebView = new StageWebView();webView.stage = this.stage;webView.viewPort = new Rectangle( 0, 0,stage.stageWidth, stage.stageHeight );webView.loadURL( "http://www.example.com" );webView.loadString( "<html></html>" ); http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/media/ StageWebView.html#includeExamplesSummary
    • Microphone,Camerahttp://help.adobe.com/zh_TW/AS3LCR/Flash_10.0/flash/media/Microphone.html
    • CameraUI, CameraRollvar deviceCameraApp:CameraUI = new CameraUI();var imageLoader:Loader;deviceCameraApp.addEventListener( MediaEvent.SELECT,imageCaptured );deviceCameraApp.addEventListener( Event.CANCEL,captureCanceled );deviceCameraApp.addEventListener( ErrorEvent.ERROR,cameraError );deviceCameraApp.launch( MediaType.IMAGE );function imageCaptured( event:MediaEvent ):void{ var imagePromise:MediaPromise = event.data; imageLoader = new Loader(); imageLoader.loadFilePromise( imagePromise );}//CameraRoll.addBitmapData() http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/CameraUI.html
    • 多工/Idle : flash.desktop.NativeApplication硬體鍵 : Keyboard.BACK/Keyboard.MENU畫面轉向:stage.addEventListener(Event.RESIZE,onResize)
    • 效能淺談
    • 先看個Demo-Comb Over Charliehttp://www.youtube.com/watch?v=5rp7UNCWbyc-iPhone Testhttp://vimeo.com/21382542
    • 原本做Web Flash用的效能技巧大都適用 除此之外…
    • 多用點陣少用向量點陣圖也盡量不要太大張盡量不用:Filter, Blend modes, 透明等
    • mySprite.cacheAsBitmap=true;mySprite.cacheAsBitmapMatrix=new Matrix();
    • <renderMode>gpu</renderMode> <renderMode>cpu</renderMode> <renderMode>auto</renderMode>
    • Motion Graphic 可Animation仍太弱
    • 關於設計
    • 熟知各device的尺寸、長寬、解析度
    • 以手指操作,而非游標
    • 務必多放在device上實測
    • 操作方式的重新思考
    • 簡化聚焦
    • AIR on Mobile優缺點
    • 原有的熟悉語言Web - Mobile連動成熟的IDE工具
    • 侷限在中高階手機 API 支援度 效能
    • 堪用以上實用未滿
    • 參考資料Top Mobile Internet Trendshttp://www.scribd.com/doc/48589047/Top-Mobile-Internet-Trends-2011-from-KPCBDeveloping AIR for Android with Flash Professional CS5http://www.slideshare.net/chrisgriffith/developing-air-for-android-with-flash-professional-cs5-7562915Mobile First by Luke Wroblewskihttp://www.lukew.com/presos/preso.asp?26Rethinkingthe Mobile Web by Yiibu by Bryan Riegerhttp://www.slideshare.net/bryanrieger/rethinking-the-mobile-web-by-yiibuInternetTrends 2010 by Morgan Stanley Researchhttp://www.slideshare.net/CMSummit/ms-internet-trends060710finalABI Researchhttp://www.abiresearch.com/press/1684-Worldwide+Mobile+Subscriptions+Forecast+to+Exceed+Five+Billion+by+4Q-2010AppleiPhone and iPod touch Capture U.S.Video Game Market Share by Flurry.comhttp://blog.flurry.com/bid/31566/Apple-iPhone-and-iPod-touch-Capture-U-S-Video-Game-Market-Share
    • Q&Ahttp://maslin.blogspot.com