SlideShare a Scribd company logo
Interactive watch faces
Hiroshi Hashimoto
2015/9/11
Shibuya.apk #3
Hiroshi Hashimoto
Android Developer
Twitter:@hi6484
It was updated last month.
Interactive watch faces
http://android-developers.blogspot.jp/2015/08/interactive-watch-faces-with-latest.html
Watch face so far
Not Interactive
However
Only one watch face which is Interactive
It was released more than six months ago
“ It is very interesting!
But for now, we don’t recommend.
Google wants to separate watch face
from watch-app in their eco-system.”
Implement
Interactive watch faces
Very easy
Gradle


compile 'com.google.android.support:wearable:1.3.0'
JAVA CODE


WatchFaceService.Engine.setWatchFaceStyle()

.setAcceptsTapEvents(true)
@Override
public void onTapCommand(@TapType int tapType, int x, int y, long eventTime) {
switch (tapType) {
case WatchFaceService.TAP_TYPE_TAP:
super.onTapCommand(tapType, x, y, eventTime);
break;
case WatchFaceService.TAP_TYPE_TOUCH:
super.onTapCommand(tapType, x, y, eventTime);
break;
case WatchFaceService.TAP_TYPE_TOUCH_CANCEL:
super.onTapCommand(tapType, x, y, eventTime);
break;
default:
super.onTapCommand(tapType, x, y, eventTime);
break;
}
}
WatchFaceService.TAP_TYPE_TOUCH:
WatchFaceService.TAP_TYPE_TAP:
WatchFaceService.TAP_TYPE_TOUCH_CANCEL:
It is super easy to implement.

You should do it when you make watch-face(s).

More Related Content

What's hot

Adventures in Energy Monitoring
Adventures in Energy MonitoringAdventures in Energy Monitoring
Adventures in Energy Monitoring
Adrian McEwen
 
Experiencing the Mobile Mainframe
Experiencing the Mobile MainframeExperiencing the Mobile Mainframe
Experiencing the Mobile Mainframe
Philip Likens
 
Integrating GoogleFit into Android Apps
Integrating GoogleFit into Android AppsIntegrating GoogleFit into Android Apps
Integrating GoogleFit into Android Apps
Giles Payne
 
Weatherapp presentation-file
Weatherapp presentation-fileWeatherapp presentation-file
Weatherapp presentation-file
Shahadat Hossain
 
Quixey Presentation for The Napa App Retreat
Quixey Presentation for The Napa App RetreatQuixey Presentation for The Napa App Retreat
Quixey Presentation for The Napa App Retreat
appbackr
 
Top 20 Project Management Experts On Twitter
Top 20 Project Management Experts On TwitterTop 20 Project Management Experts On Twitter
Top 20 Project Management Experts On TwitterPuneet Yamparala
 
Lightening Talk: Lean start up
Lightening Talk: Lean start upLightening Talk: Lean start up
Lightening Talk: Lean start upAgileee
 
I Love APIs 2015: IOT Lab
I Love APIs 2015: IOT LabI Love APIs 2015: IOT Lab
I Love APIs 2015: IOT Lab
Apigee | Google Cloud
 

What's hot (9)

Adventures in Energy Monitoring
Adventures in Energy MonitoringAdventures in Energy Monitoring
Adventures in Energy Monitoring
 
Discussion 3 strategic slides
Discussion 3 strategic slidesDiscussion 3 strategic slides
Discussion 3 strategic slides
 
Experiencing the Mobile Mainframe
Experiencing the Mobile MainframeExperiencing the Mobile Mainframe
Experiencing the Mobile Mainframe
 
Integrating GoogleFit into Android Apps
Integrating GoogleFit into Android AppsIntegrating GoogleFit into Android Apps
Integrating GoogleFit into Android Apps
 
Weatherapp presentation-file
Weatherapp presentation-fileWeatherapp presentation-file
Weatherapp presentation-file
 
Quixey Presentation for The Napa App Retreat
Quixey Presentation for The Napa App RetreatQuixey Presentation for The Napa App Retreat
Quixey Presentation for The Napa App Retreat
 
Top 20 Project Management Experts On Twitter
Top 20 Project Management Experts On TwitterTop 20 Project Management Experts On Twitter
Top 20 Project Management Experts On Twitter
 
Lightening Talk: Lean start up
Lightening Talk: Lean start upLightening Talk: Lean start up
Lightening Talk: Lean start up
 
I Love APIs 2015: IOT Lab
I Love APIs 2015: IOT LabI Love APIs 2015: IOT Lab
I Love APIs 2015: IOT Lab
 

Similar to Interactive watch faces

Activity
ActivityActivity
Activity
NikithaNag
 
Activity
ActivityActivity
Activity
roopa_slide
 
Activity
ActivityActivity
Activity
NikithaNag
 
Activity
ActivityActivity
Activity
roopa_slide
 
Lecture #1 Creating your first android project
Lecture #1  Creating your first android projectLecture #1  Creating your first android project
Lecture #1 Creating your first android project
Vitali Pekelis
 
Android apps development
Android apps developmentAndroid apps development
Android apps development
Monir Zzaman
 
