SlideShare una empresa de Scribd logo
1 de 33
Descargar para leer sin conexión
Discover Android Wear
BuildYour First Android App
for the Google Play Store
• Two all day sessions, Saturday May 10th and
17th	

• Build a full app piece by piece	

• All source code yours to keep	

• meetup.com/South-Bay-Mobile-User-
Group/events/172991712/
Come join us Saturday May 10th and 17th and learn to build an complete android app.
Please Rate this Talk
spkr8.com/t/30861
Android Wear
• Announced March 18th	

• Google is partnering with:	

• Hardware makers	

• Chip makers	

• Fashion houses	

• Still needs software from you
Manufacturers: LG, HTC, ASUS, Motorola, and Samsung
Chip makers: Intel, Broadcom, Qualcomm, Mediatek, Mips
Fashion House: Fossil
Fossil is probably the most significant name on the list since they make inexpensive fashion watches now. Perhaps the “dork” factor can be removed from
smart watches
Me
• Mobile/Mobile Web Developer	

• 30+ years of programming experience	

• My blog: therockncoder.blogspot.com	

• Twitter: @therockncoder	

• GitHub: github.com/Rockncoder	

• GMail: rockncoder@gmail.com
Please follow me on twitter. I tweet my next talks, latest blog posts & github uploads + info on hackathons, contests, and freebies
If you have question, please feel free to tweet or email me. I typically answer tweets quicker.
Agenda
• Why is it cool?	

• The competition	

• Installing the preview SDK	

• Troubleshooting	

• Programming Android Wear	

• Summary and Questions
Why is it Cool?
• Google isn’t trying to put a phone in a
watch	

• The watch is a 2nd screen for phone	

• The watch is an extra input device for
phone	

• Programming just like regular Android apps	

• Should allow for reasonably priced watches
The Competition
• Pebble Smartwatch	

• Qualcomm Toq	

• Samsung Gear	

• Sony Smartwatch
Google isn’t the first manufacturer in this space. Besides constant rumors of an iWatch, others have products currently in the market.
Pebble Smartwatch
• Funded by Kickstarter
on May 18th, 2012	

• Compatible with
Android and iOS	

• Requires two SDKs:
device’s and Pebble’s	

• JavaScript based
programming model
Most successful campaign on Kickstarter. Goal of $100,000 raised $10,266,845. Owns the market right now. No touch screen. No fitness functions.
Qualcomm Toq
• Introduced at Uplinq on
Sept. 4, 2013	

• Uses Qualcomm’s
Mirasol display	

• Only Android phones	

• Requires 2 SDKs:Toq
and Android	

• Java based programming
model
A surprising entry. Qualcomm doesn’t normally build hardware. High priced at $349 when introduced, now about $250 on Amazon. Good battery life, poor
UI.
Samsung Gear
• Replaces the Samsung
Galaxy Gear watch	

• Works only with
Samsung Android
phones	

• Requires 2 SDKs: Tizen
and Android	

• HTML/CSS based
programming model
Rumors of %30 return rate at Best Buy. Compatible only with late model Samsung Phones. Fitness functions. Camera.
Samsung Gear App
Challenge!
• Begins May 8th	

• $1,250,000 in prize
money	

• developer.samsung.com/
wearables/main/
Sony SmartWatch 2
• Replaces the Sony
SmartWatch	

• Android phones on 4.0+	

• Android SDK + Sony
add-on SDK	

• Java based programming
model
Installing the Preview
SDK
• Get the Preview SDK	

• Install the Android SDK	

• UpdateYour IDE	

• Wearable Preview Support library
Get the Preview SDK
• You must have a GMail
or other Google
account	

• developer.android.com/
wear/index.html	

• You ask to join	

• If accepted you will
receive an email from
Google
I haven’t heard of anyone being rejected. The acceptance seem more gear to putting people on Android Wear’s beta group, so you can get the app.
Two things a link to the Android Wear app and the preview SDK zip file
Install the Android SDK
• Assuming you already this installed	

• developer.android.com	

• therockncoder.blogspot.com/2014/03/
installing-best-android-dev-
environment.html
Please go to developer.android.com for more instruction on how to install the Android SDK. I also have a very detailed instructions on how to install my
Android development environment.
UpdateYour IDE
• Android developer are use to updating
their dev tools almost weekly	

• update the Eclipse ADT to version 22.6.1+	

• update Android Studio to version 0.5.1+
BTW: At this point Android Studio is very stable and it is the future of Android development. I would recommend that newbies use it instead of Eclipse.
Set up the Android
Wear Emulator
• Launch the AndroidVirtual Device Manager	

