.NET Compact Frameworkdownload.microsoft.com/download/2/D/6/2D687373-D515-4B43...MICROSOFT MAKES NO...

18
.NET Compact Framework アプリケーション開発-© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. 1 マイクロソフト株式会社 デベロッパーサポート統括部 サポートエスカレーションエンジニア 祝田 亮一 どのデバイスでもシームレスに稼働 するアプリケーションを作成する Agenda 概要 Windows Mobile はひとつへ ディスプレイ & フォーム ファクタの違い シームレスに稼働するアプリケーション

Transcript of .NET Compact Frameworkdownload.microsoft.com/download/2/D/6/2D687373-D515-4B43...MICROSOFT MAKES NO...

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

1

マイクロソフト株式会社デベロッパーサポート統括部サポートエスカレーションエンジニア祝田 亮一

どのデバイスでもシームレスに稼働するアプリケーションを作成する

Agenda

概要

Windows Mobile はひとつへ

ディスプレイ & フォーム ファクタの違い

シームレスに稼働するアプリケーション

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2

Windows Mobile ファミリ

複数の異なる Windows Mobile デバイスが市場にはある

入力装置の違い

タッチ パネル: Pocket PC は 〇, Smartphone は ☓

キーボード: なし, 12 キー, QWERTY

ディスプレイの違い

サイズ, 向き, 解像度

電話機能の有無

Windows Mobile バージョンの違い

ハードウェアの違い

GPS, カメラ, 赤外線, Bluetooth, WiFi など

デバイスの違い

デバイスの違いは良い影響を市場にもたらしている

ユーザーはより競争されたデバイスを選択できる

マーケットの活性化機会を与える

ユーザーは自分の仕事やスタイルに適したデバイスを選択可能

デバイスの差異が与える影響

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3

デバイスの違い

デバイスの違いを 3 つに分類

タッチ パネル サポート

フォーム ファクタ

その他

Windows Mobile バージョン

.NET Compact Framework バージョン

ハードウェア サポート

カテゴリに分割

デバイスの違い

Windows Mobile プラットフォーム/ツール

デバイスに関係なく共通のWin32 を API を提供

.NET Compact Framework は一貫したランタイムを提供

ディスプレイ調整に特化したサポートも提供

Docking & Anchoring, AutoScroll, AutoScale

ネイティブコード: DeviceResolutionAware.h

画面サイズ調整に関する 20 以上の関数およびマクロを提供

Visual Studio 2005

デザイン タイム サポート

エミュレータによるサポート (QVGA/VGA/Square 画面など)

OS と 開発ツールのサポート

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4

デバイスの違いをハンドリング

サポートするデバイスの差異を定義

最小限のデバイスプロファイルを決める

タッチパネルは必須か?電話機能は必須か?キーボードは必須か?

デバイスの違いによるアプリケーションのロジックを抽象化

デバイスによってそれぞれの UI とロジックを用意する

初期段階および随時、多種のデバイスでテストする

エミュレータの利用

プラン

デバイスの違いをハンドリング

新しいプラットフォーム/デバイスの機能を取り入れる

よりよいユーザーエクスペリエンスを提供する

最低限の共通機能を利用しない

ベーシックなデバイスおよび旧デバイス上での動作はそのデバイスに合わせた実装で行う

デバイス エクスペリエンスを最大化

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5

Agenda

Windows Mobile はひとつへ

The Times They Are A-Changin'Pocket PC? Smartphone?

いずれも Windows Mobile デバイス

アプリケーションは Pocket PC か Smartphone かにフォーカスしない

これらの違いは、意識するほど大きくない

現在多くの Pocket PC デバイスは電話機能をサポート

Smartphone の画面サイズは大きくなる傾向に

現在すべての Windows Mobile デバイスはソフト キーをサポート

Pocket PC & Smartphone いずれもフルキーボードのデバイスが多い

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6

The Times They Are A-Changin' タッチパネルサポート

Windows Mobile デバイスはひとつへ

タッチパネルサポートを考える

スタイラスによる入力が必要?

ナビゲーション ボタンとソフト キーによる操作が容易にできるか?

手書き入力が必須か?

Windows Mobile はひとつへWindows Mobile 6

Windows Mobile 6 Standard デバイスタッチパネル: No, 電話機能: Yes

旧 Smartphone

Windows Mobile 6 Professional デバイスタッチパネル: Yes, 電話機能: Yes

旧 Pocket PC Phone Edition

Windows Mobile 6 Classic デバイスタッチパネル: Yes, 電話機能: No

旧 Pocket PC