Create twitter-ios-app
Create twitter-ios-appCreate twitter-ios-app
Create twitter-ios-app
Tsuneo Yoshioka
 
Android Component.pptx
Android Component.pptxAndroid Component.pptx
Android Component.pptx
Qwerty140857
 
Mobile 2.0 Open Ideas WorkShop: Building Social Media Enabled Apps on Android
Mobile 2.0 Open Ideas WorkShop: Building Social Media Enabled Apps on AndroidMobile 2.0 Open Ideas WorkShop: Building Social Media Enabled Apps on Android
Mobile 2.0 Open Ideas WorkShop: Building Social Media Enabled Apps on Android
Alberto Ruibal
 
Your 1st Apple watch Application
Your 1st Apple watch ApplicationYour 1st Apple watch Application
Your 1st Apple watch Application
Ciklum Ukraine
 
Leynard quizon work portfolio (2012 to 2014)
Leynard quizon work portfolio (2012 to 2014)Leynard quizon work portfolio (2012 to 2014)
Leynard quizon work portfolio (2012 to 2014)
Leynard Quizon
 
Mobilising Digital - Perth 13/03/14
Mobilising Digital - Perth 13/03/14Mobilising Digital - Perth 13/03/14
Mobilising Digital - Perth 13/03/14
Precedent
 
I WATCH DOCUMENTATION
I WATCH DOCUMENTATIONI WATCH DOCUMENTATION
I WATCH DOCUMENTATION
Anurag Reddy
 
Android - Open Source Bridge 2011
Android - Open Source Bridge 2011Android - Open Source Bridge 2011
Android - Open Source Bridge 2011
sullis
 
Встреча Google Post IO ( Владимир Иванов, Катерина Заворотченко и Сергей Комлач)
Встреча Google Post IO ( Владимир Иванов, Катерина Заворотченко и Сергей Комлач)Встреча Google Post IO ( Владимир Иванов, Катерина Заворотченко и Сергей Комлач)
Встреча Google Post IO ( Владимир Иванов, Катерина Заворотченко и Сергей Комлач)
Alina Vilk
 
Case study on Movie Quiz App For IPhone and IPad – Facebook Enabled
Case study on Movie Quiz App For IPhone and IPad –  Facebook Enabled Case study on Movie Quiz App For IPhone and IPad –  Facebook Enabled
Case study on Movie Quiz App For IPhone and IPad – Facebook Enabled
Grey Matter India Technologies PVT LTD
 
Lecture 12 - Maps, AR_VR_aaaaHardware.pptx
Lecture 12 - Maps, AR_VR_aaaaHardware.pptxLecture 12 - Maps, AR_VR_aaaaHardware.pptx
Lecture 12 - Maps, AR_VR_aaaaHardware.pptx
NgLQun
 
iLabs Toolbox Javashare 2008
iLabs Toolbox Javashare 2008iLabs Toolbox Javashare 2008
iLabs Toolbox Javashare 2008
rmzdotno
 
Introduction to Android Programming
Introduction to Android ProgrammingIntroduction to Android Programming
Introduction to Android Programming
Raveendra R
 
Training Session 2
Training Session 2 Training Session 2
Training Session 2
Vivek Bhusal
 

Similar to Interactive watch faces (20)

Activity
ActivityActivity
Activity
 
Activity
ActivityActivity
Activity
 
Activity
ActivityActivity
Activity
 
Activity
ActivityActivity
Activity
 
Lecture #1 Creating your first android project
Lecture #1  Creating your first android projectLecture #1  Creating your first android project
Lecture #1 Creating your first android project
 
Android apps development
Android apps developmentAndroid apps development
Android apps development
 
Create twitter-ios-app
Create twitter-ios-appCreate twitter-ios-app
Create twitter-ios-app
 
Android Component.pptx
Android Component.pptxAndroid Component.pptx
Android Component.pptx
 
Mobile 2.0 Open Ideas WorkShop: Building Social Media Enabled Apps on Android
Mobile 2.0 Open Ideas WorkShop: Building Social Media Enabled Apps on AndroidMobile 2.0 Open Ideas WorkShop: Building Social Media Enabled Apps on Android
Mobile 2.0 Open Ideas WorkShop: Building Social Media Enabled Apps on Android
 
Your 1st Apple watch Application
Your 1st Apple watch ApplicationYour 1st Apple watch Application
Your 1st Apple watch Application
 
Leynard quizon work portfolio (2012 to 2014)
Leynard quizon work portfolio (2012 to 2014)Leynard quizon work portfolio (2012 to 2014)
Leynard quizon work portfolio (2012 to 2014)
 
Mobilising Digital - Perth 13/03/14
Mobilising Digital - Perth 13/03/14Mobilising Digital - Perth 13/03/14
Mobilising Digital - Perth 13/03/14
 
I WATCH DOCUMENTATION
I WATCH DOCUMENTATIONI WATCH DOCUMENTATION
I WATCH DOCUMENTATION
 
Android - Open Source Bridge 2011
Android - Open Source Bridge 2011Android - Open Source Bridge 2011
Android - Open Source Bridge 2011
 