• Device = Android Wear Square or Android
Wear Round.	

• Target = Android 4.4.2 - API Level 19 	

• CPU = Android Wear ARM (armeabi-v7a).	

• Skin = AndroidWearSquare or
AndroidWearRound
Set up the Android
Wear App
• Available only to approved beta testers	

• If you aren’t a developer the app is not
useful	

• You must have an Android 4.3 or higher
device to pair to emulator
Open the Android Wear Preview app. You should see a notice that the app is currently not enabled as a notification listener. Tap the message to open the
system settings, then select Android Wear Preview to grant it notification access.
!
Connect your device to your development machine over USB. Be sure that no other Android devices are connected to the machine.
!
Ensure that the Android Wear emulator (created in the previous section) is running. The emulator should show the time and an icon that indicates no
device is connected.
!
Open a command line terminal, navigate to your Android SDK's platform-tools/ directory, then execute:
!
adb -d forward tcp:5601 tcp:5601
!
Note: You must execute this command each time you connect your device over USB.
Return to the Android Wear Preview app. It should now indicate that it is connected to the emulator. The Android Wear emulator should now show the 'g'
orb icon, indicating that is is connected to your device.
!
Now, notifications from your device also appear in the Android Wear emulator.
Install the Preview SDK
• Unzip the Preview SDK	

• Place it with your other Android SDKs
Wearable Preview
Support library
• Even without it, notifications will appear on
watch	

• Library includes several API’s to optimize
your app’s notifications	

• Add the library’s jar to app’s lib folder
Demonstrate adding the wearable-preview-support library
Troubleshooting
• The order of steps is important	

• If they are not followed your device and
emulator won’t connect	

• If this happens, kill emulator and re-do
steps
Demo: Ping Me
• Ping Me is a demo app for notification	

• It works even though not written for
Android Wear
The Preview Sample
Apps
• Wearable Notifications Sample	

• Eliza Chat	

• Recipe Assistant
Demo each app in turn
Programming Android
Wear
• The Heart of Android Wear: Notifications	

• Sending Notification	

• Receiving Inputs
Show the code. Convert the code
Be a Good Citizen
• Don’t berate user with notifications	

• Keep notifications contextual	

• Consider using geofencing or activity
detection	

• Use notification priority
Just because you send user a notification doesn’t necessarily mean you should.
The Future of Android
Wear
• This is only a Preview SDK	

• Voice via Google Now is coming later	

• You can't distribute apps built with it	

• Expect more information at Google I/O
June 25-26
Summary
• Android Wear is built on top of Android’s
Notification system	

• It is easy to add support for Android Wear
to any Android app
Please Rate this Talk
spkr8.com/t/30861
Resources
SDKs
• https://developer.getpebble.com/	

• https://developer.qualcomm.com/mobile-
development/create-connected-
experiences/smartwatch-toq-sdk	

• developer.samsung.com/home.do	

• developer.sonymobile.com/knowledge-base/
sony-add-on-sdk/
Android Wear
• developer.android.com/wear/index.html	

• developer.android.com/wear/preview/
start.html	

• android-developers.blogspot.com/2014/03/
android-wear-developer-preview.html
More Info
• arstechnica.com/gadgets/2014/03/in-depth-
with-android-wear-googles-quantum-leap-
of-a-smartwatch-os/	

• www.youtube.com/watch?
v=HpY8O5Zer78

Más contenido relacionado

La actualidad más candente

Mobile Applications with Angular 4 and Ionic 3
Mobile Applications with Angular 4 and Ionic 3Mobile Applications with Angular 4 and Ionic 3
Mobile Applications with Angular 4 and Ionic 3Oleksandr Tryshchenko
 
Hybrid Apps with Angular & Ionic Framework
Hybrid Apps with Angular & Ionic FrameworkHybrid Apps with Angular & Ionic Framework
Hybrid Apps with Angular & Ionic FrameworkCihad Horuzoğlu
 
Creating mobile apps - an introduction to Ionic (Engage 2016)
Creating mobile apps - an introduction to Ionic (Engage 2016)Creating mobile apps - an introduction to Ionic (Engage 2016)
Creating mobile apps - an introduction to Ionic (Engage 2016)Mark Leusink
 
Creating an hybrid app in minutes with Ionic Framework
Creating an hybrid app in minutes with Ionic FrameworkCreating an hybrid app in minutes with Ionic Framework
Creating an hybrid app in minutes with Ionic FrameworkJulien Renaux
 
