Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Android Sensor Programming By Example

You're reading from  Android Sensor Programming By Example

Product type Book
Published in Apr 2016
Publisher Packt
ISBN-13 9781785285509
Pages 194 pages
Edition 1st Edition
Languages
Author (1):
Varun Nagpal Varun Nagpal
Profile icon Varun Nagpal

Table of Contents (13) Chapters

Android Sensor Programming By Example
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Sensor Fundamentals 2. Playing with Sensors 3. The Environmental Sensors – The Weather Utility App 4. The Light and Proximity Sensors 5. The Motion, Position, and Fingerprint Sensors 6. The Step Counter and Detector Sensors – The Pedometer App 7. The Google Fit Platform and APIs – The Fitness Tracker App

Fitness tracker application requirements and architecture


The following list shows the high-level requirements of the fitness tracker application:

  1. When the application starts for the first time, it should get the following authorizations from the user:
    1. To read their live fitness data with all the read scopes, using the Sensor API.
    2. To record their fitness data with all the read scopes, using Recording API.
    3. To read their fitness history data with all the read scopes, using History API.
  2. The application should list all the available data sources for live data capture using the Sensors API.
  3. The application should capture live data from available data sources. It should also allow adding and removing listeners using the Sensors API.
  4. The application should list all the active subscriptions with their data types using the Recording API.
  5. The application should allow adding and removing of subscriptions for a particular data type using the Recording API.
  6. The application should show the history of available...
lock icon The rest of the chapter is locked
arrow left Previous Chapter
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 ₹800/month. Cancel anytime}