Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
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
$15.99 per month
Book Dec 2016 224 pages 1st Edition
eBook
$35.99 $24.99
Print
$43.99
Subscription
$15.99 Monthly
eBook
$35.99 $24.99
Print
$43.99
Subscription
$15.99 Monthly

What do you get with a Packt Subscription?

Free for first 7 days. $15.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details


Publication date : Dec 8, 2016
Length 224 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781785881725
Vendor :
Google
Category :
Concepts :
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

What do you get with a Packt Subscription?

Free for first 7 days. $15.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

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
Introduction to Wearable Computing Chevron down icon Chevron up icon
Setting up the Development Environment Chevron down icon Chevron up icon
Developing Android Wear Applications Chevron down icon Chevron up icon
Developing Watch UI Chevron down icon Chevron up icon
Synchronizing Data Chevron down icon Chevron up icon
Contextual Notifications Chevron down icon Chevron up icon
Voice Interactions, Sensors, and Tracking Chevron down icon Chevron up icon
Creating Custom UI Chevron down icon Chevron up icon
Material Design Chevron down icon Chevron up icon
Watch Faces Chevron down icon Chevron up icon
Advanced Features and Concepts Chevron down icon Chevron up icon
Publishing Apps to Google Play Chevron down icon Chevron up icon

Customer reviews

Filter icon Filter
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%

Filter reviews by


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 included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.