Building mobile app with Ionic Framework
Building mobile app with Ionic FrameworkBuilding mobile app with Ionic Framework
Building mobile app with Ionic FrameworkHuy Trần
 
Introduction to Ionic framework
Introduction to Ionic frameworkIntroduction to Ionic framework
Introduction to Ionic frameworkShyjal Raazi
 
Hybrid vs. Native app - Ionic Framework with AngularJS
Hybrid vs. Native app - Ionic Framework with AngularJSHybrid vs. Native app - Ionic Framework with AngularJS
Hybrid vs. Native app - Ionic Framework with AngularJSZvika Epstein
 
Using Android Studio and Genymotion for improved productivity
Using Android Studio and Genymotion for improved productivityUsing Android Studio and Genymotion for improved productivity
Using Android Studio and Genymotion for improved productivitySowmya Guru
 
Hybrid Mobile Development - Overview and Intro to Cordova/Ionic Framework
Hybrid Mobile Development - Overview and Intro to Cordova/Ionic FrameworkHybrid Mobile Development - Overview and Intro to Cordova/Ionic Framework
Hybrid Mobile Development - Overview and Intro to Cordova/Ionic FrameworkRashmika Nawaratne
 
Cordova, Angularjs & Ionic @ Codeaholics
Cordova, Angularjs & Ionic @ CodeaholicsCordova, Angularjs & Ionic @ Codeaholics
Cordova, Angularjs & Ionic @ CodeaholicsEddie Lau
 
Ionic framework one day training
Ionic framework one day trainingIonic framework one day training
Ionic framework one day trainingTroy Miles
 
Intro to mobile apps with the ionic framework & angular js
Intro to mobile apps with the ionic framework & angular jsIntro to mobile apps with the ionic framework & angular js
Intro to mobile apps with the ionic framework & angular jsHector Iribarne
 
Developing Hybrid Applications with IONIC
Developing Hybrid Applications with IONICDeveloping Hybrid Applications with IONIC
Developing Hybrid Applications with IONICFuat Buğra AYDIN
 
Cross-Platform Mobile Development with Ionic Framework and Angular
Cross-Platform Mobile Development with Ionic Framework and AngularCross-Platform Mobile Development with Ionic Framework and Angular
Cross-Platform Mobile Development with Ionic Framework and AngularMovel
 
Building Mobile Apps with Cordova , AngularJS and Ionic
Building Mobile Apps with Cordova , AngularJS and IonicBuilding Mobile Apps with Cordova , AngularJS and Ionic
Building Mobile Apps with Cordova , AngularJS and IonicKadhem Soltani
 

La actualidad más candente (20)

Mobile Applications with Angular 4 and Ionic 3
Mobile Applications with Angular 4 and Ionic 3Mobile Applications with Angular 4 and Ionic 3
Mobile Applications with Angular 4 and Ionic 3
 
Hybrid Apps with Angular & Ionic Framework
Hybrid Apps with Angular & Ionic FrameworkHybrid Apps with Angular & Ionic Framework
Hybrid Apps with Angular & Ionic Framework
 
Creating mobile apps - an introduction to Ionic (Engage 2016)
Creating mobile apps - an introduction to Ionic (Engage 2016)Creating mobile apps - an introduction to Ionic (Engage 2016)
Creating mobile apps - an introduction to Ionic (Engage 2016)
 
Creating an hybrid app in minutes with Ionic Framework
Creating an hybrid app in minutes with Ionic FrameworkCreating an hybrid app in minutes with Ionic Framework
Creating an hybrid app in minutes with Ionic Framework
 
Building mobile app with Ionic Framework
Building mobile app with Ionic FrameworkBuilding mobile app with Ionic Framework
Building mobile app with Ionic Framework
 
Introduction to Ionic framework
Introduction to Ionic frameworkIntroduction to Ionic framework
Introduction to Ionic framework
 
Hybrid vs. Native app - Ionic Framework with AngularJS
Hybrid vs. Native app - Ionic Framework with AngularJSHybrid vs. Native app - Ionic Framework with AngularJS
Hybrid vs. Native app - Ionic Framework with AngularJS
 
Ionic Framework
Ionic FrameworkIonic Framework
Ionic Framework
 
Using Android Studio and Genymotion for improved productivity
Using Android Studio and Genymotion for improved productivityUsing Android Studio and Genymotion for improved productivity
Using Android Studio and Genymotion for improved productivity
 