Windows Mobile 6 のネーミング

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7

Windows Mobile はひとつへ

SDK はタッチパネルサポートの有無で分割

“Windows Mobile 6 SDK for タッチパネル サポート デバイス” として考える

Windows Mobile 6 SDK

Windows Mobile 6 Standard SDK非タッチパネルサポートデバイス用

Windows Mobile 6 Standard デバイス (Smartphone)

Windows Mobile 6 Professional SDKタッチパネルサポートデバイス用

Windows Mobile 6 Professional デバイス (Pocket PC Phone Edition)Windows Mobile 6 Classic デバイス (Pocket PC)

タッチパネルサポート

非タッチパネルサポート

片手操作を考慮したデザイン

シーケンシャルナビゲーションによるコントロール間の移動

ソフト キーによるメニューサポート

タッチパネル サポート

非タッチパネルでサポートする機能をすべてサポート

両手による入力のサポートによって、より高速な入力をサポート

スタイラスによるランダムナビゲーション

コンテキスト メニューの選択

手書き入力のサポート

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8

タッチパネル vs. 非タッチパネル

デザインには 2 種類の方法

いずれにおいても利用可能な機能に制限する

Advantage: 開発が容易

Disadvantage: タッチパネルを有効に利用できない

アプリケーションが自動的にアップグレード

非タッチパネル デバイスをベースにデザイン

アプリケーションがタッチパネル デバイスのとき自動的に追加機能をON にする

Advantage: デバイスのリソースを有効利用できる

Disadvantage: 開発する作業が増える

ポータブル アプリケーション デザイン

最小の共通点

非タッチパネルデバイスの機能に制限する

Ink 入力機能を使用しない

サポートされていない UI を使用しない

非タッチパネルデバイスの機能にフォーカス

Button MonthCalendar StatusBar

ContextMenu Notification TabControl

DocumentList NumericUpDown ToolBar

DomainUpDown OpenFileDialog TrackBar

HardwareButton RadioButton

InputPanel SaveFileDialog

ListBox Splitter

非タッチパネルデバイスでサポートされない .NET CF 2.0 コントロール

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9

Auto-Upgrade アプリケーション

レイアウトの基礎は非タッチパネルデバイスを

タッチパネルサポートかどうかを起動時に判断

追加コントロールをタッチパネルがある時に有効化

節度あるアップグレードを・・・

「より利用しやすく」ということにフォーカス

完全に異なる機能を追加しない

ユーザーインターフェースを変えすぎない

同じアプリケーションであることを忘れない

タッチパネルデバイス時、追加機能を有効に

Smartphone UI

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10

Agenda

ディスプレイ & フォーム ファクタの違い

フォーム ファクタの違い

Windows Mobile にはいくつかのフォームファクタがある

サイズの違い

Portrait, Landscape, Square スクリーン

解像度 96, 128, 131, 192 dots-per-inch (dpi)

ひとつのサイズですべての UI に対応するのは困難

UI を適応させる

アプリケーション起動時ディスプレイのセッティングを問い合わせ、それに適応させる

アプリケーション実行時に画面のローテーションが発生する可能性がある

ユーザー インターフェースの違い

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11

172x220

172x220

240x320

320x240

240x320320x240

240x240

320x320

480x640640x480800x480

フォーム ファクタの違い

320x320: Windows Mobile 6 から追加

800x480: Windows Mobile 5.0 AKU 3.5

現存のフォーム ファクタ リスト

Smartphoneタッチパネル:NO

Pocket PCタッチパネル:YES

96 dpi

128 dpi

192dpi

96 dpi

131 dpi

フォームファクタの違いをハンドリング

Windows Mobile 6 SDK UILayout サンプル

再利用可能なクラス, ScreenLib

一般的なスクリーン レイアウト関連の関数を提供

DeviceResolutionAware.h にて 20 以上の関数とマクロを提供

Platform サポート: ネイティブ開発

DeviceResolutionAware.h で提供される関数とマクロの一例Function / Macro Description

GetDisplayMode ポートレート/ランドスケープ/スクエアスクリーンモードのどの状態であるかを返します

SCALEX, SCALEY, SCALERECT, SCALEPT

現在のディスプレイ解像度に合わせて数値を調整します

StretchIcon アイコンのサイズを現在の表示領域へ調整します

RelayoutDialog

ローテーション時などにダイアログ内の各コントロールの位置を調整します。ランドスケープ用ダイアログリソース、ポートレート用ダイアログリソースそれぞれ用意し画面のローテーション時にそれぞれのダイアログリソースの

情報をもとに再配置を行います。

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12

