SlideShare a Scribd company logo
1 of 16
Download to read offline
Data on your wrist
DEVELOPING PEBBLE SMARTWATCH APPS
Michael Earls
Advanced Systems Design
http://cerkit.com
me@cerkit.com
Getting started
with ASP.NET
WebAPI
DEVELOPMENT
ENVIRONMENT, HOSTING,
AND DEMO APP
What is WebAPI?
 ASP.NET Web API is a framework that makes it easy to
build HTTP services that reach a broad range of clients,
including browsers and mobile devices.
 ASP.NET Web API is an ideal platform for building RESTful
applications on the .NET Framework.
 REST – REpresentational State Transfer – HTTP GET, POST,
PUT, DELETE
WebAPI – IDE and Hosting
 Visual Studio 2013-2015
 Community Edition (Free)
 Professional Edition (Paid)
 Visual Studio Code
 Mac, Linux, and Windows
 Hosting
 Any host that supports ASP.NET 4.5.x
 Windows Azure is easy to set up
Creating a WebAPI Project
Standard Web Project
Add WebAPI
Add MVC if you wish to build a web
front-end to your API
WebAPI Project Creation
DEMO
Getting started
with Pebble app
development
DEVELOPMENT
ENVIRONMENT, LANGUAGE
SUPPORT, AND SAMPLE
CODE
Development Environment – Pebble not required
 Pebble C SDK
 Apple OSX – Xcode or other IDE
 Linux – editor/IDE of choice
 No Windows Support
 Cryptic compiler error/warning
messages
 Standalone Emulator
 Allows you to link outside libraries
 App configuration in .json file
 CloudPebble