Hybrid Mobile Development - Overview and Intro to Cordova/Ionic Framework
Hybrid Mobile Development - Overview and Intro to Cordova/Ionic FrameworkHybrid Mobile Development - Overview and Intro to Cordova/Ionic Framework
Hybrid Mobile Development - Overview and Intro to Cordova/Ionic Framework
 
Cordova, Angularjs & Ionic @ Codeaholics
Cordova, Angularjs & Ionic @ CodeaholicsCordova, Angularjs & Ionic @ Codeaholics
Cordova, Angularjs & Ionic @ Codeaholics
 
Ionic framework one day training
Ionic framework one day trainingIonic framework one day training
Ionic framework one day training
 
Intro to ionic 2
Intro to ionic 2Intro to ionic 2
Intro to ionic 2
 
Ionic Framework
Ionic FrameworkIonic Framework
Ionic Framework
 
Workshop Ionic Framework - CC FE & UX
Workshop Ionic Framework - CC FE & UXWorkshop Ionic Framework - CC FE & UX
Workshop Ionic Framework - CC FE & UX
 
Intro to mobile apps with the ionic framework & angular js
Intro to mobile apps with the ionic framework & angular jsIntro to mobile apps with the ionic framework & angular js
Intro to mobile apps with the ionic framework & angular js
 
Developing Hybrid Applications with IONIC
Developing Hybrid Applications with IONICDeveloping Hybrid Applications with IONIC
Developing Hybrid Applications with IONIC
 
Cross-Platform Mobile Development with Ionic Framework and Angular
Cross-Platform Mobile Development with Ionic Framework and AngularCross-Platform Mobile Development with Ionic Framework and Angular
Cross-Platform Mobile Development with Ionic Framework and Angular
 
Ionic framework
Ionic frameworkIonic framework
Ionic framework
 
Building Mobile Apps with Cordova , AngularJS and Ionic
Building Mobile Apps with Cordova , AngularJS and IonicBuilding Mobile Apps with Cordova , AngularJS and Ionic
Building Mobile Apps with Cordova , AngularJS and Ionic
 

Destacado

10 Groovy Little JavaScript Tips
10 Groovy Little JavaScript Tips10 Groovy Little JavaScript Tips
10 Groovy Little JavaScript TipsTroy Miles
 
Debugging and Tuning Mobile Web Sites with Modern Web Browsers
Debugging and Tuning Mobile Web Sites with Modern Web BrowsersDebugging and Tuning Mobile Web Sites with Modern Web Browsers
Debugging and Tuning Mobile Web Sites with Modern Web BrowsersTroy Miles
 
Finding your Way in the Midst of the NoSQL Haze - Abdelmonaim Remani
Finding your Way in the Midst of the NoSQL Haze - Abdelmonaim RemaniFinding your Way in the Midst of the NoSQL Haze - Abdelmonaim Remani
Finding your Way in the Midst of the NoSQL Haze - Abdelmonaim RemaniJAXLondon2014
 
Enterprise javascriptsession1
Enterprise javascriptsession1Enterprise javascriptsession1
Enterprise javascriptsession1Troy Miles
 
An Introduction to Node.js Development with Windows Azure
An Introduction to Node.js Development with Windows AzureAn Introduction to Node.js Development with Windows Azure
An Introduction to Node.js Development with Windows AzureTroy Miles
 
Chrome Dev Tools
Chrome Dev ToolsChrome Dev Tools
Chrome Dev ToolsTroy Miles
 
Quick & Dirty Mobile Web with jQuery Mobile
Quick & Dirty Mobile Web with jQuery MobileQuick & Dirty Mobile Web with jQuery Mobile
Quick & Dirty Mobile Web with jQuery MobileTroy Miles
 

Destacado (8)

10 Groovy Little JavaScript Tips
10 Groovy Little JavaScript Tips10 Groovy Little JavaScript Tips
10 Groovy Little JavaScript Tips
 
Debugging and Tuning Mobile Web Sites with Modern Web Browsers
Debugging and Tuning Mobile Web Sites with Modern Web BrowsersDebugging and Tuning Mobile Web Sites with Modern Web Browsers
Debugging and Tuning Mobile Web Sites with Modern Web Browsers
 
Finding your Way in the Midst of the NoSQL Haze - Abdelmonaim Remani
Finding your Way in the Midst of the NoSQL Haze - Abdelmonaim RemaniFinding your Way in the Midst of the NoSQL Haze - Abdelmonaim Remani
Finding your Way in the Midst of the NoSQL Haze - Abdelmonaim Remani
 
