Cover image for Professional Android Wearables.
Professional Android Wearables.
Title:
Professional Android Wearables.
Author:
Ruiz, David Cuartielles.
ISBN:
9781118986875
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (277 pages)
Contents:
Professional Android™ Wearables -- CONTENTS -- INTRODUCTION -- PART I: CONCEPTS -- CHAPTER 1: INTRODUCTION TO ANDROID WEARABLES -- The Wearable Revolution -- Dismantling the Computer: The Cyborg Dream -- Software Everywhere -- Fashion is More than Ski Jackets -- Fitness -- Time -- Glasses -- Summary -- Recommended Reading -- CHAPTER 2: THE INTERNET OF THINGS -- How Wearables Relate to IoT -- The Promise of Connectivity -- Cisco's Vision -- Big Data -- Connected Devices in the Home -- Connected Devices on the Go -- Wireless Sensor Networks -- A Scenario of Use of WSN -- Bluetooth Versus ZigBee -- Smart Cities -- Summary -- Recommended Reading -- CHAPTER 3: PLATFORMS AND TECHNOLOGY -- Android Wear -- Installing the Wear SDK -- Working with the Android Wear Emulator -- Working with a Real Wear-Enabled Device -- Kick-starting Your Wear Development -- Distributing Wear Apps on Google Play -- Summary -- PART II: BASIC BUILDING BLOCKS -- CHAPTER 4: NOTIFICATIONS ON SMALL SCREENS -- About Notifications -- Pre-Wear Notification API -- Wear Notifications -- Building Notifications -- The Simple Notification -- Adding a Large Icon -- Big Text Notification -- Big Picture Notification -- Updating a Notification -- Adding Pages to Your Notifications -- Adding Actions to Your Notifications -- Adding a Standard Action -- Adding Multiple Actions -- Adding Wear-Only Actions -- Adding an Action without the Extra Page -- Extra Options -- Hiding the Application Icon -- Moving the Notification -- Setting the Scroll to the Bottom -- Removing a Notification -- Stacking Notifications -- Summary -- Recommended Reading -- CHAPTER 5: DEVELOPING WEAR APPS -- The Wear SDK -- Design Considerations -- Wearable UI Library -- Creating the Wear Project -- Editing the Gradle Files -- Loading Layouts -- Using WatchViewStub -- Using InsetActivity -- Building the User Interface.

Adding Text to Your User Interface -- CardFrame -- CardScrollView -- CardFragment -- Displaying Images -- Loading a Static Image -- Adding a Progress Update -- Handling Lists in Wear -- Using WearableListView -- The 2D Picker -- Providing Positive Feedback -- Starting the Success Feedback -- Starting the Open-on-Phone Animation -- Starting the Failure Feedback -- Summary -- Recommended Reading -- CHAPTER 6: VOICE INPUT -- Talking to Your Wrist -- Types of Voice Interaction -- Using System-Provided Voice Commands -- Just Launch an App -- Hack an Existing Intent to Launch Your App -- Launch Your App with Voice the "Right" Way -- The Wear APIs -- Data API -- Message API -- Node API -- Answering to Notifications: Capturing Your Voice into an App -- Creating a Simple App Sending a Notification -- Creating Your Empty Project -- Modifying the Gradle File -- Modifying the App's Layout -- Adding the Right Callback Function -- Getting Your App to Receive a Voice Command -- Revising the Callback Function -- Adding a Broadcast Receiver -- Modifying the App's Layout to Include a Text Field -- Adding the New Class to the Manifest File -- Adding the Reply String to the Strings File -- How It Works -- Showing the Answer on the App's Screen -- Summary -- Recommended Reading -- CHAPTER 7: PUSHING DATA -- Checking the Example -- Phone's MyActivityPhone.java -- Phone's AndroidManifest.xml -- Wearable's MyActivityWear.java -- Wearable's AndroidManifest.xml -- Wearable's Listener -- Making Your Google API Client from Scratch -- Start with a Clean Project -- The Phone's MyActivityPhone.java -- The Phone's AndroidManifest.xml -- The Phone's DataLayerListenerService -- MyActivityWear.java -- Wear's Android Manifest File -- The Listener on the Wearable's Side -- The Final Result -- Summary -- Recommended Reading -- CHAPTER 8: LOCATION-BASED SERVICES ON ANDROID WEAR.

Changing How Location Works -- Accessing the Current Location -- Enabling GPS support -- Using the New APIs -- Determining GPS Availability -- Requesting the Last Known Location -- Requesting Location Updates -- Being Picky About Location Updates -- Showing Your Street Address -- Testing Geocoder Availability -- Getting the Current Address for a Location -- Summary -- Recommended Reading -- PART III: PROJECTS -- CHAPTER 9: ANDROID WEAR AS ACTIVITY TRACKER -- What Are Activity Trackers? -- Wear as an Activity Tracker -- Step Detector -- Step Counter -- Building the WalkKeeper App -- Calculating Calories -- Creating the Project -- Selecting Gender -- Selecting Weight -- Selecting Height -- The WalkKeeper Activity -- Building the User Interface -- Connecting the User Interface -- Getting the Stored Settings -- Reading the Sensor Data -- Calculating and Updating the User Interface -- Keeping the Activity Open -- Improvements -- Summary -- CHAPTER 10: SMARTWATCH AS INPUT -- Android Wear as a Game Controller -- A Note on Sensors -- Detecting Gestures -- Building the Dice Game -- Creating the Project -- Designing a User Interface -- Android Wear GUI -- Mobile GUI -- Accessing Sensors -- Generating the Die Value -- Connecting to Mobile -- The Mobile Connection -- The Wear Connection -- Keeping the Screen On -- The Dice Game -- Improvements -- Summary -- Recommended Reading -- CHAPTER 11: BUILD YOUR OWN GLASS -- Augmented Reality and Virtual Reality -- Augmented Reality -- Google Glass -- Virtual Reality -- VR on a Phone -- Building Your Own Glasses -- Lenses -- The Simplest Box Possible -- The Simplest App -- The cardboard.jar Library -- Looking at the Code -- The Glasses' MyActivityPhone.java -- The Glasses' AndroidManifest.xml -- A Couple More Classes -- Getting Your Cardboard to Talk to Your Smartwatch -- Start from the Previous Project.

The Phone's MyActivityPhone.java -- The Phone's AndroidManifest.xml -- The Phone's DataLayerListenerService -- MyActivityWear.java -- The Wear Android Manifest File -- The Final Result -- Summary -- INDEX -- ADVERT -- EULA.
Abstract:
The fast and easy way to get up and running on Android wearables Written by an expert author team with years of hands-on experience in designing and building wearables, Professional Android Wearables covers how to use the Android Wear platform and other techniques to build real-world apps for a variety of wearables including smartbands, smartwatches, and smart glasses. In no time, you'll grasp how wearables can connect us to the Internet in more pervasive ways than with PCs, tablets, or mobile devices; how to build code using Google's Wear SDK for Android-enabled hardware devices; how Android Wear and other Android development techniques are capable of building several presented example projects; and much more. Wearables are the next generation of smart mobile devices, it's no wonder you will want to master Android Wear SDK to build smart wearable apps for a multitude of form factors and applications. Shows you how to navigate Android Wear SDK Clearly explains how to use the Android Wear platform to build real-world apps The companion website includes source code for all of the projects described in the book If you're an experienced Android developer looking to master Android Wear SDK to build wearable apps, you've come to the right place.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: