Book description
Learn how to design and build Android Wear apps for Android wearable devices, such as Google Android smartwatches, using the new WatchFaces API. Pro Android Wearables takes you through all the cool smartwatch features, such as health-monitoring, altimeters, and compasses. It's time to take your Android 5 Wear application development skills and experience to the next level and get exposure to a whole new world of hardware.
As smartwatches continue to grab major IoT headlines, there is a growing interest in building Android apps that run on these wearables, which are now being offered by dozens of major manufacturers. This means more revenue earning opportunity for today's indie app developers. Additionally, this book provides new media design concepts which relate to using media assets, as well as how to optimize Wear applications for low-power, single-core, dual-core or quad-core CPUs, and how to use the IntelliJ Android Studio IDE, and the Android device emulators for popular new wearable devices.
Table of contents
- Cover
- Title
- Copyright
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Techincal reviewer
- Acknowledgments
- Introduction
- Chapter 1: Introduction to Android Wearables: Concepts, Types, and Material Design
-
Chapter 2: Setting Up an Android 5 Wearables Application Development Workstation
- Work Process for Creating an Android Workstation
- Java 7: Installing the Foundation for Android Studio
- Android Studio 1.0: Download the Android 5 IDEA
- Professional Digital Imaging Software: GIMP 2.8.14
- Professional Digital Video Editing: Lightworks 12
- Professional 3D Modeling and Animation: Blender
- Professional Digital Audio Editing: Audacity 2.0.6
- Professional Business Software Suite: OpenOffice 4
- Other Open Source and Affordable Media Software
- Summary
-
Chapter 3: A Foundation for Android Wearables: New Wearable Features in Android 5
- Android’s Project Volta: Power Management Tools
- Android’s Network Connection: NFC and Bluetooth
-
Android 5 Media: Adding Wow-Factor to Wearables
- Digital Video Playback: MediaController and MediaSession
- Digital Audio Playback: Enhanced AudioTrack Precision
- Real-Time 3D Rendering: OpenGL ES and Extension Pack
- WebKit Media: WebView, WebAudio, WebGL, and WebRTC
- Android MediaBrowser Class: Browsing Third-Party Media
- Android Camera 2 API: UHD Image Processing Support
- Android 5 Notifications: LockScreen and MetaData
- More Android 5 Operating System Enhancements
- Summary
- Chapter 4: Exploring Android Studio: Getting Familiar with the IntelliJ IDEA
- Chapter 5: Android Virtual Devices: Setting Up Wearables Application Emulators
- Chapter 6: Introduction to Android Watch Faces Design: Considerations and Concepts
- Chapter 7: Program Watch Faces for Wear: Creating the Watch Face Code Foundation
- Chapter 8: A Watch Faces Timing Engine: Using TimeZone, Time, and BroadcastReceiver
- Chapter 9: Implement a WatchFaces Engine: Core WatchFaces API Methods
- Chapter 10: WatchFaces Vector Design: Using Vector Graphics for WatchFaces
-
Chapter 11: WatchFaces Bitmap Design: Using Raster Graphics for WatchFaces
- Testing a WatchFaces Design: Using the Round AVD
- Testing a WatchFace Design: Using a Square AVD
- Android WindowInsets Class: Polling Screen Shape
- Detecting WatchFace Shape: Using WindowInsets
- Android Bitmap Class: Using Digital Image Assets
- Android Resources Class: Using Your Res Folder
- Accessing Imagery: Using Bitmap and Resources
- Android Drawable Class: Creating Drawable Objects
- Loading the Drawable: Using the roundFlag Boolean
- Android’s BitmapDrawable Class: Image Drawables
- Using BitmapDrawable Object: Extract and Scale
- Testing Background Bitmaps: Round vs. Square
- Summary
- Chapter 12: WatchFaces Digital Imaging: Developing Multiple Mode Assets
-
Chapter 13: Watch Face Configuration Companion Activity: Google Mobile Services
- Creating a ProWatchFaceCompanionConfigActivity
-
Google Play Services: The GoogleApiClient Class
- Android’s GoogleApiClient: Using Google Mobile Services
- Creating the Play Client: Coding Your .onCreate( ) method
- The WatchFaceCompanion Class: Configuration Constants
- The ComponentName Class: Specify a Component
- Setting Watch Face Identity: ComponentName and PeerId
- The GoogleApiClient.Builder: Building a Google API Client
- Building the GoogleApiClient: Using the Wearable API
- Starting and Stopping a Play Client: onStart( ) and onStop( )
-
Connect a Client: Creating the onConnected Method
- Android Uri Class: Uniform Resource Identifier Objects
- Android Uri.Builder Class: Building an Android URI Object
- Building a Uri for a Client: Finishing the onConnected( )
- Android’s GMS DataApi Interface: Configuring a Data API
- Using the DataApi Class: Configuring the Wearable.API
- The Android PendingResult Class: Receiving the Result
- Creating a Not Connected Dialog: Using AlertDialog
- Coding an onResult Method: DataItem and DataMap
- Creating a Listener Service: .onMessageReceived( )
- Summary
- Chapter 14: Watch Face Configuration Companion Activity Utility and Wearable API
-
Chapter 15: Wearables Application Testing: Using Hardware Devices in Android Studio
- Interfacing a Device with a Computer: USB Drivers
- Installing Wear API: Linking Smartwatch with Phone
- Using ADB: Linking a Smartphone with the AVD
- Bluetooth Debugging: Linking to your Smartwatch
- Java Singleton: ProWatchFaceUtility( ) Constructor
- Testing and Debugging: Creating Your .APK Files
- Summary
-
Chapter 16: Wear API Deprecation: Updating Apps to Use New Classes or Methods
- Dealing with the Unexpected Update: Android 5.2
- Dealing with Deprecation: .getDrawable( ) and Time
-
Upgrading Your Code: Calendar and .getDrawable( )
- Upgrading the Time Class Code: Using the Calendar Class
- Upgrading timeZoneReceiver: The .setTimeZone( ) Method
- Upgrading the onDraw( ) Method: Using .setTimeInMillis( )
- Loading Your Time Variables: Using the .get( ) Method
- Upgrade the onVisibilityChanged( ) Method: .setTimeZone( )
- Upgrading the Code: Using the .getDrawable(int, Theme)
- Solving IDE Problems Introduced by SDK Upgrades
- Summary
- Chapter 17: The Future of Android IoT APIs: Android TV, Glass, Auto, and Wear
- Index
Product information
- Title: Pro Android Wearables: Building Apps for Smartwatches
- Author(s):
- Release date: July 2016
- Publisher(s): Apress
- ISBN: 9781430265511
You might also like
book
Beginning Android Wearables
Although wearable devices have existed since the 70s, they have only recently become mainstream. Google Glass …
book
Pro Android 4
Pro Android 4shows you how to build real-world and fun mobile apps using the new Android …
book
SmartWatch Design Fundamentals: WatchFace Design for Samsung Galaxy SmartWatches
Gain concepts central to smartwatch design, editing and animation correction using the popular open source Galaxy …
book
Practical Android: 14 Complete Projects on Advanced Techniques and Approaches
Choose the best approach for your app and implement your solution quickly by leveraging complete projects. …