Enterprise javascriptsession1
Enterprise javascriptsession1Enterprise javascriptsession1
Enterprise javascriptsession1
 
An Introduction to Node.js Development with Windows Azure
An Introduction to Node.js Development with Windows AzureAn Introduction to Node.js Development with Windows Azure
An Introduction to Node.js Development with Windows Azure
 
MongoDB Workshop
MongoDB WorkshopMongoDB Workshop
MongoDB Workshop
 
Chrome Dev Tools
Chrome Dev ToolsChrome Dev Tools
Chrome Dev Tools
 
Quick & Dirty Mobile Web with jQuery Mobile
Quick & Dirty Mobile Web with jQuery MobileQuick & Dirty Mobile Web with jQuery Mobile
Quick & Dirty Mobile Web with jQuery Mobile
 

Similar a Discover Android Wear

Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Javaamaankhan
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidbantyder
 
Android workshop
Android workshopAndroid workshop
Android workshopSagar Patel
 
App42 Student Lab - Android Game Dev Series V 0.1
App42 Student Lab - Android Game Dev Series V 0.1App42 Student Lab - Android Game Dev Series V 0.1
App42 Student Lab - Android Game Dev Series V 0.1ShepHertz
 
android_android + app engine- a developer's dream combination
android_android + app engine- a developer's dream combinationandroid_android + app engine- a developer's dream combination
android_android + app engine- a developer's dream combinationbrada
 
androidPramming.ppt
androidPramming.pptandroidPramming.ppt
androidPramming.pptBijayKc16
 
Developing for Android-Types of Android Application
Developing for Android-Types of Android ApplicationDeveloping for Android-Types of Android Application
Developing for Android-Types of Android ApplicationNandini Prabhu
 
Android application development guide for beginners
Android application development guide for beginnersAndroid application development guide for beginners
Android application development guide for beginnersMobiers Ltd
 
Android application developement
Android application developementAndroid application developement
Android application developementSANJAY0830
 
Modifying Android Apps Without Source Code with Microsoft Visual Studio Code
Modifying Android Apps Without Source Code with Microsoft Visual Studio CodeModifying Android Apps Without Source Code with Microsoft Visual Studio Code
Modifying Android Apps Without Source Code with Microsoft Visual Studio CodeRonillo Ang
 
001-Mobile Application.pptx
001-Mobile Application.pptx001-Mobile Application.pptx
001-Mobile Application.pptxAhmedDarre
 
Mobile application and Game development
Mobile application and Game developmentMobile application and Game development
Mobile application and Game developmentWomen In Digital
 
Android Development Primer - GDG Los Angeles
Android Development Primer - GDG Los AngelesAndroid Development Primer - GDG Los Angeles
Android Development Primer - GDG Los AngelesGerard
 
Android Wear Code Lab
Android Wear Code LabAndroid Wear Code Lab
Android Wear Code LabGerard
 
9780134433646 annuzzi ch02 (1)
9780134433646 annuzzi ch02 (1)9780134433646 annuzzi ch02 (1)
9780134433646 annuzzi ch02 (1)Peter Mburu
 
Android Workshop
Android WorkshopAndroid Workshop
Android WorkshopJunda Ong
 
Webinar on How to use MyAppConverter
Webinar on How to use  MyAppConverterWebinar on How to use  MyAppConverter
Webinar on How to use MyAppConverterJaoued Ahmed
 

Similar a Discover Android Wear (20)

Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Java
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android workshop
Android workshopAndroid workshop
Android workshop
 
App42 Student Lab - Android Game Dev Series V 0.1
App42 Student Lab - Android Game Dev Series V 0.1App42 Student Lab - Android Game Dev Series V 0.1
App42 Student Lab - Android Game Dev Series V 0.1
 
android_android + app engine- a developer's dream combination
android_android + app engine- a developer's dream combinationandroid_android + app engine- a developer's dream combination
android_android + app engine- a developer's dream combination
 
androidPramming.ppt
androidPramming.pptandroidPramming.ppt
androidPramming.ppt
 
Developing for Android-Types of Android Application
Developing for Android-Types of Android ApplicationDeveloping for Android-Types of Android Application
Developing for Android-Types of Android Application
 
Android application development guide for beginners
Android application development guide for beginnersAndroid application development guide for beginners
Android application development guide for beginners
 
Android application developement
Android application developementAndroid application developement
Android application developement
 
Android Tutorial
Android TutorialAndroid Tutorial
Android Tutorial
 
