Japan
このブログでは、Google から開発者のみなさま向けの情報をいち早くお届けします。
Google Awareness API で状況をインテリジェントに認識するアプリを作成する
2016年7月12日火曜日
[この記事は Bhavik Singh、プロダクト マネージャーによる Android Developers Blog の記事 "
Create Intelligent, Context-Aware Apps with the Google Awareness APIs
" を元に翻訳・加筆したものです。詳しくは元記事をご覧ください。]
Google I/O 2016 で、Google Awareness API が新たに発表されました。この API を活用すると、スナップショットやフェンスを使って、ユーザーの状況にインテリジェントに反応するアプリを実現できます。システム リソースには最低限の影響しか与えません。
本日(*原文公開当時)、Google Play サービスを通じすべてのデベロッパーが Google Awareness API を利用できるようになったことをお知らせできることをうれしく思います。
場所、天気、ユーザー アクティビティ、周辺のビーコンを含む 7 種類のコンテキストを利用することで、アプリはユーザーが置かれている現在の状況を細かく認識できるようになり、その情報にを使って最適化、カスタマイズした体験をユーザーに提供できます。
Awareness API では、2 つの方法によってアプリ内で状況シグナルを活用できます。
Snapshot API
では、アプリから簡単にユーザーの現在の状況についての情報をリクエストできます。たとえば、「ユーザーの現在いる場所と、現在の天候を教えてください」というようなリクエストが可能です。
Fence API
では、ユーザーの状況が変化した際や、ある条件に該当した際にアプリを反応させることができます。たとえば、「ユーザーがヘッドフォンをさしたまま歩いているときは教えてください」というようなリクエストが可能です。Geofencing API と同じように、認識フェンスを登録することによって、アプリが実行されていない場合も含め、コールバックが送信されるようになります。
Awareness API は単一のシンプルなインターフェースであり、以前にはできなかった新しい方法で最適な処理が行われた状況シグナルを組み合わています。バッテリーを節約し、帯域幅を最低限に抑えるようにシステム リソースを管理しつつ、正確で実態に即した状況シグナルを提供します。
Google は、何社かのパートナーと密接に連携してきました。そのようなパートナーは、既に驚くような方法で状況認識をアプリに組み込んでいます。
オンライン住宅不動産サイトの
Trulia
は、Fence API を使って自由に見学できる家を提案しています。天気が良く、ユーザーが興味のある家のそばを歩いていると、Trulia は立ち寄ってみることをうながす通知を送信します。このようなカスタマイズした通知によって、ユーザーが都合の良いときに家を見学してくれる可能性が増加します。
また、
SuperPlayer Music
は Snapshot API と Fence API を使って、ユーザーのムードにぴったりの音楽を提案しています。ランニングを終えたり、ストレッチを始めたり、長時間のドライブに出かけたり、ジムに到着したようなとき、アプリはその状況を認識して、最適なプレイリストを提案します。
基本的なシグナルとすばらしいパートナーとともに Awareness API はスタートしたばかりです。
Google Awareness API デベロッパー ドキュメント
や Google I/O セッションを参考にして Awareness API を使い、あなたのアプリでもユーザーに最高の体験を提供しましょう。
Posted by
Yoshifumi Yamaguchi - Developer Relations Team
コメントを投稿
ラベル
#hack4jp
3
Addy Osmani
1
ADK
2
AdMob
5
ALPN
1
AMP
5
Analytics
5
Andorid
6
Android
160
Android Auto
1
Android Design Support Library
1
Android Developer Story
2
Android N
6
Android Pay
1
Android Studio
13
Android Support Library
3
Android TV
7
Android Wear
20
androidmarket
3
AngularJS
2
API
20
APIExpert
45
app engine
21
App Indexing
7
App Invites
5
AppCompat
2
Apps Script
6
aprilfool
3
ArtTech
1
Audio
3
Auth Code
1
Authentication
3
AuthSub
2
Autotrack
1
Awareness API
1
Beacons
5
BigQuery
6
BLE
4
Blink
1
blogger
1
Brillo
1
Brotli
1
Calendar
1
Cardboard
3
Career
1
Case Study
1
chrome
54
Chrome Custom Tab
1
chrome extension
2
Chrome for Android
1
Chrome for iOS
1
Chrome OS
1
Chromebook
1
Chromecast
6
chromewebstore
6
Chromium
4
ClientLogin
3
Cloud
8
Cloud Test Lab
1
CocoaPods
1
codejam
5
codelab
2
compute engine
3
Context
1
Dart
2
DataCenter
1
Daydream
2
Deep Learning
1
Demo Party
1
Design Sprint
3
DesignBytes
1
DevArt
3
DevBytes
6
Developer
14
Developer Console
3
Developer Preview
2
Developer Relations
2
DevFest
6
DevFestX
3
devtools
3
DirectShare
1
Doodle
1
DoubleClick
4
Doze モード
1
drive
2
Dynamic Links
1
EarlGrey
1
Easter Egg
1
ECMAScript 2015
1
Eddystone
3
egypt
1
English
2
ES2015
1
ES2016
1
ES6
2
ES7
1
Firebase
18
font
2
game
14
GDD11JP
56
GDD2010JP
23
GDE
2
GDG
10
Geo
23
Gingerbread
1
GLIDE
5
Gmail
1
Go
1
golang
4
goo.gl
1
Google
5
Google Apps
1
Google Cast
6
Google Cloud Messaging
10
Google Cloud Platform
6
Google Developer Experts
2
Google Developers Academy
1
Google Developers live
5
Google Developers Summit
1
Google Drive
2
Google Fit
2
Google for Work
1
Google Maps
28
Google Play
31
Google Play Game Services
6
Google Play Services
18
Google Plus
14
Google Search
3
Google Sign-In
10
Google Tag Manager
1
Google+
1
Googleapps
10
GoogleGames
1
GoogleI/O
27
GoogleLabs
1
GoogleTV
1
gRPC
2
GTUG
5
GWT
2
hack4jp
2
hackathon
6
HTML5
17
HTML5Rocks
1
HTTP/2
3
HTTPS
2
ID Token
1
Identity
12
Identity Toolkit
1
Ignite
4
IME
10
intern
2
iOS
8
IoT
1
IPv6
1
JavaScript
4
K-12
1
Knowledge Graph
1
l10n
8
Lollipop
10
Machine Learning
1
Marshmallow
10
Material
1
Material Design
17
MDL
1
MIDI
2
Mobile
8
Mobile Bootcamp
4
Mobile Vision
3
mod_pagespeed
1
monetize
3
Mozc
14
Music
1
NativeDriver
2
Nearby
4
Nexus
1
Nexus S
1
NFC
1
NPAPI
2
NPN
1
oauth
6
OpenGL
3
OpenID
3
OpenID Connect
2
OpenSocial
1
opensource
11
Payment
1
People API
1
Performance
6
PersonFinder
1
Physical Web
3
Place Picker
1
Player Analytics
4
Policy
2
Polymer
6
Progressive Web Apps
5
project hosting
1
Promise
1
Promo code
1
Protocol Buffers
1
publicdata
1
Push API
1
Push Notification
3
QUIC
1
RAIL
1
Remote Config
1
Remote Display API
1
Runtime Permission
1
Sample Code
2
schema.org
1
security
10
Service Worker
3
sketchup
1
SmartLock for Passwords
4
social
4
SPDY
3
speak2tweet
1
startup
3
streetview
3
Study Jams
3
techtalk
12
TensorFlow
1
test
2
ToS
1
Transliteration
1
Twitter
1
Udacity
15
Unity
2
UX
1
V8
2
VP9
1
VR
2
Vulkan
2
Watch Face
2
wave
2
Weave
1
Web
2
Web Animations
1
Web Components
4
Web Manifest
1
WebAssembly
1
WebMusic
4
WTM
2
YouTube
14
YouTube API
1
インタビュー
1
コードサンプル
1
プライバシー
1
言論の自由
1
節電
3
東日本大震災
9
日本語入力
40
ブログ アーカイブ
2016
7
6
5
4
3
2
1
2015
12
11
10
9
8
7
6
5
4
3
2
2014
12
11
10
9
8
7
6
5
4
3
2
1
2013
12
11
10
9
8
7
6
5
4
3
2
1
2012
12
11
10
9
8
7
6
5
4
3
2
1
2011
12
11
10
9
8
7
6
5
4
3
2
1
2010
12
11
Feed
Follow @googledevjp
"プロダクトに関するご意見は
プロダクトフォーラム
にお願いします"