(http://cloudpebble.net)
 Online IDE
 Chrome browser on any platform
 C, Pebble.js languages
 Good, easy to understand compiler
errors/warnings
 Browser-based emulator
 No outside libraries supported
 Easy app configuration
Language Support
 JavaScript (Pebble.js)
 Runs on phone
 Requires active Bluetooth connection to Pebble App on phone
 Supports:
 WebSockets
 XMLHttpRequest
 Geolocation
 LocalStorage
 C
 Runs on watch
 Does not require connection to phone unless JavaScript is also used
CloudPebble Demo
Developing an app in CloudPebble
App Settings Page
HTML/JavaScript Page
Hosted on the Internet
Opens in WebViewer from within Pebble
smartphone app
Settings Page
Bootstrap
JavaScript to determine test or production
modes
Code to set configuration settings on the
watch
Settings Page
Demonstration
JavaScript integration with C
 Phone functionality (GPS, Internet, Weather, etc.) requires JavaScript
 Must pass values between C code and JavaScript code using a dictionary
 Steps to pass data:
 Setup callbacks in C code
 app_message_open() – C code that starts the process of requesting a message
 Pebble.sendAppMessage() – Pebble.js code that actually sends the message
 Uses a JavaScript object representing a simple dictionary containing the values you
wish to send
 inbox_received_callback() – C code that processes call as a dictionary of
Tuples containing the data that was passed in
How do I make money with Pebble?
Pebble apps are all free on the
Pebble app store
Companion apps on Google Play or
Apple app store
Links
 CloudPebble – http://www.cloudpebble.net
 Discogs REST API – http://www.discogs.com/developers/
 Settings Page Gist - https://gist.github.com/cerkit/c5e42de6016067d1d585
 Getting started with WebAPI - http://goo.gl/FGk6gW
 My personal blog – http://cerkit.com
 @cerkit on Twitter

More Related Content

What's hot

The Future of Headless
The Future of HeadlessThe Future of Headless
The Future of HeadlessWP Engine
 
Xamarin: The Future of App Development
Xamarin: The Future of App DevelopmentXamarin: The Future of App Development
Xamarin: The Future of App DevelopmentJames Montemagno
 
Xamarin.forms Shell + Navigation
Xamarin.forms Shell + NavigationXamarin.forms Shell + Navigation
Xamarin.forms Shell + NavigationJames Montemagno
 
Taking Mobile Development Serverless with C#
Taking Mobile Development Serverless with C#Taking Mobile Development Serverless with C#
Taking Mobile Development Serverless with C#James Montemagno
 
Visual Studio for Mac - VSSaturday2018PN
Visual Studio for Mac - VSSaturday2018PNVisual Studio for Mac - VSSaturday2018PN
Visual Studio for Mac - VSSaturday2018PNMarco Bortolin
 
Introduction to google endpoints
Introduction to google endpointsIntroduction to google endpoints
Introduction to google endpointsShinto Anto
 
Azure Deployment(Seattle)
Azure Deployment(Seattle)Azure Deployment(Seattle)
Azure Deployment(Seattle)Mithun T. Dhar
 
End to-end native iOS, Android and Windows apps wtih Xamarin
End to-end native iOS, Android and Windows apps wtih XamarinEnd to-end native iOS, Android and Windows apps wtih Xamarin
End to-end native iOS, Android and Windows apps wtih XamarinJames Montemagno
 
Applanga - Going full circle - Automated Screenshots - In-Context Translation...
Applanga - Going full circle - Automated Screenshots - In-Context Translation...Applanga - Going full circle - Automated Screenshots - In-Context Translation...
Applanga - Going full circle - Automated Screenshots - In-Context Translation...Christian Stanke
 
Firebase Auth Tutorial
Firebase Auth TutorialFirebase Auth Tutorial
Firebase Auth TutorialBukhori Aqid
 
Ionic App Platform Overview
Ionic App Platform Overview Ionic App Platform Overview
Ionic App Platform Overview Ionic Framework
 
Firebase for the Web
Firebase for the WebFirebase for the Web
Firebase for the WebJana Moudrá
 
Building Usable REST APIs. By Javier Ramirez, teowaki. FOWA London
Building Usable REST APIs. By Javier Ramirez, teowaki. FOWA LondonBuilding Usable REST APIs. By Javier Ramirez, teowaki. FOWA London
Building Usable REST APIs. By Javier Ramirez, teowaki. FOWA Londonjavier ramirez
 
David vogelpohl asw 2019 - clever ways to automate content creation with wo...
David vogelpohl   asw 2019 - clever ways to automate content creation with wo...David vogelpohl   asw 2019 - clever ways to automate content creation with wo...
David vogelpohl asw 2019 - clever ways to automate content creation with wo...Affiliate Summit
 
Maurice de Beijer
Maurice de BeijerMaurice de Beijer
Maurice de BeijerCodeFest
 
Google App Engine (Introduction)
Google App Engine (Introduction)Google App Engine (Introduction)
Google App Engine (Introduction)Praveen Hanchinal
 
Wso2 product release webinar introducing jaggery
Wso2 product release webinar   introducing jaggeryWso2 product release webinar   introducing jaggery
Wso2 product release webinar introducing jaggeryWSO2
 
React Alicante - React Redux a development workflow
React Alicante - React Redux a development workflowReact Alicante - React Redux a development workflow
React Alicante - React Redux a development workflowBraulio Diez Botella
 

What's hot (19)

The Future of Headless
The Future of HeadlessThe Future of Headless
The Future of Headless
 
Xamarin: The Future of App Development
Xamarin: The Future of App DevelopmentXamarin: The Future of App Development
Xamarin: The Future of App Development
 
Xamarin.forms Shell + Navigation
Xamarin.forms Shell + NavigationXamarin.forms Shell + Navigation
Xamarin.forms Shell + Navigation
 
Taking Mobile Development Serverless with C#
Taking Mobile Development Serverless with C#Taking Mobile Development Serverless with C#
Taking Mobile Development Serverless with C#
 
Visual Studio for Mac - VSSaturday2018PN
Visual Studio for Mac - VSSaturday2018PNVisual Studio for Mac - VSSaturday2018PN
Visual Studio for Mac - VSSaturday2018PN
 
Introduction to google endpoints
Introduction to google endpointsIntroduction to google endpoints
Introduction to google endpoints
 
Azure Deployment(Seattle)
Azure Deployment(Seattle)Azure Deployment(Seattle)
Azure Deployment(Seattle)
 
End to-end native iOS, Android and Windows apps wtih Xamarin
End to-end native iOS, Android and Windows apps wtih XamarinEnd to-end native iOS, Android and Windows apps wtih Xamarin
End to-end native iOS, Android and Windows apps wtih Xamarin
 
Azure App Service Helpers
Azure App Service HelpersAzure App Service Helpers
Azure App Service Helpers
 
Applanga - Going full circle - Automated Screenshots - In-Context Translation...
Applanga - Going full circle - Automated Screenshots - In-Context Translation...Applanga - Going full circle - Automated Screenshots - In-Context Translation...
Applanga - Going full circle - Automated Screenshots - In-Context Translation...
 
Firebase Auth Tutorial
Firebase Auth TutorialFirebase Auth Tutorial
Firebase Auth Tutorial
 
Ionic App Platform Overview
Ionic App Platform Overview Ionic App Platform Overview
Ionic App Platform Overview
 
Firebase for the Web
Firebase for the WebFirebase for the Web
Firebase for the Web
 
Building Usable REST APIs. By Javier Ramirez, teowaki. FOWA London
Building Usable REST APIs. By Javier Ramirez, teowaki. FOWA LondonBuilding Usable REST APIs. By Javier Ramirez, teowaki. FOWA London
Building Usable REST APIs. By Javier Ramirez, teowaki. FOWA London
 
David vogelpohl asw 2019 - clever ways to automate content creation with wo...
David vogelpohl   asw 2019 - clever ways to automate content creation with wo...David vogelpohl   asw 2019 - clever ways to automate content creation with wo...
David vogelpohl asw 2019 - clever ways to automate content creation with wo...
 
Maurice de Beijer
Maurice de BeijerMaurice de Beijer
Maurice de Beijer
 
Google App Engine (Introduction)
Google App Engine (Introduction)Google App Engine (Introduction)
Google App Engine (Introduction)
 
Wso2 product release webinar introducing jaggery
Wso2 product release webinar   introducing jaggeryWso2 product release webinar   introducing jaggery
Wso2 product release webinar introducing jaggery
 
React Alicante - React Redux a development workflow
React Alicante - React Redux a development workflowReact Alicante - React Redux a development workflow
React Alicante - React Redux a development workflow
 

Viewers also liked

Testo mesurement solutions for automobile industry applications
Testo mesurement solutions for automobile industry applicationsTesto mesurement solutions for automobile industry applications
Testo mesurement solutions for automobile industry applicationsTesto-India-Pvt-Ltd
 
Design That Matters: Pelican Pulse Oximeter User Experience Study
Design That Matters: Pelican Pulse Oximeter User Experience StudyDesign That Matters: Pelican Pulse Oximeter User Experience Study
Design That Matters: Pelican Pulse Oximeter User Experience StudyVictoria Young
 
Connecting The Dots: Building Your Brand Across Channels
Connecting The Dots: Building Your Brand Across ChannelsConnecting The Dots: Building Your Brand Across Channels
Connecting The Dots: Building Your Brand Across ChannelsVictoria Young
 
DMT Medical Sensors presentation
DMT Medical Sensors presentationDMT Medical Sensors presentation
DMT Medical Sensors presentationSean Horn
 
Looking after your flue gas analyser
Looking after your flue gas analyser Looking after your flue gas analyser
Looking after your flue gas analyser Testo Limited
 
Crunchbase Signals Predicting Above Average Acquisition Price of Startups
Crunchbase Signals Predicting Above Average Acquisition Price of StartupsCrunchbase Signals Predicting Above Average Acquisition Price of Startups
Crunchbase Signals Predicting Above Average Acquisition Price of StartupsVictoria Young
 
Design That Matters: Infant Pulse Oximeter ( MIT + RISD Collaboration )
Design That Matters: Infant Pulse Oximeter ( MIT + RISD Collaboration )Design That Matters: Infant Pulse Oximeter ( MIT + RISD Collaboration )
Design That Matters: Infant Pulse Oximeter ( MIT + RISD Collaboration )Victoria Young
 
Practical Analytical Instrumentation in On-line Applications
Practical Analytical Instrumentation in On-line ApplicationsPractical Analytical Instrumentation in On-line Applications
Practical Analytical Instrumentation in On-line ApplicationsLiving Online
 
Project Pelican Pulse Oximeter Presentations
Project Pelican Pulse Oximeter PresentationsProject Pelican Pulse Oximeter Presentations
Project Pelican Pulse Oximeter PresentationsLéah Chung
 
Flue gas analisys in industry-Practical guide for Emission and Process Measur...
Flue gas analisys in industry-Practical guide for Emission and Process Measur...Flue gas analisys in industry-Practical guide for Emission and Process Measur...
Flue gas analisys in industry-Practical guide for Emission and Process Measur...Testo Azerbaijan
 
Introduction of process control
Introduction of process controlIntroduction of process control
Introduction of process controlchemical ppt
 
Instrumentation and process control fundamentals
Instrumentation and  process control fundamentalsInstrumentation and  process control fundamentals
Instrumentation and process control fundamentalshossam hassanein
 

Viewers also liked (20)

Pebble wearables devcon
Pebble wearables devconPebble wearables devcon
Pebble wearables devcon
 
Life sutra
Life sutraLife sutra
Life sutra
 
Testo mesurement solutions for automobile industry applications
Testo mesurement solutions for automobile industry applicationsTesto mesurement solutions for automobile industry applications
Testo mesurement solutions for automobile industry applications
 
Design That Matters: Pelican Pulse Oximeter User Experience Study
Design That Matters: Pelican Pulse Oximeter User Experience StudyDesign That Matters: Pelican Pulse Oximeter User Experience Study
Design That Matters: Pelican Pulse Oximeter User Experience Study
 
Testo Energy Kit
Testo Energy KitTesto Energy Kit
Testo Energy Kit
 
Pulseoximetry fianl
Pulseoximetry fianlPulseoximetry fianl
Pulseoximetry fianl
 
Connecting The Dots: Building Your Brand Across Channels
Connecting The Dots: Building Your Brand Across ChannelsConnecting The Dots: Building Your Brand Across Channels
Connecting The Dots: Building Your Brand Across Channels
 
DMT Medical Sensors presentation
DMT Medical Sensors presentationDMT Medical Sensors presentation
DMT Medical Sensors presentation
 
Looking after your flue gas analyser
Looking after your flue gas analyser Looking after your flue gas analyser
Looking after your flue gas analyser
 
Crunchbase Signals Predicting Above Average Acquisition Price of Startups
Crunchbase Signals Predicting Above Average Acquisition Price of StartupsCrunchbase Signals Predicting Above Average Acquisition Price of Startups
Crunchbase Signals Predicting Above Average Acquisition Price of Startups
 
Design That Matters: Infant Pulse Oximeter ( MIT + RISD Collaboration )
Design That Matters: Infant Pulse Oximeter ( MIT + RISD Collaboration )Design That Matters: Infant Pulse Oximeter ( MIT + RISD Collaboration )
Design That Matters: Infant Pulse Oximeter ( MIT + RISD Collaboration )
 
Practical Analytical Instrumentation in On-line Applications
Practical Analytical Instrumentation in On-line ApplicationsPractical Analytical Instrumentation in On-line Applications
Practical Analytical Instrumentation in On-line Applications
 
Project Pelican Pulse Oximeter Presentations
Project Pelican Pulse Oximeter PresentationsProject Pelican Pulse Oximeter Presentations
Project Pelican Pulse Oximeter Presentations
 
Flue gas analisys in industry-Practical guide for Emission and Process Measur...
Flue gas analisys in industry-Practical guide for Emission and Process Measur...Flue gas analisys in industry-Practical guide for Emission and Process Measur...
Flue gas analisys in industry-Practical guide for Emission and Process Measur...
 
Pressure Measurement Part I
Pressure Measurement   Part IPressure Measurement   Part I
Pressure Measurement Part I
 
Pressure Measurement Part II
Pressure Measurement   Part IIPressure Measurement   Part II
Pressure Measurement Part II
 
Pressure Measurement Part III
Pressure Measurement   Part IIIPressure Measurement   Part III
Pressure Measurement Part III
 
Introduction of process control
Introduction of process controlIntroduction of process control
Introduction of process control
 
Oxygen Analyzer
Oxygen AnalyzerOxygen Analyzer
Oxygen Analyzer
 
Instrumentation and process control fundamentals
Instrumentation and  process control fundamentalsInstrumentation and  process control fundamentals
Instrumentation and process control fundamentals
 

Similar to Developing Pebble Smartwatch Apps

Web development concepts using microsoft technologies
Web development concepts using microsoft technologiesWeb development concepts using microsoft technologies
Web development concepts using microsoft technologiesHosam Kamel
 
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1Rodolfo Finochietti
 
Websites, Web Services and Cloud Applications with Visual Studio
Websites, Web Services and Cloud Applications with Visual StudioWebsites, Web Services and Cloud Applications with Visual Studio
Websites, Web Services and Cloud Applications with Visual StudioMicrosoft Visual Studio
 
What's new in Visual Studio for Mac for .NET Developers
What's new in Visual Studio for Mac for .NET DevelopersWhat's new in Visual Studio for Mac for .NET Developers
What's new in Visual Studio for Mac for .NET DevelopersJon Galloway
 
Web Platform Installer Announcement
Web Platform Installer AnnouncementWeb Platform Installer Announcement
Web Platform Installer AnnouncementLauren Cooney
 
Web Platform Installer
Web Platform InstallerWeb Platform Installer
Web Platform Installerkomalhahi
 
GWT training session 1
GWT training session 1GWT training session 1
GWT training session 1SNEHAL MASNE
 
Visual Studio 2017 Launch Event
Visual Studio 2017 Launch EventVisual Studio 2017 Launch Event
Visual Studio 2017 Launch EventJames Montemagno
 
Oracle JET and WebSocket
Oracle JET and WebSocketOracle JET and WebSocket
Oracle JET and WebSocketandrejusb
 
HP Helion European Webinar Series ,Webinar #3
HP Helion European Webinar Series ,Webinar #3 HP Helion European Webinar Series ,Webinar #3
HP Helion European Webinar Series ,Webinar #3 BeMyApp
 
Inventory management project based on ASP.NET, introduction to C# and ASP.NET
Inventory management project based on ASP.NET, introduction to C# and ASP.NETInventory management project based on ASP.NET, introduction to C# and ASP.NET
Inventory management project based on ASP.NET, introduction to C# and ASP.NETHimanshu Patel
 
Cross platform mobile app development tools review
Cross platform mobile app development tools reviewCross platform mobile app development tools review
Cross platform mobile app development tools reviewUday Kothari
 
Building Mobile Web Apps using ASP.NET MVC, HTML5, & jQuery Mobile
Building Mobile Web Apps using ASP.NET MVC, HTML5, & jQuery MobileBuilding Mobile Web Apps using ASP.NET MVC, HTML5, & jQuery Mobile
Building Mobile Web Apps using ASP.NET MVC, HTML5, & jQuery MobileJon Cortez
 
Xamarin devdays 2017 - PT - connected apps
Xamarin devdays 2017 - PT - connected appsXamarin devdays 2017 - PT - connected apps
Xamarin devdays 2017 - PT - connected appsAlexandre Marreiros
 
Global Azure Bootcamp 2017 at Betabit Utrecht
Global Azure Bootcamp 2017 at Betabit UtrechtGlobal Azure Bootcamp 2017 at Betabit Utrecht
Global Azure Bootcamp 2017 at Betabit UtrechtDaniël te Winkel
 

Similar to Developing Pebble Smartwatch Apps (20)

Web development concepts using microsoft technologies
Web development concepts using microsoft technologiesWeb development concepts using microsoft technologies
Web development concepts using microsoft technologies
 
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
 
Websites, Web Services and Cloud Applications with Visual Studio
Websites, Web Services and Cloud Applications with Visual StudioWebsites, Web Services and Cloud Applications with Visual Studio
Websites, Web Services and Cloud Applications with Visual Studio
 
VonageOnlyExperience
VonageOnlyExperienceVonageOnlyExperience
VonageOnlyExperience
 
What's new in Visual Studio for Mac for .NET Developers
What's new in Visual Studio for Mac for .NET DevelopersWhat's new in Visual Studio for Mac for .NET Developers
What's new in Visual Studio for Mac for .NET Developers
 
Electron
ElectronElectron
Electron
 
Azure web apps
Azure web appsAzure web apps
Azure web apps
 
Web Platform Installer Announcement
Web Platform Installer AnnouncementWeb Platform Installer Announcement
Web Platform Installer Announcement
 
Web Platform Installer
Web Platform InstallerWeb Platform Installer
Web Platform Installer
 
GWT training session 1
GWT training session 1GWT training session 1
GWT training session 1
 
dot net
dot netdot net
dot net
 
Asp.net Web Development.pdf
Asp.net Web Development.pdfAsp.net Web Development.pdf
Asp.net Web Development.pdf
 
Visual Studio 2017 Launch Event
Visual Studio 2017 Launch EventVisual Studio 2017 Launch Event
Visual Studio 2017 Launch Event
 
Oracle JET and WebSocket
Oracle JET and WebSocketOracle JET and WebSocket
Oracle JET and WebSocket
 
HP Helion European Webinar Series ,Webinar #3
HP Helion European Webinar Series ,Webinar #3 HP Helion European Webinar Series ,Webinar #3
HP Helion European Webinar Series ,Webinar #3
 
Inventory management project based on ASP.NET, introduction to C# and ASP.NET
Inventory management project based on ASP.NET, introduction to C# and ASP.NETInventory management project based on ASP.NET, introduction to C# and ASP.NET
Inventory management project based on ASP.NET, introduction to C# and ASP.NET
 
Cross platform mobile app development tools review
Cross platform mobile app development tools reviewCross platform mobile app development tools review
Cross platform mobile app development tools review
 
Building Mobile Web Apps using ASP.NET MVC, HTML5, & jQuery Mobile
Building Mobile Web Apps using ASP.NET MVC, HTML5, & jQuery MobileBuilding Mobile Web Apps using ASP.NET MVC, HTML5, & jQuery Mobile
Building Mobile Web Apps using ASP.NET MVC, HTML5, & jQuery Mobile
 
Xamarin devdays 2017 - PT - connected apps
Xamarin devdays 2017 - PT - connected appsXamarin devdays 2017 - PT - connected apps
Xamarin devdays 2017 - PT - connected apps
 
Global Azure Bootcamp 2017 at Betabit Utrecht
Global Azure Bootcamp 2017 at Betabit UtrechtGlobal Azure Bootcamp 2017 at Betabit Utrecht
Global Azure Bootcamp 2017 at Betabit Utrecht
 

Recently uploaded

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 

Recently uploaded (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 

Developing Pebble Smartwatch Apps

  • 1. Data on your wrist DEVELOPING PEBBLE SMARTWATCH APPS Michael Earls Advanced Systems Design http://cerkit.com me@cerkit.com
  • 3. What is WebAPI?  ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices.  ASP.NET Web API is an ideal platform for building RESTful applications on the .NET Framework.  REST – REpresentational State Transfer – HTTP GET, POST, PUT, DELETE
  • 4. WebAPI – IDE and Hosting  Visual Studio 2013-2015  Community Edition (Free)  Professional Edition (Paid)  Visual Studio Code  Mac, Linux, and Windows  Hosting  Any host that supports ASP.NET 4.5.x  Windows Azure is easy to set up
  • 5. Creating a WebAPI Project Standard Web Project Add WebAPI Add MVC if you wish to build a web front-end to your API
  • 7. Getting started with Pebble app development DEVELOPMENT ENVIRONMENT, LANGUAGE SUPPORT, AND SAMPLE CODE
  • 8. Development Environment – Pebble not required  Pebble C SDK  Apple OSX – Xcode or other IDE  Linux – editor/IDE of choice  No Windows Support  Cryptic compiler error/warning messages  Standalone Emulator  Allows you to link outside libraries  App configuration in .json file  CloudPebble (http://cloudpebble.net)  Online IDE  Chrome browser on any platform  C, Pebble.js languages  Good, easy to understand compiler errors/warnings  Browser-based emulator  No outside libraries supported  Easy app configuration
  • 9. Language Support  JavaScript (Pebble.js)  Runs on phone  Requires active Bluetooth connection to Pebble App on phone  Supports:  WebSockets  XMLHttpRequest  Geolocation  LocalStorage  C  Runs on watch  Does not require connection to phone unless JavaScript is also used
  • 10. CloudPebble Demo Developing an app in CloudPebble
  • 11. App Settings Page HTML/JavaScript Page Hosted on the Internet Opens in WebViewer from within Pebble smartphone app
  • 12. Settings Page Bootstrap JavaScript to determine test or production modes Code to set configuration settings on the watch
  • 14. JavaScript integration with C  Phone functionality (GPS, Internet, Weather, etc.) requires JavaScript  Must pass values between C code and JavaScript code using a dictionary  Steps to pass data:  Setup callbacks in C code  app_message_open() – C code that starts the process of requesting a message  Pebble.sendAppMessage() – Pebble.js code that actually sends the message  Uses a JavaScript object representing a simple dictionary containing the values you wish to send  inbox_received_callback() – C code that processes call as a dictionary of Tuples containing the data that was passed in
  • 15. How do I make money with Pebble? Pebble apps are all free on the Pebble app store Companion apps on Google Play or Apple app store
  • 16. Links  CloudPebble – http://www.cloudpebble.net  Discogs REST API – http://www.discogs.com/developers/  Settings Page Gist - https://gist.github.com/cerkit/c5e42de6016067d1d585  Getting started with WebAPI - http://goo.gl/FGk6gW  My personal blog – http://cerkit.com  @cerkit on Twitter