Modifying Android Apps Without Source Code with Microsoft Visual Studio Code
Modifying Android Apps Without Source Code with Microsoft Visual Studio CodeModifying Android Apps Without Source Code with Microsoft Visual Studio Code
Modifying Android Apps Without Source Code with Microsoft Visual Studio Code
 
001-Mobile Application.pptx
001-Mobile Application.pptx001-Mobile Application.pptx
001-Mobile Application.pptx
 
Hybrid app development with ionic
Hybrid app development with ionicHybrid app development with ionic
Hybrid app development with ionic
 
Mobile application and Game development
Mobile application and Game developmentMobile application and Game development
Mobile application and Game development
 
Android Development Primer - GDG Los Angeles
Android Development Primer - GDG Los AngelesAndroid Development Primer - GDG Los Angeles
Android Development Primer - GDG Los Angeles
 
Android Wear Code Lab
Android Wear Code LabAndroid Wear Code Lab
Android Wear Code Lab
 
9780134433646 annuzzi ch02 (1)
9780134433646 annuzzi ch02 (1)9780134433646 annuzzi ch02 (1)
9780134433646 annuzzi ch02 (1)
 
Android Workshop
Android WorkshopAndroid Workshop
Android Workshop
 
Webinar on How to use MyAppConverter
Webinar on How to use  MyAppConverterWebinar on How to use  MyAppConverter
Webinar on How to use MyAppConverter
 
Android Overview
Android OverviewAndroid Overview
Android Overview
 

Más de Troy Miles

Fast C++ Web Servers
Fast C++ Web ServersFast C++ Web Servers
Fast C++ Web ServersTroy Miles
 
Node Boot Camp
Node Boot CampNode Boot Camp
Node Boot CampTroy Miles
 
AWS Lambda Function with Kotlin
AWS Lambda Function with KotlinAWS Lambda Function with Kotlin
AWS Lambda Function with KotlinTroy Miles
 
React Native One Day
React Native One DayReact Native One Day
React Native One DayTroy Miles
 
React Native Evening
React Native EveningReact Native Evening
React Native EveningTroy Miles
 
Intro to React
Intro to ReactIntro to React
Intro to ReactTroy Miles
 
React Development with the MERN Stack
React Development with the MERN StackReact Development with the MERN Stack
React Development with the MERN StackTroy Miles
 
Angular Application Testing
Angular Application TestingAngular Application Testing
Angular Application TestingTroy Miles
 
What is Angular version 4?
What is Angular version 4?What is Angular version 4?
What is Angular version 4?Troy Miles
 
Angular Weekend
Angular WeekendAngular Weekend
Angular WeekendTroy Miles
 
From MEAN to the MERN Stack
From MEAN to the MERN StackFrom MEAN to the MERN Stack
From MEAN to the MERN StackTroy Miles
 
Functional Programming in JavaScript
Functional Programming in JavaScriptFunctional Programming in JavaScript
Functional Programming in JavaScriptTroy Miles
 
Functional Programming in Clojure
Functional Programming in ClojureFunctional Programming in Clojure
Functional Programming in ClojureTroy Miles
 
The JavaScript You Wished You Knew
The JavaScript You Wished You KnewThe JavaScript You Wished You Knew
The JavaScript You Wished You KnewTroy Miles
 
Game Design and Development Workshop Day 1
Game Design and Development Workshop Day 1Game Design and Development Workshop Day 1
Game Design and Development Workshop Day 1Troy Miles
 
Build a Game in 60 minutes
Build a Game in 60 minutesBuild a Game in 60 minutes
Build a Game in 60 minutesTroy Miles
 
Quick & Dirty & MEAN
Quick & Dirty & MEANQuick & Dirty & MEAN
Quick & Dirty & MEANTroy Miles
 
A Quick Intro to ReactiveX
A Quick Intro to ReactiveXA Quick Intro to ReactiveX
A Quick Intro to ReactiveXTroy Miles
 
JavaScript Foundations Day1
JavaScript Foundations Day1JavaScript Foundations Day1
JavaScript Foundations Day1Troy Miles
 

Más de Troy Miles (20)

Fast C++ Web Servers
Fast C++ Web ServersFast C++ Web Servers
Fast C++ Web Servers
 
Node Boot Camp
Node Boot CampNode Boot Camp
Node Boot Camp
 
AWS Lambda Function with Kotlin
AWS Lambda Function with KotlinAWS Lambda Function with Kotlin
AWS Lambda Function with Kotlin
 
React Native One Day
React Native One DayReact Native One Day
React Native One Day
 
React Native Evening
React Native EveningReact Native Evening
React Native Evening
 