フォームファクタの違いをハンドリング

ディスプレイ プロパティが提供されている

Control.Dock

親のエッジへコントロールをバインド

Control.Anchor

コントロールのエッジ部分の配置を固定させる

Control.AutoScroll

ディスプレイにフィットしない場合スクロールバーを付加する

Control.AutoScale

コントロールのサイズと位置を解像度で変更させる

Platform サポート: マネージド開発

フォームファクタの違いをハンドリング

Control クラスでは不完全な場合がある

リサイズ・位置の調整を明示的に行う必要がある場合

手動で調整することはあまり望ましくない

コードが複雑になる

異なる UI レイアウトにするのは、限られた状況にする

チューニング

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13

フォームファクタの違いをハンドリング

Patterns & Practices OrientationAwareControl

同じコントロールに複数のレイアウトをサポート

ランタイムで自動的に最適なレイアウトを選択

Visual Studio 2005

UserControl クラス ベース

UserControl を OrientationAwareControl でリプレースする

UserControl として動作

Visual Studio 2005 グラフィカルにレイアウトをデザインする

Visual Studio 2005 デザインタイム FormFactor プロパティでサポート

OrientationAwareControl を利用したチューニング

フォームファクタの違いをハンドリング

ソリューションはひとつではない

まずレイアウト処理の共通化を試みる

基本的なレイアウトにフォーカスする (ポートレート, ランドスケープ, スクエア)

必要に合わせてシンプルなファンクションを作成する

ネイティブ コード

DeviceResolutionAware.h

Windows Mobile 6 SDK の UILayout サンプル

マネージド コード

.NET CF プロパティを使用する

最適なソリューションの選択

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

14

フォームファクタの違いをハンドリング

レイアウト処理のためのコードをコントロールごとに、また多量に記述しない

可能な限り, コードは初期化およびリサイズイベントハンドラ内に収める

特定のサイズ、解像度、画面の向きをターゲットとしない

そのためのリストを保持しなければならない(サイズ大)

新しいフォームファクタに対応できない

最適なソリューションの選択: Things to Avoid

DeviceResolutionAware

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

15

Agenda

シームレスに稼働するアプリケーション

シームレスに稼働するアプリケーション

デバイスによる違いはディスプレイだけではない

現在複数の WM デバイスがある

Windows Mobile 5.0 では多くの新しい機能が追加されている

Windows Mobile 6 でもさらに新しい機能が提供されている

デバイスそのものも、よりリッチなクライアントへ

シームレスに稼働するアプリケーション

デバイスの特徴を確認する

現在のデバイスで利用可能な最大のエクスペリエンスを提供する

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

16

デバイスの情報を得るCommon characteristics: ネイティブコード

OS のバージョン

GetVersionEx

電話機能のサポート有無

Windows Mobile 5.0 以降

RegistryGetDWORD + SN_PHONERADIOPRESENT_xxx

Windows Mobile 2003 SE 以前

FindFirstFile(_T("(¥¥Windows¥¥Phone.dll"), &findData);

プラットフォーム タイプ (Pocket PC or Smartphone)

SystemParametersInfo + SPI_GETPLATFORMTYPE

デバイスの情報を得るCommon characteristics: マネージドコード

OS のバージョン

Environment.OSVersion.Version

.NET Compact Framework ランタイムのバージョン

Environment.Version

.電話機能のサポート有無

Windows Mobile 5.0 以降

SystemState.PhoneRadioPresent

Windows Mobile 2003 SE 以前

File.Exists(@”¥Windows¥Phone.dll”)

プラットフォーム タイプ

SystemParametersInfo API を P/Invoke で呼び出す

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

17

デバイスの情報を得る

State and Notifications Broker

Windows Mobile 5.0 以降で利用可能

Windows Mobile 5.0: 約 110 の状態・情報が定義

Windows Mobile 6: 約 150

デバイス コンフィギュレーションの取得

ネイティブ コード: QueryPolicy/DMProcessConfigXML

マネージド コード: ConfigurationManager クラス

各種デバイス

RequestDeviceNotification / BthGetHardwareStatus API (Bluetooth)

レジストリ

レジストリでの確認は最小限に

Other characteristics

Auto-Upgradeアプリケーション

.NET Compact Framework アプリケーション開発-3

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

18

まとめ

特定のデバイスタイプだけを対象にしない

タッチパネルの有無を意識する

アプリケーションのデザイン開始時から意識する

各種デバイスで動作することを中核の機能と考える

アプリケーションそのものの機能と、各デバイスへのアダプテーションロジックを切り離してコーディングする

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it

should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.