Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Android Wearable Programming

You're reading from   Android Wearable Programming Expand on your Android development capabilities by building applications for Android Wear

Arrow left icon
Product type Paperback
Published in Jul 2015
Publisher
ISBN-13 9781785280153
Length 224 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Steven F. Daniel Steven F. Daniel
Author Profile Icon Steven F. Daniel
Steven F. Daniel
Arrow right icon
View More author details
Toc

Table of Contents (8) Chapters Close

Preface 1. Understanding Android Wearables and Building Your First Android Wear App 2. Creating Notifications FREE CHAPTER 3. Creating, Debugging, and Packaging Wearable Apps 4. Sending and Syncing Data 5. Working with Google Glass 6. Designing and Customizing Interfaces for Android TV Index

Creating a basic notification for wearables

In this section, we will take a look at how to create a basic notification that will be displayed on our wearable device. So let's get started!

Firstly, create a new project in Android Studio by following these simple steps:

  1. Launch Android Studio, and then navigate to the File | New Project menu option.
  2. Next, enter WearNotifications for the Application name field.
  3. Then, provide the name for the Company Domain field.
  4. Next, choose Project location where you would like to save your application code:
    Creating a basic notification for wearables
  5. Finally, click on the Next button to proceed to the next step.

Specifying the form factors

Next, we will need to specify the form factors that our application will use, as will be using a single module instead of the app and wear modules as discussed previously in Chapter 1, Understanding Android Wearables and Building Your First Android Wear App.

On the following screen we will need to choose the minimum SDK version for our phone/tablet and perform the following...

You have been reading a chapter from
Android Wearable Programming
Published in: Jul 2015
Publisher:
ISBN-13: 9781785280153
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image