Professional Android Wearables
close menu
Bookswagon
search
My Account
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology Books > Computer programming / software engineering > Professional Android Wearables
Professional Android Wearables

Professional Android Wearables


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

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.

Table of Contents:
INTRODUCTION xix PART I: CONCEPTS CHAPTER 1: INTRODUCTION TO ANDROID WEARABLES 3 The Wearable Revolution 3 Dismantling the Computer: The Cyborg Dream 4 Software Everywhere 5 Fashion is More than Ski Jackets 6 Fitness 6 Time 7 Glasses 8 Summary 9 Recommended Reading 10 CHAPTER 2: THE INTERNET OF THINGS 11 How Wearables Relate to IoT 11 The Promise of Connectivity 12 Cisco’s Vision 13 Big Data 13 Connected Devices in the Home 14 Connected Devices on the Go 15 Wireless Sensor Networks 16 A Scenario of Use of WSN 16 Bluetooth Versus ZigBee 17 Smart Cities 17 Summary 18 Recommended Reading 18 CHAPTER 3: PLATFORMS AND TECHNOLOGY 19 Android Wear 19 Installing the Wear SDK 20 Working with the Android Wear Emulator 20 Working with a Real Wear?]Enabled Device 22 Kick?]starting Your Wear Development 24 Distributing Wear Apps on Google Play 25 Summary 26 PART II: BASIC BUILDING BLOCKS CHAPTER 4: NOTIFICATIONS ON SMALL SCREENS 29 About Notifications 29 Pre?]Wear Notification API 30 Wear Notifications 30 Building Notifications 32 The Simple Notification 33 Adding a Large Icon 34 Big Text Notification 35 Big Picture Notification 36 Updating a Notification 38 Adding Pages to Your Notifications 38 Adding Actions to Your Notifications 39 Adding a Standard Action 39 Adding Multiple Actions 41 Adding Wear?]Only Actions 41 Adding an Action without the Extra Page 42 Extra Options 43 Hiding the Application Icon 43 Moving the Notification 44 Setting the Scroll to the Bottom 44 Removing a Notification 45 Stacking Notifications 45 Summary 48 Recommended Reading 48 CHAPTER 5: DEVELOPING WEAR APPS 49 The Wear SDK 49 Design Considerations 49 Wearable UI Library 50 Creating the Wear Project 51 Editing the Gradle Files 55 Loading Layouts 56 Using WatchViewStub 56 Using InsetActivity 58 Building the User Interface 61 Adding Text to Your User Interface 61 CardFrame 61 CardScrollView 62 CardFragment 63 Displaying Images 66 Loading a Static Image 67 Adding a Progress Update 68 Handling Lists in Wear 69 Using WearableListView 69 The 2D Picker 72 Providing Positive Feedback 74 Starting the Success Feedback 75 Starting the Open?]on?]Phone Animation 76 Starting the Failure Feedback 76 Summary 77 Recommended Reading 77 CHAPTER 6: VOICE INPUT 79 Talking to Your Wrist 79 Types of Voice Interaction 80 Using System?]Provided Voice Commands 82 Just Launch an App 84 Hack an Existing Intent to Launch Your App 85 Launch Your App with Voice the “Right” Way 85 The Wear APIs 85 Data API 86 Message API 86 Node API 86 Answering to Notifications: Capturing Your Voice into an App 86 Creating a Simple App Sending a Notification 87 Creating Your Empty Project 87 Modifying the Gradle File 90 Modifying the App’s Layout 91 Adding the Right Callback Function 93 Getting Your App to Receive a Voice Command 95 Revising the Callback Function 95 Adding a Broadcast Receiver 97 Modifying the App’s Layout to Include a Text Field 98 Adding the New Class to the Manifest File 99 Adding the Reply String to the Strings File 100 How It Works 100 Showing the Answer on the App’s Screen 101 Summary 103 Recommended Reading 104 CHAPTER 7: PUSHING DATA 105 Checking the Example 106 Phone’s MyActivityPhone.java 107 Phone’s AndroidManifest.xml 111 Wearable’s MyActivityWear.java 112 Wearable’s AndroidManifest.xml 114 Wearable’s Listener 115 Making Your Google API Client from Scratch 116 Start with a Clean Project 117 The Phone’s MyActivityPhone.java 117 The Phone’s AndroidManifest.xml 119 The Phone’s DataLayerListenerService 120 MyActivityWear.java 121 Wear’s Android Manifest File 124 The Listener on the Wearable’s Side 124 The Final Result 125 Summary 126 Recommended Reading 126 CHAPTER 8: LOCATION-BASED SERVICES ON ANDROID WEAR 127 Changing How Location Works 127 Accessing the Current Location 128 Enabling GPS support 128 Using the New APIs 128 Determining GPS Availability 131 Requesting the Last Known Location 131 Requesting Location Updates 132 Being Picky About Location Updates 134 Showing Your Street Address 135 Testing Geocoder Availability 135 Getting the Current Address for a Location 135 Summary 137 Recommended Reading 137 PART III: PROJECTS CHAPTER 9: ANDROID WEAR AS ACTIVITY TRACKER 141 What Are Activity Trackers? 141 Wear as an Activity Tracker 142 Step Detector 142 Step Counter 143 Building the WalkKeeper App 143 Calculating Calories 143 Creating the Project 145 Selecting Gender 145 Selecting Weight 150 Selecting Height 152 The WalkKeeper Activity 154 Building the User Interface 154 Connecting the User Interface 155 Getting the Stored Settings 157 Reading the Sensor Data 158 Calculating and Updating the User Interface 160 Keeping the Activity Open 162 Improvements 165 Summary 165 CHAPTER 10: SMARTWATCH AS INPUT 167 Android Wear as a Game Controller 167 A Note on Sensors 168 Detecting Gestures 169 Building the Dice Game 169 Creating the Project 169 Designing a User Interface 169 Android Wear GUI 170 Mobile GUI 171 Accessing Sensors 173 Generating the Die Value 175 Connecting to Mobile 176 The Mobile Connection 176 The Wear Connection 178 Keeping the Screen On 182 The Dice Game 182 Improvements 182 Summary 183 Recommended Reading 183 CHAPTER 11: BUILD YOUR OWN GLASS 185 Augmented Reality and Virtual Reality 186 Augmented Reality 186 Google Glass 187 Virtual Reality 188 VR on a Phone 189 Building Your Own Glasses 190 Lenses 190 The Simplest Box Possible 191 The Simplest App 193 The cardboard.jar Library 193 Looking at the Code 194 The Glasses’ MyActivityPhone.java 194 The Glasses’ AndroidManifest.xml 196 A Couple More Classes 197 Getting Your Cardboard to Talk to Your Smartwatch 200 Start from the Previous Project 200 The Phone’s MyActivityPhone.java 200 The Phone’s AndroidManifest.xml 202 The Phone’s DataLayerListenerService 203 MyActivityWear.java 204 The Wear Android Manifest File 207 The Final Result 207 Summary 207 INDEX 209

About the Author :
David Cuartielles Ruiz is cofounder of the Arduino platform and creator of the Prototyping Laboratory at Malmö University in Sweden, where he also teaches. He has written libraries that enable Arduino to communicate with Android phones over Bluetooth. Andreas Göransson has been researching and developing wearable projects for over 5 years. His work has included research on connecting to and controlling full-body haptic and audio-augmented suits from Android phones. David Cuartielles Ruiz is cofounder of the Arduino platform and creator of the Prototyping Laboratory at Malmö University in Sweden, where he also teaches. He has written libraries that enable Arduino to communicate with Android phones over Bluetooth. Andreas Göransson has been researching and developing wearable projects for over 5 years. His work has included research on connecting to and controlling full-body haptic and audio-augmented suits from Android phones.


Best Sellers


Product Details
  • ISBN-13: 9781118986875
  • Publisher: John Wiley & Sons Inc
  • Publisher Imprint: Wrox Press
  • Language: English
  • ISBN-10: 1118986873
  • Publisher Date: 29 Jan 2015
  • Binding: Digital (delivered electronically)
  • No of Pages: 240


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Professional Android Wearables
John Wiley & Sons Inc -
Professional Android Wearables
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Professional Android Wearables

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!