Intro to React
Intro to ReactIntro to React
Intro to React
 
React Development with the MERN Stack
React Development with the MERN StackReact Development with the MERN Stack
React Development with the MERN Stack
 
Angular Application Testing
Angular Application TestingAngular Application Testing
Angular Application Testing
 
ReactJS.NET
ReactJS.NETReactJS.NET
ReactJS.NET
 
What is Angular version 4?
What is Angular version 4?What is Angular version 4?
What is Angular version 4?
 
Angular Weekend
Angular WeekendAngular Weekend
Angular Weekend
 
From MEAN to the MERN Stack
From MEAN to the MERN StackFrom MEAN to the MERN Stack
From MEAN to the MERN Stack
 
Functional Programming in JavaScript
Functional Programming in JavaScriptFunctional Programming in JavaScript
Functional Programming in JavaScript
 
Functional Programming in Clojure
Functional Programming in ClojureFunctional Programming in Clojure
Functional Programming in Clojure
 
The JavaScript You Wished You Knew
The JavaScript You Wished You KnewThe JavaScript You Wished You Knew
The JavaScript You Wished You Knew
 
Game Design and Development Workshop Day 1
Game Design and Development Workshop Day 1Game Design and Development Workshop Day 1
Game Design and Development Workshop Day 1
 
Build a Game in 60 minutes
Build a Game in 60 minutesBuild a Game in 60 minutes
Build a Game in 60 minutes
 
Quick & Dirty & MEAN
Quick & Dirty & MEANQuick & Dirty & MEAN
Quick & Dirty & MEAN
 
A Quick Intro to ReactiveX
A Quick Intro to ReactiveXA Quick Intro to ReactiveX
A Quick Intro to ReactiveX
 
JavaScript Foundations Day1
JavaScript Foundations Day1JavaScript Foundations Day1
JavaScript Foundations Day1
 

Último

What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 

Último (20)

What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 