Встреча Google Post IO ( Владимир Иванов, Катерина Заворотченко и Сергей Комлач)
Встреча Google Post IO ( Владимир Иванов, Катерина Заворотченко и Сергей Комлач)Встреча Google Post IO ( Владимир Иванов, Катерина Заворотченко и Сергей Комлач)
Встреча Google Post IO ( Владимир Иванов, Катерина Заворотченко и Сергей Комлач)
 
Case study on Movie Quiz App For IPhone and IPad – Facebook Enabled
Case study on Movie Quiz App For IPhone and IPad –  Facebook Enabled Case study on Movie Quiz App For IPhone and IPad –  Facebook Enabled
Case study on Movie Quiz App For IPhone and IPad – Facebook Enabled
 
Lecture 12 - Maps, AR_VR_aaaaHardware.pptx
Lecture 12 - Maps, AR_VR_aaaaHardware.pptxLecture 12 - Maps, AR_VR_aaaaHardware.pptx
Lecture 12 - Maps, AR_VR_aaaaHardware.pptx
 
iLabs Toolbox Javashare 2008
iLabs Toolbox Javashare 2008iLabs Toolbox Javashare 2008
iLabs Toolbox Javashare 2008
 
Introduction to Android Programming
Introduction to Android ProgrammingIntroduction to Android Programming
Introduction to Android Programming
 
Training Session 2
Training Session 2 Training Session 2
Training Session 2
 

More from Hiroshi Hashimoto

ヌガー対応 Potatotios #33
ヌガー対応 Potatotios #33ヌガー対応 Potatotios #33
ヌガー対応 Potatotios #33
Hiroshi Hashimoto
 
Swig for android
Swig for androidSwig for android
Swig for android
Hiroshi Hashimoto
 
Camera2
Camera2Camera2
Android Wear-What's new in android
Android Wear-What's new in android Android Wear-What's new in android
Android Wear-What's new in android
Hiroshi Hashimoto
 
Ui Crunch #5 Android Wear
Ui Crunch #5 Android WearUi Crunch #5 Android Wear
Ui Crunch #5 Android Wear
Hiroshi Hashimoto
 
Android Wear How to make watchface project abc2014W
Android Wear How to make watchface project abc2014WAndroid Wear How to make watchface project abc2014W
Android Wear How to make watchface project abc2014WHiroshi Hashimoto
 
Androidにおけるテストに関して 2014/11
Androidにおけるテストに関して 2014/11Androidにおけるテストに関して 2014/11
Androidにおけるテストに関して 2014/11Hiroshi Hashimoto
 
Androidにおけるテストに関して~端末をどう選ぶか~201404
Androidにおけるテストに関して~端末をどう選ぶか~201404Androidにおけるテストに関して~端末をどう選ぶか~201404
Androidにおけるテストに関して~端末をどう選ぶか~201404
Hiroshi Hashimoto
 
Androidにおけるテストに関して〜デバイスをどう選択するか〜 abc2012t
Androidにおけるテストに関して〜デバイスをどう選択するか〜 abc2012tAndroidにおけるテストに関して〜デバイスをどう選択するか〜 abc2012t
Androidにおけるテストに関して〜デバイスをどう選択するか〜 abc2012tHiroshi Hashimoto
 

More from Hiroshi Hashimoto (10)

ヌガー対応 Potatotios #33
ヌガー対応 Potatotios #33ヌガー対応 Potatotios #33
ヌガー対応 Potatotios #33
 
Swig for android
Swig for androidSwig for android
Swig for android
 
Camera2
Camera2Camera2
Camera2
 
Android Wear-What's new in android
Android Wear-What's new in android Android Wear-What's new in android
Android Wear-What's new in android
 
Ui Crunch #5 Android Wear
Ui Crunch #5 Android WearUi Crunch #5 Android Wear
Ui Crunch #5 Android Wear
 
Android Wear How to make watchface project abc2014W
Android Wear How to make watchface project abc2014WAndroid Wear How to make watchface project abc2014W
Android Wear How to make watchface project abc2014W
 
Androidにおけるテストに関して 2014/11
Androidにおけるテストに関して 2014/11Androidにおけるテストに関して 2014/11
Androidにおけるテストに関して 2014/11
 
Google i/o extend japan2014
Google i/o extend japan2014Google i/o extend japan2014
Google i/o extend japan2014
 
Androidにおけるテストに関して~端末をどう選ぶか~201404
Androidにおけるテストに関して~端末をどう選ぶか~201404Androidにおけるテストに関して~端末をどう選ぶか~201404
Androidにおけるテストに関して~端末をどう選ぶか~201404
 
Androidにおけるテストに関して〜デバイスをどう選択するか〜 abc2012t
Androidにおけるテストに関して〜デバイスをどう選択するか〜 abc2012tAndroidにおけるテストに関して〜デバイスをどう選択するか〜 abc2012t
Androidにおけるテストに関して〜デバイスをどう選択するか〜 abc2012t
 

Recently uploaded

weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 

Recently uploaded (20)

weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 

Interactive watch faces