RIAのマルチスクリーン展開とFlash Platform

44
© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. RIAのマルチスクリーン展開とFlash Platform 太田禎一 | アドビ システムズ 株式会社 テクニカルエバンジェリスト 2010.07.23

description

丸山先生レクチャーシリーズ 2010 第6回資料

Transcript of RIAのマルチスクリーン展開とFlash Platform

Page 1: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

RIAのマルチスクリーン展開とFlash Platform

太田禎一 | アドビシステムズ株式会社テクニカルエバンジェリスト

2010.07.23

Page 2: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

アジェンダ

デスクトップRIAとしてのFlashランタイム Flash Player & Adobe AIR

Flashの受難

Flash Platformのマルチスクリーン展開

Android ❤ Flash & AIR

Flash Player & Adobe AIRのマルチスクリーン対応

マルチスクリーンをカバーするRIAの最適解は? WebKitの台頭はRIAの救世主?

リッチ + 開発者リーチ + ユーザーリーチ

2

Page 3: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

デスクトップRIAとしてのFlashランタイム

Page 4: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Flash Platform

ブラウザ実行環境(ランタイム)

ローカルDB

HTML+

JavaScript

アプリケーション(フレームワーク)

AIRアプリケーション Flashアプリケーション

WIN Mac LinuxOS WIN Mac Linux

APPサーバー

XML/

JSO

N

HTM

L

(Req

uest

)

Ajax(.js/.html)

サーバーおよびクラウド

サーバー間通信データ形式

Appサーバー/ Service

XML/

SOAP

バイ

ナリ

通信

デー

タプ

ッシ

AIR(.air)デスクトップ向け

Appサーバー/ Service

XML/

SOAP

バイ

ナリ

通信

デー

タプ

ッシ

Flash(.swf)ブラウザ向け

Flex フレームワーク Flex フレームワーク

WIN Mac Linux

AIR RuntimeFlash Player

ブラウザ

SQLite

Page 5: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

RIAのためのRuntime

ブラウザ

ローカルDB

HTML+

JavaScript

アプリケーション(フレームワーク)

AIRアプリケーション Flashアプリケーション

WIN Mac LinuxOS WIN Mac Linux

APPサーバー

XML/

JSO

N

HTM

L

(Req

uest

)

Ajax(.js/.html)

サーバーおよびクラウド

サーバー間通信データ形式

Appサーバー/ Service

XML/

SOAP

バイ

ナリ

通信

デー

タプ

ッシ

AIR(.air)デスクトップ向け

Appサーバー/ Service

XML/

SOAP

バイ

ナリ

通信

デー

タプ

ッシ

Flash(.swf)ブラウザ向け

Flex フレームワーク Flex フレームワーク

WIN Mac Linux

AIR RuntimeFlash Player

ブラウザ

SQLite

実行環境(ランタイム)

Page 6: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Flash Player普及率調査:Millward Brown

6

Page 7: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

ブラウザプラグイン普及率調査:riastats.com

7

Page 8: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Flashの受難

http://www.nicovideo.jp/watch/sm10849890

8

Page 9: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

まずコレ

9

Page 10: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

ほんでもってコレ

10

Page 11: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

…なくなるの?

11

Flash

Page 12: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

GUIMARK2

12Source: http://www.craftymind.com/guimark2/

Page 13: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Flash Platformのマルチスクリーン展開

Page 14: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Android ❤ Flash & AIR

Google I/O 2010

14

Page 15: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

なぜ?

"It turns out that on the internet… people use Flash!”- Vic Gundotra, Google

15

みんなFlashつかてるよ!

Page 16: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Flash Player 10.1 for Android:OEMリリース済み

16

Page 17: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Adobe Flash showcase for mobile

17

http://m.flash.com/

Page 18: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

AIR for Android:2010年内リリース予定

18

Page 19: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Google TV & Flash Player:2010年10月予定 (Google社によれば)

19

Page 20: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Android向け開発ワークフロー

20

UI/コンテンツデザインのほとんどはPhotoshop/Illustratorで始まる

アプリ (APK)

デザインを直接読み込み

Flash三兄弟で開発、Webまたはアプリ

にパブリッシュWeb (SWF)

Ps/Aiのデザインを参考に、

EclipseやADTを使い開発 (UIは

XMLで定義)

Page 21: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Adobe CS5のAndroidエミュレーション(Device Central)

21

Page 22: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

http://labs.adobe.com/technologies/air2/android

22

英語のプレリリースプログラム (登録制)

Page 23: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

AIR for Android開発ワークフロー

23

拡張機能 (ベータ版) をFlash

Pro CS5にインストールして使い

ます

従来のFlash開発フローそのままでAndroidアプリを生成できます

Page 24: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

AIR for Android開発ワークフロー

24

従来のFlex開発フローそのままでAndroidアプリを生成できます

Adobeのプラットフォームエバンジェリストが作ったPackage Assistant Pro*を使うと

ラクチン

* http://www.webkitchen.be/package-assistant-pro/

Page 25: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

AIR for Androidの機能について特記事項

