Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
$9.99 | ALL EBOOKS & VIDEOS
Save more on purchases! Buy 2 and save 10%, Buy 3 and save 15%, Buy 5 and save 20%
Mastering Android Wear Application Development
Mastering Android Wear Application Development

Mastering Android Wear Application Development: Master the Android Wear SDK and APIs to build cutting edge wearable apps

By Siddique Hameed , Javeed Chida
$43.99 $29.99
Book Dec 2016 224 pages 1st Edition
eBook
$35.99 $9.99
Print
$43.99 $29.99
Subscription
$15.99 Monthly
eBook
$35.99 $9.99
Print
$43.99 $29.99
Subscription
$15.99 Monthly

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Black & white paperback book shipped to your address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now
Table of content icon View table of contents Preview book icon Preview Book

Mastering Android Wear Application Development

Chapter 1.  Introduction to Wearable Computing

 

"The more you know about the past, the better prepared you are for the future."

 
 --Theodore Roosevelt

In this chapter, we will discuss the evolution of wearable computing and understand how it fits with other computing paradigms, such as desktop, mobile, and ubiquitous computing.

Evolution


Wearable computing, although widely believed to be the latest technological innovation, had existed even during the days of the abacus, a calculating tool that was used centuries ago by merchants and traders. According to a historical source on Chinese culture, it is believed that an abacus inlaid in a ring was used as a calculator during the Qing dynasty (http://www.chinaculture.org/classics/2010-04/20/content_383263_4.htm):

A relatively recent modern form of wearable computing devices is the Casio Databank. It's a series of electronic wristwatches manufactured by Casio during the early 1980s that were bundled with features such as a calculator, timer, world clock, contact management, and also a remote control for TV and VCR.

It was very popular and was considered a technological marvel of that time. It was very convenient compared to the manual or simple digital watches that were available during that time. It was not only used for checking the time and setting up alarms but also helped with utility functions such as calculating something fast on the fly or for recalling stored contact information:

Innovators and inventors have always been fascinated with bringing technology and lifestyle as close together as possible. Whether it's the Burton Amp jacket, which is believed to the first known modern wearable device for controlling iPods, or the latest wearable device called Whistle that is used by pet owners for tracking their pet's location and activity, wearable devices are becoming commonplaces.

Moore's law


Gordon Moore, co-founder of Intel, predicted 50 years ago that the number of transistors fitted into smaller integrated circuits would be doubled approximately every two years. That was the baseline for the explosive growth of computing powers. The size of the electronic components slowly became smaller and the processing power of the devices got stronger as time went by.

The mainframe computers, used in the early 1960s and 1970s to run enterprises and large corporations, occupied the size of a living room. They subsequently shrunk to mid-range servers and desktop computers. Integrated circuit chips and microprocessors used in computers got more and more powerful, the size of the storage devices got much smaller, and the size of the storage capacity got increased.

Desktop computers slowly transformed to become more portable in the form of laptops and notebook computers. Laptop computers are equipped with a rechargeable battery that can let users work on their computers for their personal or business needs whenever and wherever they wanted.

The Personal Digital Assistant (PDA) is used as the mobile computing device for managing contacts and performing some basic business-related tasks.

Then came the era of smartphones. When Steve Jobs introduced the iPhone in 2007, there were some smartphones already available on the market. However, the introduction of iPhones by Apple and the subsequent launch of the Android platform by Google led the way to strong and healthy competition in the smartphone industry.

What we are seeing now in the wearable devices trend is history repeating itself. But this time, Google took an early lead in launching the Android Wear platform in 2014, whereas Apple announced its first wearable watch in April 2015.

Major companies such as Samsung, LG, Pebble, and Jawbone have all jumped onto this bandwagon with varieties of wearable device available on the market already.

Ubiquitous computing


Ubiquitous computing is a computing paradigm where the human interaction with a computer happens anywhere and everywhere and through any device around them. Let's say, for example, that you are working on an important business proposal using your office desktop computer and you are almost done with your proposal document, but it's time to leave the office and pick up your kid from school and take her to swimming practice. You left work, picked up your kid, and took her to the swimming school. While she is doing her swimming practice, you continue to work on the business proposal from where you left off using your smartphone and send the document to the client just before she is done with the swimming practice.

While you are driving home, you get a response e-mail from the client. The computer integrated into the car you are driving is equipped with an app or system like Siri or Alexa that reads the e-mail message you received from the client out loud. And when you reach home, you respond to the client's business proposal using your smartwatch and even set up a date and place for the next meeting.

This example might sound a little exaggerated, but the important point to make here is that it's not the technology taking over human lives, it's the humans doing what they want to do whenever and wherever, seamlessly, and using simple interactions. The devices around them would help them do what they want to do without knowing or feeling that they do. That is the foundation philosophy of ubiquitous computing. It just lets you do things wherever you need to without asking or needing to know if that can be done there.

Human interaction with a computing device can be pervasive and it can happen without even knowing that it happens.

Technologies such as cloud computing and wireless communication protocols and standards such as Bluetooth, Bluetooth Low Energy (BLE), Near Field Communications (NFC), Radio Frequency Identifications (RFID), and ZigBee make such interactions with devices possible by forming the infrastructure needed for all these devices to communicate with each other and build the contexts needed.

Application developers, designers, and service providers should design their apps and services so that the users may interact with them anywhere and using any devices around them. Every device has its own form factor and is built for certain needs. Understanding the user context and the need for interaction with the device is very important when building apps that will provide great user experience. For instance, it may not be practical to have a keyboard-like UI component in a watch app due to its size and form factor, whereas it may be feasible to use voice input using a text-to-speech feature provided within wearable platforms.

Mobile meets wearables


Smartphones have become an integral part of our day-to-day life over the last decade or so. They have become a natural extension of ourselves and have made us carry them everywhere in our pockets, handbags, or purses to help us fulfill our day-to-day tasks. They are used to perform mundane to more important tasks. The tasks that were performed using personal computers or laptops have slowly been done through pocket-sized smartphones or tablets.

The reason smartphones have reached a high level of adoption and popularity is due to their portability. They are light relative to personal laptops, easy to carry around, and users can use them pretty much anywhere they are needed.

Although mobile phones and tablets can satisfy most computing needs on the go, they're not very convenient in many situations. Mobile phones are not easy when you are already busy with one hand and want to work with the phone in the other hand. To do subtle tasks such as checking the current time or have a quick look at incoming text notifications, you still need to remove the phone from the pocket or remove it from the purse. Wearable devices can help us get things done faster with simpler and quicker interactions.

Wearable computing is the next big frontier in computing innovation. It has all kinds of possibilities and advantages. Although the smartphones are considered very personal devices, they are not quite as intimate as wearable devices such as smartwatches or fitness activity trackers. Wearable devices or body-borne devices have the advantage of being on the body all the time and measuring important metrics such as heart rate, walk steps, and body temperature.

They have a huge potential in the healthcare market, where they can monitor our health condition every minute and guide users through the steps needed to have a healthy lifestyle.

Wearable devices can also be used for biometric authentication. There are some startups, such as Nymi (https://nymi.com/using_the_nymi_band), who use individual heart and pulse rates as an identification factor for authentications.

How about we stop carrying the RFID-based access cards for entering buildings and use a wearable watch for authentication? It may even stop us needing to remember all kinds of passwords for various online websites; instead, we could use biometric data such as heart rate and iris recognition and build an authentication profile for logging into those systems.

Hello Android Wear


Android Wear is Google's port of the Android operating system designed for wearable devices such as smartwatches. At the time of writing, there are over a dozen manufacturers, such as LG, Motorola, Huawei, Asus, Fossil, and TAG Heuer, who make Android Wear watches:

The primary difference between the Android Wear platform and its competitor Apple's watchOS platform is the support of devices and screen sizes.

Unlike Apple Watch, which is currently available only in 42 mm and 38 mm rectangular screen sizes, Android Wear comes in the round, square, and rectangular screen shapes. They also come in various different screen sizes other than the standard 42 mm and 38 mm sizes.

Another key thing to note is that Android Wear devices can be paired using Android Wear apps for both Android and iOS platforms.

In this book, we'll be covering the topics involved in Android Wear application development and helping you master the platform for writing rich and powerful Android Wear applications.

Summary


In this chapter, we discussed the wearable computing paradigm and contrasted it with the mobile and desktop computing platforms.

In the next chapter, we'll be diving into topics related to setting up the environment for Android Wear application development using Android Studio IDE. So, buckle up and get ready for the fun and exciting ride ahead.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Mastering Android Wear Development is a complete guide to wearable technology for experienced Android developers
  • Notifications, voice input, coping with round screens – all the key challenges of wearable technology are covered
  • This book describes not just how to write code for wearables, but also how to think about wearable technology and design apps that work well with the physical limitations of wearable devices

Description

Wearable technology is the future of mobile devices. It looks set to be a breakthrough technology, just like the iPad was before it. With the Apple Watch being widely regarded as a success, all eyes are now on Google to provide a similar device for its users. Keep your skills ahead of the competition and be one of the first to fully understand this powerful new trend. This book will give you a very solid understanding of the philosophy, thought process, development details, and methodologies involved in building well-designed, robust Android Wear applications. We cover the advantages and disadvantages of the wearable computing paradigm and provide a good foundational knowledge for you to build practical, real-world wearable apps. You will learn about the various tools, platforms, libraries, SDKs, and technology needed to build Android Wear apps. By the end of the book, you will be an expert in building Android wearable apps.

What you will learn

[*] Understand the Wearable computing technology [*] Set up a development environment to build Android Wear apps using Android Studio [*] Master the Android Wear SDK and APIs [*] Understand the UI patterns and UX principles to build Android Wear apps [*] Work with the different form factors of wearable devices (round and square) [*] Take advantage of the sensors available on Android Wear devices [*] Develop Android Wear sample apps [*] Communicate between Android mobile and Android Wear apps [*] Get to know the steps involved in publishing Android Wear apps to the Play store
Estimated delivery fee Deliver to Turkey

Standard delivery 10 - 13 business days

$12.95

Premium delivery 3 - 6 business days

$34.95
(Includes tracking information)

Product Details

Country selected

Publication date : Dec 8, 2016
Length 224 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781785881725
Vendor :
Google
Category :
Concepts :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Black & white paperback book shipped to your address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now
Estimated delivery fee Deliver to Turkey

Standard delivery 10 - 13 business days

$12.95

Premium delivery 3 - 6 business days

$34.95
(Includes tracking information)

Product Details


Publication date : Dec 8, 2016
Length 224 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781785881725
Vendor :
Google
Category :
Concepts :

Table of Contents

18 Chapters
Mastering Android Wear Application Development Chevron down icon Chevron up icon
Credits Chevron down icon Chevron up icon
About the Authors Chevron down icon Chevron up icon
About the Reviewer Chevron down icon Chevron up icon
www.PacktPub.com Chevron down icon Chevron up icon
Preface Chevron down icon Chevron up icon
1. Introduction to Wearable Computing Chevron down icon Chevron up icon
2. Setting up the Development Environment Chevron down icon Chevron up icon
3. Developing Android Wear Applications Chevron down icon Chevron up icon
4. Developing Watch UI Chevron down icon Chevron up icon
5. Synchronizing Data Chevron down icon Chevron up icon
6. Contextual Notifications Chevron down icon Chevron up icon
7. Voice Interactions, Sensors, and Tracking Chevron down icon Chevron up icon
8. Creating Custom UI Chevron down icon Chevron up icon
9. Material Design Chevron down icon Chevron up icon
10. Watch Faces Chevron down icon Chevron up icon
11. Advanced Features and Concepts Chevron down icon Chevron up icon
12. Publishing Apps to Google Play Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Empty star icon Empty star icon Empty star icon Empty star icon Empty star icon 0
(0 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Top Reviews
No reviews found
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela