Apple WatchとSalesforceを使った開発Webinar

17
AppleWatch Salesforce を使った開発 Webinar 岡本 充洋 @mitsuhiro

Transcript of Apple WatchとSalesforceを使った開発Webinar

Page 1: Apple WatchとSalesforceを使った開発Webinar

AppleWatchとSalesforce

を使った開発Webinar岡本 充洋

@mitsuhiro

Page 2: Apple WatchとSalesforceを使った開発Webinar

ソーシャルメディアで繋がる

@salesforcedevjp / #salesforcedevjp

Salesforce Developers Japan

+Salesforce Developers Japan

このWebinarは録画されていますビデオは開催後にYoutubeへ

アップロードされます

(申し込みURLと同じページへ掲載)

Page 3: Apple WatchとSalesforceを使った開発Webinar

質問を行うのに終了まで待つ必要はありません

-質問は最後のQ & Aで回答が行われるまで保存されます

Q&A は順番に行います

- 一度登録した質問は順番に回答しますので、複数回する必要はありません

回答できなかったものは後ほどQ&Aを公開します

- Webinar時間中に回答できなかったものに関しては、後ほどQ & Aとして公開します

開発者フォーラムも活用してください

-その他質問等ある場合には developer.salesforce.com/forums をご利用ください

質問がある場合には?

?

Page 4: Apple WatchとSalesforceを使った開発Webinar

Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.

The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal quarter ended July 31, 2011. This document and others are available on the SEC Filings section of the Investor Information section of our Web site.

Any unreleased services or features referenced in this or other press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.

Safe Harbor

Page 5: Apple WatchとSalesforceを使った開発Webinar

Salesforce Wearリリース : 2014年6月

- 15 developer packs

Apple Watch Developer Pack

-リファレンスアプリケーション

• 承認管理

- 設定済みプロジェクト

• グランス及びWatchターゲット

- よく利用するパターン

• メッセージング

• Mobile SDK for iOSとの連携

Salesforce Wear: Apple Watch Developer Pack

developer.salesforce.com/wear

Page 6: Apple WatchとSalesforceを使った開発Webinar

開発を始めるには何が必要 ?

Apple Watch Developer Pack

Xcode 6.2+Apple Developer

Membership

Developer

(実デバイスへデプロイする場合)

Page 7: Apple WatchとSalesforceを使った開発Webinar

Demo

Page 8: Apple WatchとSalesforceを使った開発Webinar

SalesforceでのApple Watchアプリ開発入門

watch アプリはPhoneアプリのextensionとして動作

一貫した開発モデル

Salesforce Mobile SDK は継続して利用可能

controller

storyboard

Page 9: Apple WatchとSalesforceを使った開発Webinar

Salesforce Wear AppのシーケンスMobile SDK iOS App

salesforce クレデンシャルでログイン

watch eventのObserverを登録

レスポンス受け取り

Salesforce1 Platform

認証 & トークンの返却Apple Watch

Extension

Observer

glanceを見るopenParentApp(“name”)

リクエストのハンドルリクエスト送信

Page 10: Apple WatchとSalesforceを使った開発Webinar

Apple Watch 単体ではアプリケーションは動作しない

Watchでコードは動作しないWatchKit Extensionが Watchのイベントを受け取り処理を行う

Page 11: Apple WatchとSalesforceを使った開発Webinar

Apple Watch テクノロジ

Glances(グランス) Notifications(通知) force touch

読み込みのみ、すぐアクセス ショート&ロング 新しいジェスチャー

Page 12: Apple WatchとSalesforceを使った開発Webinar

デモ : サンプルアプリケーションにタスクを追加

Add Handlerハンドラ & オブザーバを追加

タスクリストビューの追加

force touchの追加

iPhone Watch 新しいイベント

“なにかをすることを学ぶとき、われわれは実際にそれをすることで学ぶ” -アリストテレス

https://gist.github.com/quintonwall

Page 13: Apple WatchとSalesforceを使った開発Webinar

Swift 1.2への対応

- サンプルアプリ及びDev Packの更新

利用状況の分析

- どれぐらいグランスが表示されたか等

phone側アプリの更新

- フル機能のタスクアプリサンプル

- ハンドオフ

通知

- アクション処理の追加 (ショート & ロング フォーム)

今後の予定 : Watch Dev Pack V2

Page 14: Apple WatchとSalesforceを使った開発Webinar

その他の情報

Getting StartedガイドEnterprise iOSチュートリアル Task追加チュートリアル

http://sforce.co/1FuxWLI

このWebinarの詳細版DevPack始めの一歩 スクラッチから作成

Page 15: Apple WatchとSalesforceを使った開発Webinar

手軽にSalesforceとApple Watchの連携を確認

Page 16: Apple WatchとSalesforceを使った開発Webinar

println(“Thank You”)

#salesforcedevjp

Page 17: Apple WatchとSalesforceを使った開発Webinar