地図アプリを作ろう! (windows8 winrt app)

18
Windows(Phone) ハハハハハ vol.17 ハハハハハハハハハ !

Upload: tomonari-nohki

Post on 04-Dec-2014

1.498 views

Category:

Documents


0 download

DESCRIPTION

11/16のスライド

TRANSCRIPT

Page 1: 地図アプリを作ろう! (Windows8 WinRT App)

Windows(Phone) ハンズオン

vol.17地図アプリを作ろう !

Page 2: 地図アプリを作ろう! (Windows8 WinRT App)

My spec

• Nohki Tomonari• @wizard_paso

• Kinki Univ.next-> 某 SIer

• Facebook,Twitter

IT 基礎知識Web

コーディング

Linux

MS 関連

ハードウェアネットワーク

セキュリティ

データベース

仮想化

体力

0

2

4

6

現在スペック 興味

Page 3: 地図アプリを作ろう! (Windows8 WinRT App)

Agenda

1. Bing Maps or ...2. Design3. JavaScript or Native4. Bing Maps Key

5. mokumoku

Page 4: 地図アプリを作ろう! (Windows8 WinRT App)

Bing Maps or ...?1.

Page 5: 地図アプリを作ろう! (Windows8 WinRT App)

Windows8 Map Apps

45/50 -BingMaps

4/50 -GoogleMaps

1/50 -etc

Page 6: 地図アプリを作ろう! (Windows8 WinRT App)

BingMaps

メリット

• 操作がアプリに最適化

• UI とのデザインの統一性

• SDK が提供されている

デメリット

• 地図のレスポンスが遅い

• 資料が少ない

• 画面が真っ白 ?

Page 7: 地図アプリを作ろう! (Windows8 WinRT App)

Design

Page 8: 地図アプリを作ろう! (Windows8 WinRT App)

地図の利用法

地図がメイン 部品としての地図

ホテル予約 旅比較ねっとMap Distance

Page 9: 地図アプリを作ろう! (Windows8 WinRT App)

地図がメイン

全画面型 準全画面型

Craigslist+ WeatherBug

Page 10: 地図アプリを作ろう! (Windows8 WinRT App)

JavaScript or Native?4.

Page 11: 地図アプリを作ろう! (Windows8 WinRT App)

SDK 間の相違

JavaScript• ロード方法が少し異なる

が、Web 版とほぼ同等の様々な機能を持つ

C#, C++, VB• 地図を利用するための基

本的な機能のみが実装されている

• Win8 に最適化されているので スムーズかつレ、スポンシブ

http://www.bing.com/community/site_blogs/b/maps/archive/2012/10/03/bing-maps-sdks-for-windows-store-apps-now-available.aspx

Page 12: 地図アプリを作ろう! (Windows8 WinRT App)

Bing Maps Key

Page 13: 地図アプリを作ろう! (Windows8 WinRT App)

Key の取得方法

• Bing Maps Account Center– https://www.bingmapsportal.com/

• Key Type や Application Type 等の説明– http://msdn.microsoft.com/

en-us/library/ff428642.aspx

• Key は 2 つまで取得できる

Page 14: 地図アプリを作ろう! (Windows8 WinRT App)

Key type

• Trial– 90 日間有効、 30 日ごとに 10,000 トランザ

クションまで– 2013 年 1 月 15 日に期限が切れる

• Basic– 24 時間で 50,000 トランザクションまで

• Enterprise–企業向け

Page 15: 地図アプリを作ろう! (Windows8 WinRT App)

Application type

• Windows Store App– Application is a Windows Store app that

is available to consumers or available internally for free instructional non-commercial use.

Page 16: 地図アプリを作ろう! (Windows8 WinRT App)

注意点

• 以前の SDK を使っている場合はアップグレード、WACK をパスする

• BingMaps の API 使用回数制限 (5 万回 /日 )

• インターネット使用不可時の処理• プライバシーポリシーは BingMap も ?• マニフェストの言語に注意• モジュールの読み込み順に注意–不意なことから不具合が発生

Page 17: 地図アプリを作ろう! (Windows8 WinRT App)

mokumoku

Page 18: 地図アプリを作ろう! (Windows8 WinRT App)

関連リンク

• 公式資料等–ぱその覚書

(http://wpaso.wordpress.com) 参照