You are previewing Wearable Android: Android Wear and Google FIT App Development.
O'Reilly logo
Wearable Android: Android Wear and Google FIT App Development

Book Description

Software Development/Mobile/Android/Wearable/Fitness

Build "Wearable" Applications on the Android Wear and Google Fit Platforms

This book covers wearable computing and wearable application development particularly for Android Wear (smartwatches) and Google Fit (fitness sensors). It provides relevant history, background and core concepts of wearable computing and ubiquitous computing, as a foundation for designing/developing applications for the Android Wear and Google Fit platforms. This book is intended for Android wearable enthusiasts, technologists and software developers.

  • Gain insight into "wearables" in the modern consumer ecosystem of a multitude of devices, ubiquitous computing, cloud computing and intelligent personal assistants

  • Learn the Android Wear and Google Fit APIs and jump-start hands-on development including: setting up an Android development environment suitable for Android Wear and Google Fit, setting up smartwatch and fitness devices for development and debugging, writing applications that install and execute on Android Wear (smartwatch) devices, and applications that run on your handheld Android devices and find and connect to fitness sensors and access fitness data, and more

  • Catch up with the new Android 5.0 "Lollipop", Android Studio and the gradle based build system

  • Learn how to write applications for smart watches and fitness sensors on the Android/Google ecosystem.

    "Sanjay's tome provides a comprehensive and timely treatment of the essential points of current Wearable technology and Android Wearable development techniques. The easygoing and comprehensive examples make this book a joy to discover and a delight to peruse. Highly recommended!"

    - Rudi Cilibrasi, Computer Scientist

    "The text provides a rich and immersive overview of the field of Wearable computing that is solidified by the impressive set of examples. I was simultaneously entertained as well as educated, and would highly recommend this book to anyone that is looking to get started with Wearables."

    - Nathan Blair, Software Engineer & Entrepreneur

    Sanjay M. Mishra began programming in C on various flavors of Unix in the early 1990s. Over the years he has developed diverse software systems spanning web applications and services, messaging, VoIP, NoSQL databases, as well as mobile and embedded platforms. He has worked for companies such as Intertrust, Eyecon Technologies, CallSource, nVoc (formerly Sandcherry, Inc.) and the Starz Entertainment group.

    Table of Contents

    1. Cover
    2. Title Page
    3. About the Author
    4. About This Book
    5. Acknowledgments
    6. Part I: Wearable Computing: Introduction and Background
      1. Chapter 1: Wearables: Introduction
        1. 1.1 Wearable Computing
        2. 1.2 Wearable Computers and Technology
        3. 1.3 “Wearables”
        4. 1.4 The word: “Wearables”
        5. 1.5 Wearables and Smartphones
        6. 1.6 Wearable Light, Glanceable Interactions
        7. 1.7 Smartphone Dependency, Inconveniences
        8. 1.8 Wearable Interaction
        9. 1.9 User’s Real-world Context
        10. 1.10 Variety of Wearable Devices
        11. 1.11 Android Wear and Google Fit
        12. References and Further Reading
      2. Chapter 2: Wearable Computing Background and Theory
        1. 2.1 Wearable Computing History
        2. 2.2 Internet of Things (IoT) and Wearables
        3. 2.3 Wearables’ Mass Market Enablers
        4. 2.4 Human–Computer Interface and Human–Computer Relationship
        5. 2.5 A Multi-Device World
        6. 2.6 Ubiquitous Computing
        7. 2.7 Collective, Synergistic Computing Value
        8. 2.8 Bright and Cloudy: Cloud-based Intelligent Personal Agent
        9. 2.9 Leveraging Computer Vision
        10. 2.10 IoT and Wearables: Unnatural and over the top?
        11. 2.11 Security and Privacy Issues
        12. 2.12 Miscellaneous
        13. References and Further Reading
    7. Part II: Foundation Android
      1. Chapter 3: Android Fundamentals / Hello Lollipop
        1. 3.1 Android: Introduction
        2. 3.2 Linux: “*nix” or Unix-like OS
        3. 3.3 Linux: yesterday and today
        4. 3.4 Unix System Architecture
        5. 3.5 Java
        6. 3.6 Apache Harmony
        7. 3.7 Android OS and platform
        8. 3.8 Setting up your Android Development Environment
        9. 3.9 Android “Classic” project tree and build system
        10. 3.10 Android “New” Build System
        11. 3.11 Managing Java Installations
        12. 3.12 Managing Android SDK installation and updates
        13. 3.13 Code Samples: Android Lollipop
        14. References and Further Reading
      2. Chapter 4: Android SDK
        1. 4.1 Software Components, in general
        2. 4.2 Android Application Development Model
        3. 4.3 Android SDK API
        4. 4.4 Android’s Four Fundamental Components
        5. 4.5 Activity
        6. 4.6 Service
        7. 4.7 BroadcastReceiver
        8. 4.8 ContentProvider
        9. 4.9 Intent
        10. 4.10 <i xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ibooks="http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0">android</i> package, sub-packages package, sub-packages
        11. 4.11 <i xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ibooks="http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0">dalvik</i> package, sub-packages package, sub-packages
        12. 4.12 <i xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ibooks="http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0">java</i> and and <i xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ibooks="http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0">javax</i> package, sub-packages package, sub-packages
        13. 4.13 <i xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ibooks="http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0">org</i> package, sub-packages package, sub-packages
        14. 4.14 Sample code in this book
        15. References and Further Reading
      3. Chapter 5: Android Device Discovery and Communication
        1. 5.1 Android Interconnectivity
        2. 5.2 Advertisement and Discovery
        3. 5.3 Bluetooth
        4. 5.4 Wi-Fi Peer-to-Peer (Wi-Fi Direct)
        5. 5.5 Zero Configuration Networking (zeroconf)
        6. 5.6 Near Field Communication (NFC)
        7. 5.7 Universal Serial Bus (USB)
        8. References and Further Reading
    8. Part III: Android Wear Platform and SDK
      1. Chapter 6: Android Wear Platform
        1. 6.1 Android Wear
        2. 6.2 Android Wear Platform: Android Wear OS, Wear Devices, and Wear API
        3. 6.3 Android Notifications and Android Wear
        4. 6.4 Notification Settings and Control
        5. 6.5 App Notification Strategy
        6. 6.6 Google Now and Android Wear
        7. 6.7 Android Wear Devices: Getting Started
        8. 6.8 Wear Debugging and Android SDK
        9. 6.9 Peeking under the hood of your Wear Device
        10. 6.10 Engaging your Android Wear device via Notifications
        11. 6.11 Android Wear Targeted Apps
        12. 6.12 Hello Wear World: Writing our first Wear App
        13. References and Further Reading
      2. Chapter 7: Android Wear API
        1. 7.1 Google Services and Google Play Services
        2. 7.2 Android Wear Network
        3. 7.3 Android Wear API, in depth
        4. 7.4 DataItem, DataMapItem, and DataMap
        5. 7.5 PutDataRequest and PutDataMapRequest
        6. 7.6 Asset and DataItemAsset
        7. 7.7 MessageApi
        8. 7.8 Wearable UI Library
        9. 7.9 Wear Interaction Design
        10. 7.10 Accessing Sensors
        11. 7.11 Production Wear Apps
        12. References and Further Reading
    9. Part IV: Google Fit Platform and SDK
      1. Chapter 8: Google Fit Platform
        1. 8.1 Google Fit Platform Overview
        2. 8.2 Google Fit Core Concepts
        3. 8.3 Fit Data Types
        4. 8.4 Fit Data Store (Storage)
        5. 8.5 Sensors
        6. 8.6 Permissions, User Consent
        7. 8.7 Google Fit: Developer Responsibilities
        8. 8.8 Procuring Sensor Peripherals
        9. 8.9 Hello Fit: hands-on example
        10. 8.10 Google’s Fit App
        11. 8.11 Google Settings App
        12. References and Further Reading
      2. Chapter 9: Google Fit API
        1. 9.1 Google Fit API
        2. 9.2 Google fit main package (<i xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ibooks="http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0">com.google.android.gms.fitness</i>))
        3. 9.3 data sub-package
        4. 9.4 request sub-package
        5. 9.5 result sub-package
        6. 9.6 service sub-package
        7. References and Further Reading
    10. Part V: Real-World Applications
      1. Chapter 10: Real-World Applications
        1. 10.1 Real-World Applications
        2. 10.2 Handheld Application Extension
        3. 10.3 Home Automation
        4. 10.4 Wearables at the Workplace
        5. 10.5 Fitness, Health, and Medical
        6. 10.6 Industrial Manufacturing
        7. 10.7 Civic, Government, and Democracy
        8. References and Further Reading
    11. Index
    12. End User License Agreement