Camera入力 (静止画・動画) アクセス

Mic入力アクセス

Camera Rollからの画像読み込み

ActionScript 3 (AS2は非対応)

Stage WebView (HTMLの組み込み)

"sms:" "tel:" スキームを使った外部アプリケーション呼び出し

P2P通信

GPS

加速度計

マルチタッチ & ジェスチャー

Intentは最初のリリースでは非対応

25

Page 26: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Flexフレームワークもモバイル向けに進化

26

Page 27: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Flash Platformのビジョン

27

Page 28: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Open Screen Project 参加パートナー企業

28

`

Page 29: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

マルチスクリーンをカバーするRIAの最適解は?

Page 30: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

RIA開発技術の選択肢

30

ネイティブアプリ

(ローレベルAPI)

AIRアプリ(ローカルファイルアクセス/ネイティブ連携/WebView/Market)

Flash Player 〜ブラウザ内〜(ハイパフォーマンス/2.5D API/マイ

ク&カメラ入力/タイポグラフィ/DataGrid)

HTML/HTML5 〜ブラウザ内〜(OKパフォーマンス/Forms/Video)

提供

でき

る機

開発者リーチ

Page 31: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

マルチスクリーン時代の到来と新たな課題

31

iOSデバイスNVIDIA Tegra-poweredタブレット

HTC HD2ケータイ

Dell Mini 5タブレット

Motorola Droidケータイ

Google Nexus Oneケータイ

Google TVテレビ

Androidデバイスリストhttp://www.androidtapp.com/list-of-android-devices/

❶ ❷

Page 32: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Good News!スマートフォンにおけるWebKit ("HTML5") の台頭

32

Flash AIR WebKit

Symbian △ (Flash Lite) ? ◎

Blackberry (◎) (◎) ◎

iOS × × ◎

Android (◎) (◎) ◎

WebOS (◎) (◎) ◎

MeeGo (◎) (◎) ◎

WindowsPhone 7 (◎) ? ×

Page 33: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

WebKit & "HTML5"でオールオッケーじゃんか!

33

Page 34: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

もうFlashぜんぶ"HTML5"で置き換えちゃえばいいんじゃね?

34Link: http://www.sencha.com/deploy/css3-ads/

Page 35: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

うんうん、CSS Animationすごいすごい。だけど…

35

PCではそうもいかない。

Safari 4+ & Chrome 3+のPCにおけるシェアは

11.83%

実際のコード

iPhone/iPadとAndroid (WebKit)

はOKだが…

Source: http://caniuse.com/

Page 36: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

別の調査結果

36

33%...

Source: http://www.findmebyip.com/litmus/

Page 37: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

つまり…

CSS3アニメーションは、スマートフォンは大丈夫っぽいけど、PCにおいてはまだごく一部のユーザーに

しかデリバーできないのが現実

37

Page 38: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

再確認しますよ

FlashでRIAを作れば、OS・ブラウザを問わず、

自動的に99.7% (ver. 9+) のインターネット接続PCユーザー

(圧倒的なマジョリティ) にリーチできる

38

Page 39: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

大事なのは

Total Addressable Market

39

Page 40: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

HTML5 & Total Addressable Market

40

インターネット接続機器

OS市場シェア (June 2010)

by Wikipedia

Desktop PC

Others (incl.

smartphones)

モバイル用のWebKitはまだ実装がバラバラで

未完成

PCにおける"HTML5"の普及は進んでいない

HTML5 Video(H.264) @11.73%

(Theora) @32.45%HTML5 Canvas

@37.15%SVG

@37.09%

96.75%を占めるDesktop PC

Source: http://a.deveria.com/caniuse/ http://marketshare.hitslink.com/browser-market-share.aspx?qprid=2 June 2010

Page 41: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

Flash & Total Addressable Market

41

インターネット接続OS市場シェア (June 2010)

Desktop PC

Others (incl. smartphones)

[email protected]%

[email protected]%

[email protected]%

[email protected]%

Source: http://en.wikipedia.org/wiki/Usage_share_of_operating_systems/

Page 42: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

インターネット接続OS市場シェア (June 2010)

Desktop PC

Others (incl. smartphones)

[email protected]%

[email protected]%

[email protected]%

[email protected]%

Flash & Total Addressable Market:Zyngaのアプローチ

42

ここだけiOSネイティブアプリ

Androidも含め、あとは全部Flash

Source: http://en.wikipedia.org/wiki/Usage_share_of_operating_systems/

世界最大のソーシャルゲー

ムプロバイダ(推定年商550億円+)

Page 43: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

2010年7月現在とりうるRIA成功の戦略

ビデオでもリッチコンテンツでも、PC向けはFlash+HTMLでリッチさとリーチをともにきっちり確保する

iデバイス向けにはほかに選択肢がないので"HTML5"コンテンツを「別途」用意する

Android (Froyo以降) スマートフォンに向けては、画面最適化 (微調整) されたFlash+HTMLコンテンツを準備しておく

43

Page 44: RIAのマルチスクリーン展開とFlash Platform

© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.