售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