Discover Android Wear

  • 2. BuildYour First Android App for the Google Play Store • Two all day sessions, Saturday May 10th and 17th • Build a full app piece by piece • All source code yours to keep • meetup.com/South-Bay-Mobile-User- Group/events/172991712/ Come join us Saturday May 10th and 17th and learn to build an complete android app.
  • 3. Please Rate this Talk spkr8.com/t/30861
  • 4. Android Wear • Announced March 18th • Google is partnering with: • Hardware makers • Chip makers • Fashion houses • Still needs software from you Manufacturers: LG, HTC, ASUS, Motorola, and Samsung Chip makers: Intel, Broadcom, Qualcomm, Mediatek, Mips Fashion House: Fossil Fossil is probably the most significant name on the list since they make inexpensive fashion watches now. Perhaps the “dork” factor can be removed from smart watches
  • 5. Me • Mobile/Mobile Web Developer • 30+ years of programming experience • My blog: therockncoder.blogspot.com • Twitter: @therockncoder • GitHub: github.com/Rockncoder • GMail: rockncoder@gmail.com Please follow me on twitter. I tweet my next talks, latest blog posts & github uploads + info on hackathons, contests, and freebies If you have question, please feel free to tweet or email me. I typically answer tweets quicker.
  • 6. Agenda • Why is it cool? • The competition • Installing the preview SDK • Troubleshooting • Programming Android Wear • Summary and Questions
  • 7. Why is it Cool? • Google isn’t trying to put a phone in a watch • The watch is a 2nd screen for phone • The watch is an extra input device for phone • Programming just like regular Android apps • Should allow for reasonably priced watches
  • 8. The Competition • Pebble Smartwatch • Qualcomm Toq • Samsung Gear • Sony Smartwatch Google isn’t the first manufacturer in this space. Besides constant rumors of an iWatch, others have products currently in the market.
  • 9. Pebble Smartwatch • Funded by Kickstarter on May 18th, 2012 • Compatible with Android and iOS • Requires two SDKs: device’s and Pebble’s • JavaScript based programming model Most successful campaign on Kickstarter. Goal of $100,000 raised $10,266,845. Owns the market right now. No touch screen. No fitness functions.
  • 10. Qualcomm Toq • Introduced at Uplinq on Sept. 4, 2013 • Uses Qualcomm’s Mirasol display • Only Android phones • Requires 2 SDKs:Toq and Android • Java based programming model A surprising entry. Qualcomm doesn’t normally build hardware. High priced at $349 when introduced, now about $250 on Amazon. Good battery life, poor UI.
  • 11. Samsung Gear • Replaces the Samsung Galaxy Gear watch • Works only with Samsung Android phones • Requires 2 SDKs: Tizen and Android • HTML/CSS based programming model Rumors of %30 return rate at Best Buy. Compatible only with late model Samsung Phones. Fitness functions. Camera.
  • 12. Samsung Gear App Challenge! • Begins May 8th • $1,250,000 in prize money • developer.samsung.com/ wearables/main/
  • 13. Sony SmartWatch 2 • Replaces the Sony SmartWatch • Android phones on 4.0+ • Android SDK + Sony add-on SDK • Java based programming model
  • 14. Installing the Preview SDK • Get the Preview SDK • Install the Android SDK • UpdateYour IDE • Wearable Preview Support library
  • 15. Get the Preview SDK • You must have a GMail or other Google account • developer.android.com/ wear/index.html • You ask to join • If accepted you will receive an email from Google I haven’t heard of anyone being rejected. The acceptance seem more gear to putting people on Android Wear’s beta group, so you can get the app. Two things a link to the Android Wear app and the preview SDK zip file
  • 16. Install the Android SDK • Assuming you already this installed • developer.android.com • therockncoder.blogspot.com/2014/03/ installing-best-android-dev- environment.html Please go to developer.android.com for more instruction on how to install the Android SDK. I also have a very detailed instructions on how to install my Android development environment.
  • 17. UpdateYour IDE • Android developer are use to updating their dev tools almost weekly • update the Eclipse ADT to version 22.6.1+ • update Android Studio to version 0.5.1+ BTW: At this point Android Studio is very stable and it is the future of Android development. I would recommend that newbies use it instead of Eclipse.
  • 18. Set up the Android Wear Emulator • Launch the AndroidVirtual Device Manager • Device = Android Wear Square or Android Wear Round. • Target = Android 4.4.2 - API Level 19 • CPU = Android Wear ARM (armeabi-v7a). • Skin = AndroidWearSquare or AndroidWearRound
  • 19. Set up the Android Wear App • Available only to approved beta testers • If you aren’t a developer the app is not useful • You must have an Android 4.3 or higher device to pair to emulator Open the Android Wear Preview app. You should see a notice that the app is currently not enabled as a notification listener. Tap the message to open the system settings, then select Android Wear Preview to grant it notification access. ! Connect your device to your development machine over USB. Be sure that no other Android devices are connected to the machine. ! Ensure that the Android Wear emulator (created in the previous section) is running. The emulator should show the time and an icon that indicates no device is connected. ! Open a command line terminal, navigate to your Android SDK's platform-tools/ directory, then execute: ! adb -d forward tcp:5601 tcp:5601 ! Note: You must execute this command each time you connect your device over USB. Return to the Android Wear Preview app. It should now indicate that it is connected to the emulator. The Android Wear emulator should now show the 'g' orb icon, indicating that is is connected to your device. ! Now, notifications from your device also appear in the Android Wear emulator.
  • 20. Install the Preview SDK • Unzip the Preview SDK • Place it with your other Android SDKs
  • 21. Wearable Preview Support library • Even without it, notifications will appear on watch • Library includes several API’s to optimize your app’s notifications • Add the library’s jar to app’s lib folder Demonstrate adding the wearable-preview-support library
  • 22. Troubleshooting • The order of steps is important • If they are not followed your device and emulator won’t connect • If this happens, kill emulator and re-do steps
  • 23. Demo: Ping Me • Ping Me is a demo app for notification • It works even though not written for Android Wear
  • 24. The Preview Sample Apps • Wearable Notifications Sample • Eliza Chat • Recipe Assistant Demo each app in turn
  • 25. Programming Android Wear • The Heart of Android Wear: Notifications • Sending Notification • Receiving Inputs Show the code. Convert the code
  • 26. Be a Good Citizen • Don’t berate user with notifications • Keep notifications contextual • Consider using geofencing or activity detection • Use notification priority Just because you send user a notification doesn’t necessarily mean you should.
  • 27. The Future of Android Wear • This is only a Preview SDK • Voice via Google Now is coming later • You can't distribute apps built with it • Expect more information at Google I/O June 25-26
  • 28. Summary • Android Wear is built on top of Android’s Notification system • It is easy to add support for Android Wear to any Android app
  • 29. Please Rate this Talk spkr8.com/t/30861
  • 32. Android Wear • developer.android.com/wear/index.html • developer.android.com/wear/preview/ start.html • android-developers.blogspot.com/2014/03/ android-wear-developer-preview.html