Android Wear Projects
图书信息
| 作者 | Ashok Kumar S |
| 出版社 | Packt Publishing |
| ISBN | 9781787127319 |
| 出版时间 | 2017-07-31 |
| 字数 | 41.0万 |
| 分类 | 进口书,外文原版书,电脑,网络 |
读书简介
A fun way to create interesting and cool apps for your Wearable device using Android programming. About This Book ? Create real-time Android Wear apps from scratch and become a pro Android Wear Developer ? Learn to create apps specially dedicated to the Android Wear platform ? Design custom Wear UIs and create interactive Watch faces Who This Book Is For The book is for Android developers with a good understanding of programming and developing applications on Android, but they need not have any experience of creating Wear apps. What You Will Learn ? Design and build Wear apps. ? Learn how to use offline storage in Wear apps. ? Understand sensors and how to work with them ? Work with standalone applications of the wear 2.0 API. ? Create a map application for Android Wear devices ? Write a watch face and understand more about Wear 2.0 ? Work with firebase realtime database and firebase functions ? Create a chatting application that has wear companion app In Detail Android Wear Projects is your opportunity to step into the exciting new world of Android Wear app development. This book will help you to master the skills in Android Wear programming and give you a complete insight on wear app development. You will create five different Android Wear apps just like the most popular Android Wear apps. You will create a To-do list, a city maps app, a Wear messenger, Wear fitness tracker and Watch face. While you create these apps you will learn to create custom notifications, receive voice inputs in notifications, add pages to notifications and stack notifications. You will see how to create custom wear app layouts, the custom UIs specially designed for Wear. You will learn to handle and manage data and syncing data with other devices, create interactive Watch faces and also ensure the safety and security of your Wear apps by testing and securing your apps before you deploy them on the app store. Style and approach This book will take a project based tutorial style approach where every chapter will create a separate android Wear app and highlight different features of android Wear apps.
目录
Title Page
Copyright
Android Wear Projects
Credits
About the Author
About the Reviewers
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
Getting You Ready to Fly - Setting Up Your Development Environment
Android Wear design principles
Defining layouts
Creating lists
Exploring UI components for Wear devices
Showing confirmations
DelayedConfirmationView
Wear navigation and actions
Navigation drawer
Action drawer
Multifunction buttons
Setting up a development environment for Wear development
Installing Android Studio
Creating your first Android Wear application
Creating your first Wear project
Creating a Wear emulator
Working with actual Wear device
Debugging over Wi-Fi
Enable Bluetooth debugging
Summary
Let us Help Capture What is on Your Mind - WearRecyclerView and More
Android Wear design principles
Defining layouts
Creating lists
Exploring UI components for Wear devices
Showing confirmations
DelayedConfirmationView
Wear navigation and actions
Navigation drawer
Action drawer
Multifunction buttons
Setting up a development environment for Wear development
Installing Android Studio
Creating your first Android Wear application
Creating your first Wear project
Creating a Wear emulator
Working with actual Wear device
Debugging over Wi-Fi
Enable Bluetooth debugging
Summary
Let us Help Capture What is on Your Mind - Saving Data and Customizing the UI
Wear-note-2
Advantages of Realm
Disadvantages of Realm
Re-structuring the code and dependencies
Working on the Wear User Interface
Let's get started working on the Wear-note-2 user interface
Better fonts for better reading
Writing custom layouts for better UX
Summary
Measure Your Wellness - Sensors
Conceptualizing the application
Enlisting the available sensors in Wear
Accuracy of sensors
Battery consumption
Doze mode
Creating a project
Adding a drawer menu
Creating a navigation drawer adapter
Creating fragments
Summary
Measuring Your Wellness and Syncing Collected Sensor Data
Collecting Wear sensors' data
Completed WearStepService class
Switching back to the Wear module
Conceptualizing the application
Recyclerview Adapter
Completed HistoryActivity Class
Summary
Ways to Get Around Anywhere - WearMap and the GoogleAPIclient
Let's get started with creating WearMap
The Google API console
The Google API client
Configuring the project for functionalities
Getting users' location information with the help of GoogleApiClient
GeoSpatial data using GeoCoder
Infowindow adapter
Custom DialogFragment for taking notes about the location
Configuring SQLite and saving the markers
Schema and contract
Saving data in SQLite
Difference between a standalone map and mobile-synced map application
Identifying the app as standalone
Sharing data between a Wear app and phone app
Detecting your application from another device
Specifying capability names to detect your apps
Detecting and guiding the user to install a corresponding phone app
Keeping your application active on a Wear device
Configuring WAKE_LOCK for your application
Understanding fully interactive mode and lite mode
Summary
Ways to Get Around Anywhere - UI controls and More
Changing marker color and customizing
Dragging the marker and updating the location
InfoWindow click event
The UI controls
Types of Maps
Streetview in Wear application
Best practices
Summary
Let us Chat in a Smart Way - Messaging API and More
Installing Firebase
Conceptualizing the chatting application
Understanding Data Layer
Data Layer events
Capability API
Mobile app implementation
Wear App implementation
Summary
Let us Chat in a Smart Way - Notifications and More
Firebase functions
Messaging service class
Summary
Just a Face for Your Time - WatchFace and Services
The CanvasWatchFaceService class and registering your watch face
The CanvasWatchFaceService.Engine class
Writing your own watch face
Handling tap events and gestures
Supporting different form factors
Understanding watch face elements and initializing them
Common issues
Interactive watch faces
Summary
More About Wear 2.0
Standalone applications
Identifying an app as a standalone
Standalone apps storage
Detecting wear app on another device
Advertise capability
Retrieving the nodes with the required capability
Detecting and guiding the user to install a phone app
Getting just the important information
Cloud messaging
Complications API
Complication data provider
Adding complications to a watch face
Receiving data and rendering complications
Allowing users to choose data providers
User interactions with complications
Permissions for complication data
Opening the provider chooser
Understanding different navigation for wear
Implementation
Single-page navigation drawer
Notifications in wear 2.0
Inline action
Expanded notifications
Best practices for expanded notifications
Bridging mode for notifications
Wear 2.0 input method framework
Invoking input method for wear
Wrist gestures
Best practices for using gestures in apps
Authentication protocols
App distribution
Publish your first wear app
Summary
- 高考英语历年真题核心高频688词汇(合肥新东方高考英语教研中心)
- 2019年全国导游人员资格考试辅导教材-全国导游基础知识(圣才电子书)
- 新手学Dreamweaver CS6+Flash CS6+Photoshop CS6网页设计(实例版)(全彩)(含DVD光盘1张)(鼎翰文化)
- 502(暂无)
- Daughters of the Puritans: A Group of Brief Biographies(Seth Curtis Beach)
- 有趣的语文:一个语文教师的“另类”行走(凌宗伟)
- Guía espa?ol-rumana para una comunicación eficaz(Dana Oprică)
- 戒子的诗(戒子)
