Android sensor programming by example :: take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors /
Take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors About This Book Get a thorough understanding of the fundamentals and framework of Android sensors. Acquire knowledge of advance sensor programming, and learn how to connect and use sens...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Elektronisch E-Book |
Sprache: | English |
Veröffentlicht: |
Birmingham, UK :
Packt Publishing,
2016.
|
Schriftenreihe: | Community experience distilled.
|
Schlagworte: | |
Online-Zugang: | Volltext |
Zusammenfassung: | Take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors About This Book Get a thorough understanding of the fundamentals and framework of Android sensors. Acquire knowledge of advance sensor programming, and learn how to connect and use sensors in external devices such as the Android Watch, Polar heart rate monitors, Adidas speed cells, and so on. Learn from real-world sensor-based applications such as the Pedometer app to detect daily steps, the Driving app to detect driving events, and the Professional Fitness tracker app to track heart rate, weight, daily steps, calories burned, and so on. Who This Book Is For This book is targeted at Android developers who want to get a good understanding of sensors and write sensor-based applications, or who want to enhance their existing applications with additional sensor functionality. A basic knowledge of Android development is required What You Will Learn Learn about sensor fundamentals, different types of sensors, and the sensor co-ordinate system Understand the various classes, callbacks, and APIs of the Android Sensor framework Check all the available sensors on an Android device and know their individual capabilities--for example, their range of values, power consumption, and so on. Implement sensor fusion using two or more sensors together and learn to compensate for the weakness of one sensor by using the strength of another Build a variety of sensor based, real-world applications such as Weather, Pedometer, Compass, Driving Events Detection, Fitness Tracker, and so on. Get to know about wake up and non-wake up sensors, wake locks, and how to use sensor batch processing along with the sensor hardware FIFO queue Develop efficient battery and processor algorithms using raw sensor data to solve real-world problems Connect to a variety of remote sensors such as body weight measurement and body fat percentage measurement using the Google Fit platform from your Android app In Detail Android phones available in today's market have a wide variety of powerful and highly precise sensors. Interesting applications can be built with them such as a local weather app using weather sensors, analyzing risky driving behavior using motion sensors, a fitness tracker using step-counter sensors, and so on. Sensors in external devices such as Android Watch, Body Analyzer & Weight Machine, Running Speed Cell, and so on can also be connected and used from your A... |
Beschreibung: | 1 online resource : illustrations. |
ISBN: | 9781785284663 1785284665 |
Internformat
MARC
LEADER | 00000cam a2200000 i 4500 | ||
---|---|---|---|
001 | ZDB-4-EBA-ocn949908691 | ||
003 | OCoLC | ||
005 | 20241004212047.0 | ||
006 | m o d | ||
007 | cr unu|||||||| | ||
008 | 160518s2016 enka o 000 0 eng d | ||
040 | |a UMI |b eng |e rda |e pn |c UMI |d TEFOD |d DEBBG |d DEBSZ |d OCLCF |d CEF |d N$T |d AGLDB |d IGB |d UKMGB |d CZL |d OCLCO |d OCLCQ |d OCLCO |d OCLCL |d OCLCQ |d DXU | ||
015 | |a GBC1J1721 |2 bnb | ||
016 | 7 | |a 018010490 |2 Uk | |
020 | |a 9781785284663 |q (electronic bk.) | ||
020 | |a 1785284665 |q (electronic bk.) | ||
020 | |z 9781785285509 | ||
020 | |z 1785285505 | ||
035 | |a (OCoLC)949908691 | ||
037 | |a CL0500000742 |b Safari Books Online | ||
037 | |a C321E471-2EBE-419B-A625-489B96F3262C |b OverDrive, Inc. |n http://www.overdrive.com | ||
050 | 4 | |a QA76.76.A65 | |
072 | 7 | |a COM |x 046100 |2 bisacsh | |
082 | 7 | |a 005.445 |2 23 | |
049 | |a MAIN | ||
100 | 1 | |a Nagpal, Varun, |e author. | |
245 | 1 | 0 | |a Android sensor programming by example : |b take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors / |c Varun Nagpal. |
264 | 1 | |a Birmingham, UK : |b Packt Publishing, |c 2016. | |
300 | |a 1 online resource : |b illustrations. | ||
336 | |a text |b txt |2 rdacontent | ||
337 | |a computer |b c |2 rdamedia | ||
338 | |a online resource |b cr |2 rdacarrier | ||
490 | 1 | |a Community experience distilled | |
588 | |a Description based on online resource; title from cover (Safari, viewed May 17, 2016). | ||
520 | |a Take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors About This Book Get a thorough understanding of the fundamentals and framework of Android sensors. Acquire knowledge of advance sensor programming, and learn how to connect and use sensors in external devices such as the Android Watch, Polar heart rate monitors, Adidas speed cells, and so on. Learn from real-world sensor-based applications such as the Pedometer app to detect daily steps, the Driving app to detect driving events, and the Professional Fitness tracker app to track heart rate, weight, daily steps, calories burned, and so on. Who This Book Is For This book is targeted at Android developers who want to get a good understanding of sensors and write sensor-based applications, or who want to enhance their existing applications with additional sensor functionality. A basic knowledge of Android development is required What You Will Learn Learn about sensor fundamentals, different types of sensors, and the sensor co-ordinate system Understand the various classes, callbacks, and APIs of the Android Sensor framework Check all the available sensors on an Android device and know their individual capabilities--for example, their range of values, power consumption, and so on. Implement sensor fusion using two or more sensors together and learn to compensate for the weakness of one sensor by using the strength of another Build a variety of sensor based, real-world applications such as Weather, Pedometer, Compass, Driving Events Detection, Fitness Tracker, and so on. Get to know about wake up and non-wake up sensors, wake locks, and how to use sensor batch processing along with the sensor hardware FIFO queue Develop efficient battery and processor algorithms using raw sensor data to solve real-world problems Connect to a variety of remote sensors such as body weight measurement and body fat percentage measurement using the Google Fit platform from your Android app In Detail Android phones available in today's market have a wide variety of powerful and highly precise sensors. Interesting applications can be built with them such as a local weather app using weather sensors, analyzing risky driving behavior using motion sensors, a fitness tracker using step-counter sensors, and so on. Sensors in external devices such as Android Watch, Body Analyzer & Weight Machine, Running Speed Cell, and so on can also be connected and used from your A... | ||
505 | 0 | |a Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Sensor Fundamentals -- What are sensors? -- Types of sensors -- Types of sensor values -- Motion, position, and environmental sensors -- Motion sensors -- Position sensors -- Environmental sensors -- Sensors' coordinate system -- Android Sensor Stack -- Components of the sensor framework -- SensorManager -- SensorEventListener -- Sensor -- SensorEvent -- Sensor's sampling period, power, and battery consumption -- The reporting modes of sensors -- Dealing with specific sensor configuration -- Checking the availability of the sensor at runtime -- Declaring the sensor as mandatory feature -- Sensor availability based on the Android API level -- Best practice for accessing sensors -- Summary -- Chapter 2: Playing with Sensors -- Understanding the sensor framework callbacks -- Seeing the big picture -- Time for action -- using sensors in the foreground activity -- What just happened? -- Time for action -- listing the available sensors on a device -- What just happened? -- Time for action -- knowing individual sensors' capabilities -- What just happened? -- Time for action -- getting the sensor values and updating the user interface -- What just happened? -- Time for action -- processing the sensor values in the background service -- The phone handling algorithm -- What just happened? -- Summary -- Chapter 3: The Environmental Sensors -- The Weather Utility App -- The weather utility app's requirements -- Understanding environmental sensors -- Time for action -- using the temperature sensor -- What just happened? -- Getting air pressure from the phone's pressure sensor -- Time for action -- calculating the altitude using the pressure sensor -- What just happened? -- Getting relative humidity from the phone's humidity sensor. | |
505 | 8 | |a Time for action -- calculating the dew point and absolute humidity -- What just happened? -- Time for action -- comparing the temperature, humidity, and pressure values from web services to phone sensors -- Third-party web service - open weather map -- Using Google Play Services Location API and AsyncTask -- What just happened? -- Summary -- Chapter 4: The Light and Proximity Sensors -- Understanding the light and proximity sensors -- The automatic torch light and screen brightness app requirements -- Time for action - turning the torch light on and off using the proximity sensor -- What just happened? -- Time for action - adjusting the screen brightness using the light sensor -- What just happened? -- Wake locks, wakeup sensors, and the FIFO queue -- Wakeup and non-wakeup sensors -- The sensor's hardware FIFO queue -- Summary -- Chapter 5: The Motion, Position, and Fingerprint Sensors -- Understanding motion-based sensors -- The accelerometer sensor -- The gyroscope sensor -- The gravity sensor -- The linear acceleration sensor -- The significant motion sensor -- Understanding position-based sensors -- The magnetometer sensor -- The orientation sensor -- The fingerprint sensor -- Time for action -- shake detection using the accelerometer sensor -- Time for action - the compass using orientation sensor and orientation APIs -- Time for action -- using the fingerprint sensor -- What just happened? -- Summary -- Chapter 6: The Step Counter and Detector Sensors -- The Pedometer App -- The pedometer app's requirements -- Understanding the step counter and step detector sensors -- The step counter sensor -- The step detector sensor -- Time for action -- using the step counter sensor in activity -- Time for action -- maintaining step history with the step detector sensor -- What just happened?. | |
505 | 8 | |a Understanding the walking, jogging, and running signatures using the accelerometer sensor's data -- The walking signature using the accelerometer sensor -- The jogging or fast walking signature using the accelerometer sensor -- The running signature using the accelerometer sensor -- The type of step detection algorithm -- Making it battery- and CPU-efficient using sensor fusion -- Scope for improvement -- Time for action -- type of step (walking, jogging, and running) detection using the accelerometer sensor -- What just happened? -- Summary -- Chapter 7: The Google Fit Platform and APIs -- The Fitness Tracker App -- The Google Fit platform -- Google Fitness Store -- REST APIs -- Android Fitness APIs -- Sensors API -- Recording API -- History API -- Sessions API -- Bluetooth Low Energy API -- Config API -- Platform basics -- Data sources -- Data types -- Data point -- Data set -- Authorization and permission scopes -- Registration with the Google developer console -- Authorization from a user in the application -- Fitness scopes -- Installing and running time permissions -- Fitness tracker app using fitness APIs -- Fitness tracker application requirements and architecture -- Time for action -- working with live fitness data using the Sensors API -- What just happened? -- Time for action -- recording fitness data in background using Recording API -- What just happened? -- Time for action -- getting history fitness data using the History API -- What just happened? -- Asynchronous versus synchronous results callback -- Summary -- Index. | |
630 | 0 | 0 | |a Android (Electronic resource) |0 http://id.loc.gov/authorities/names/n2009043077 |
630 | 0 | 7 | |a Android (Electronic resource) |2 fast |
650 | 0 | |a Application software |x Development. |0 http://id.loc.gov/authorities/subjects/sh95009362 | |
650 | 0 | |a Application software |x Programming. | |
650 | 0 | |a Mobile apps. |0 http://id.loc.gov/authorities/subjects/sh2014000897 | |
650 | 6 | |a Logiciels d'application |x Développement. | |
650 | 6 | |a Logiciels d'application |x Programmation. | |
650 | 6 | |a Applications mobiles. | |
650 | 7 | |a COMPUTERS / Operating Systems / Android. |2 bisacsh | |
650 | 7 | |a Application software |x Development |2 fast | |
650 | 7 | |a Mobile apps |2 fast | |
758 | |i has work: |a Android Sensor Programming By Example (Text) |1 https://id.oclc.org/worldcat/entity/E39PCXBY4chb7Vy7qxbhjGbkJ8 |4 https://id.oclc.org/worldcat/ontology/hasWork | ||
830 | 0 | |a Community experience distilled. |0 http://id.loc.gov/authorities/names/no2011030603 | |
856 | 4 | 0 | |l FWS01 |p ZDB-4-EBA |q FWS_PDA_EBA |u https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1230630 |3 Volltext |
938 | |a EBSCOhost |b EBSC |n 1230630 | ||
994 | |a 92 |b GEBAY | ||
912 | |a ZDB-4-EBA | ||
049 | |a DE-863 |
Datensatz im Suchindex
DE-BY-FWS_katkey | ZDB-4-EBA-ocn949908691 |
---|---|
_version_ | 1816882349380468736 |
adam_text | |
any_adam_object | |
author | Nagpal, Varun |
author_facet | Nagpal, Varun |
author_role | aut |
author_sort | Nagpal, Varun |
author_variant | v n vn |
building | Verbundindex |
bvnumber | localFWS |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.76.A65 |
callnumber-search | QA76.76.A65 |
callnumber-sort | QA 276.76 A65 |
callnumber-subject | QA - Mathematics |
collection | ZDB-4-EBA |
contents | Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Sensor Fundamentals -- What are sensors? -- Types of sensors -- Types of sensor values -- Motion, position, and environmental sensors -- Motion sensors -- Position sensors -- Environmental sensors -- Sensors' coordinate system -- Android Sensor Stack -- Components of the sensor framework -- SensorManager -- SensorEventListener -- Sensor -- SensorEvent -- Sensor's sampling period, power, and battery consumption -- The reporting modes of sensors -- Dealing with specific sensor configuration -- Checking the availability of the sensor at runtime -- Declaring the sensor as mandatory feature -- Sensor availability based on the Android API level -- Best practice for accessing sensors -- Summary -- Chapter 2: Playing with Sensors -- Understanding the sensor framework callbacks -- Seeing the big picture -- Time for action -- using sensors in the foreground activity -- What just happened? -- Time for action -- listing the available sensors on a device -- What just happened? -- Time for action -- knowing individual sensors' capabilities -- What just happened? -- Time for action -- getting the sensor values and updating the user interface -- What just happened? -- Time for action -- processing the sensor values in the background service -- The phone handling algorithm -- What just happened? -- Summary -- Chapter 3: The Environmental Sensors -- The Weather Utility App -- The weather utility app's requirements -- Understanding environmental sensors -- Time for action -- using the temperature sensor -- What just happened? -- Getting air pressure from the phone's pressure sensor -- Time for action -- calculating the altitude using the pressure sensor -- What just happened? -- Getting relative humidity from the phone's humidity sensor. Time for action -- calculating the dew point and absolute humidity -- What just happened? -- Time for action -- comparing the temperature, humidity, and pressure values from web services to phone sensors -- Third-party web service - open weather map -- Using Google Play Services Location API and AsyncTask -- What just happened? -- Summary -- Chapter 4: The Light and Proximity Sensors -- Understanding the light and proximity sensors -- The automatic torch light and screen brightness app requirements -- Time for action - turning the torch light on and off using the proximity sensor -- What just happened? -- Time for action - adjusting the screen brightness using the light sensor -- What just happened? -- Wake locks, wakeup sensors, and the FIFO queue -- Wakeup and non-wakeup sensors -- The sensor's hardware FIFO queue -- Summary -- Chapter 5: The Motion, Position, and Fingerprint Sensors -- Understanding motion-based sensors -- The accelerometer sensor -- The gyroscope sensor -- The gravity sensor -- The linear acceleration sensor -- The significant motion sensor -- Understanding position-based sensors -- The magnetometer sensor -- The orientation sensor -- The fingerprint sensor -- Time for action -- shake detection using the accelerometer sensor -- Time for action - the compass using orientation sensor and orientation APIs -- Time for action -- using the fingerprint sensor -- What just happened? -- Summary -- Chapter 6: The Step Counter and Detector Sensors -- The Pedometer App -- The pedometer app's requirements -- Understanding the step counter and step detector sensors -- The step counter sensor -- The step detector sensor -- Time for action -- using the step counter sensor in activity -- Time for action -- maintaining step history with the step detector sensor -- What just happened?. Understanding the walking, jogging, and running signatures using the accelerometer sensor's data -- The walking signature using the accelerometer sensor -- The jogging or fast walking signature using the accelerometer sensor -- The running signature using the accelerometer sensor -- The type of step detection algorithm -- Making it battery- and CPU-efficient using sensor fusion -- Scope for improvement -- Time for action -- type of step (walking, jogging, and running) detection using the accelerometer sensor -- What just happened? -- Summary -- Chapter 7: The Google Fit Platform and APIs -- The Fitness Tracker App -- The Google Fit platform -- Google Fitness Store -- REST APIs -- Android Fitness APIs -- Sensors API -- Recording API -- History API -- Sessions API -- Bluetooth Low Energy API -- Config API -- Platform basics -- Data sources -- Data types -- Data point -- Data set -- Authorization and permission scopes -- Registration with the Google developer console -- Authorization from a user in the application -- Fitness scopes -- Installing and running time permissions -- Fitness tracker app using fitness APIs -- Fitness tracker application requirements and architecture -- Time for action -- working with live fitness data using the Sensors API -- What just happened? -- Time for action -- recording fitness data in background using Recording API -- What just happened? -- Time for action -- getting history fitness data using the History API -- What just happened? -- Asynchronous versus synchronous results callback -- Summary -- Index. |
ctrlnum | (OCoLC)949908691 |
dewey-full | 005.445 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.445 |
dewey-search | 005.445 |
dewey-sort | 15.445 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>10427cam a2200613 i 4500</leader><controlfield tag="001">ZDB-4-EBA-ocn949908691</controlfield><controlfield tag="003">OCoLC</controlfield><controlfield tag="005">20241004212047.0</controlfield><controlfield tag="006">m o d </controlfield><controlfield tag="007">cr unu||||||||</controlfield><controlfield tag="008">160518s2016 enka o 000 0 eng d</controlfield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">UMI</subfield><subfield code="b">eng</subfield><subfield code="e">rda</subfield><subfield code="e">pn</subfield><subfield code="c">UMI</subfield><subfield code="d">TEFOD</subfield><subfield code="d">DEBBG</subfield><subfield code="d">DEBSZ</subfield><subfield code="d">OCLCF</subfield><subfield code="d">CEF</subfield><subfield code="d">N$T</subfield><subfield code="d">AGLDB</subfield><subfield code="d">IGB</subfield><subfield code="d">UKMGB</subfield><subfield code="d">CZL</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCL</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">DXU</subfield></datafield><datafield tag="015" ind1=" " ind2=" "><subfield code="a">GBC1J1721</subfield><subfield code="2">bnb</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">018010490</subfield><subfield code="2">Uk</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781785284663</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1785284665</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="z">9781785285509</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="z">1785285505</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)949908691</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">CL0500000742</subfield><subfield code="b">Safari Books Online</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">C321E471-2EBE-419B-A625-489B96F3262C</subfield><subfield code="b">OverDrive, Inc.</subfield><subfield code="n">http://www.overdrive.com</subfield></datafield><datafield tag="050" ind1=" " ind2="4"><subfield code="a">QA76.76.A65</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">046100</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="082" ind1="7" ind2=" "><subfield code="a">005.445</subfield><subfield code="2">23</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">MAIN</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Nagpal, Varun,</subfield><subfield code="e">author.</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Android sensor programming by example :</subfield><subfield code="b">take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors /</subfield><subfield code="c">Varun Nagpal.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Birmingham, UK :</subfield><subfield code="b">Packt Publishing,</subfield><subfield code="c">2016.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 online resource :</subfield><subfield code="b">illustrations.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="a">text</subfield><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="a">computer</subfield><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="a">online resource</subfield><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="490" ind1="1" ind2=" "><subfield code="a">Community experience distilled</subfield></datafield><datafield tag="588" ind1=" " ind2=" "><subfield code="a">Description based on online resource; title from cover (Safari, viewed May 17, 2016).</subfield></datafield><datafield tag="520" ind1=" " ind2=" "><subfield code="a">Take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors About This Book Get a thorough understanding of the fundamentals and framework of Android sensors. Acquire knowledge of advance sensor programming, and learn how to connect and use sensors in external devices such as the Android Watch, Polar heart rate monitors, Adidas speed cells, and so on. Learn from real-world sensor-based applications such as the Pedometer app to detect daily steps, the Driving app to detect driving events, and the Professional Fitness tracker app to track heart rate, weight, daily steps, calories burned, and so on. Who This Book Is For This book is targeted at Android developers who want to get a good understanding of sensors and write sensor-based applications, or who want to enhance their existing applications with additional sensor functionality. A basic knowledge of Android development is required What You Will Learn Learn about sensor fundamentals, different types of sensors, and the sensor co-ordinate system Understand the various classes, callbacks, and APIs of the Android Sensor framework Check all the available sensors on an Android device and know their individual capabilities--for example, their range of values, power consumption, and so on. Implement sensor fusion using two or more sensors together and learn to compensate for the weakness of one sensor by using the strength of another Build a variety of sensor based, real-world applications such as Weather, Pedometer, Compass, Driving Events Detection, Fitness Tracker, and so on. Get to know about wake up and non-wake up sensors, wake locks, and how to use sensor batch processing along with the sensor hardware FIFO queue Develop efficient battery and processor algorithms using raw sensor data to solve real-world problems Connect to a variety of remote sensors such as body weight measurement and body fat percentage measurement using the Google Fit platform from your Android app In Detail Android phones available in today's market have a wide variety of powerful and highly precise sensors. Interesting applications can be built with them such as a local weather app using weather sensors, analyzing risky driving behavior using motion sensors, a fitness tracker using step-counter sensors, and so on. Sensors in external devices such as Android Watch, Body Analyzer & Weight Machine, Running Speed Cell, and so on can also be connected and used from your A...</subfield></datafield><datafield tag="505" ind1="0" ind2=" "><subfield code="a">Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Sensor Fundamentals -- What are sensors? -- Types of sensors -- Types of sensor values -- Motion, position, and environmental sensors -- Motion sensors -- Position sensors -- Environmental sensors -- Sensors' coordinate system -- Android Sensor Stack -- Components of the sensor framework -- SensorManager -- SensorEventListener -- Sensor -- SensorEvent -- Sensor's sampling period, power, and battery consumption -- The reporting modes of sensors -- Dealing with specific sensor configuration -- Checking the availability of the sensor at runtime -- Declaring the sensor as mandatory feature -- Sensor availability based on the Android API level -- Best practice for accessing sensors -- Summary -- Chapter 2: Playing with Sensors -- Understanding the sensor framework callbacks -- Seeing the big picture -- Time for action -- using sensors in the foreground activity -- What just happened? -- Time for action -- listing the available sensors on a device -- What just happened? -- Time for action -- knowing individual sensors' capabilities -- What just happened? -- Time for action -- getting the sensor values and updating the user interface -- What just happened? -- Time for action -- processing the sensor values in the background service -- The phone handling algorithm -- What just happened? -- Summary -- Chapter 3: The Environmental Sensors -- The Weather Utility App -- The weather utility app's requirements -- Understanding environmental sensors -- Time for action -- using the temperature sensor -- What just happened? -- Getting air pressure from the phone's pressure sensor -- Time for action -- calculating the altitude using the pressure sensor -- What just happened? -- Getting relative humidity from the phone's humidity sensor.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Time for action -- calculating the dew point and absolute humidity -- What just happened? -- Time for action -- comparing the temperature, humidity, and pressure values from web services to phone sensors -- Third-party web service - open weather map -- Using Google Play Services Location API and AsyncTask -- What just happened? -- Summary -- Chapter 4: The Light and Proximity Sensors -- Understanding the light and proximity sensors -- The automatic torch light and screen brightness app requirements -- Time for action - turning the torch light on and off using the proximity sensor -- What just happened? -- Time for action - adjusting the screen brightness using the light sensor -- What just happened? -- Wake locks, wakeup sensors, and the FIFO queue -- Wakeup and non-wakeup sensors -- The sensor's hardware FIFO queue -- Summary -- Chapter 5: The Motion, Position, and Fingerprint Sensors -- Understanding motion-based sensors -- The accelerometer sensor -- The gyroscope sensor -- The gravity sensor -- The linear acceleration sensor -- The significant motion sensor -- Understanding position-based sensors -- The magnetometer sensor -- The orientation sensor -- The fingerprint sensor -- Time for action -- shake detection using the accelerometer sensor -- Time for action - the compass using orientation sensor and orientation APIs -- Time for action -- using the fingerprint sensor -- What just happened? -- Summary -- Chapter 6: The Step Counter and Detector Sensors -- The Pedometer App -- The pedometer app's requirements -- Understanding the step counter and step detector sensors -- The step counter sensor -- The step detector sensor -- Time for action -- using the step counter sensor in activity -- Time for action -- maintaining step history with the step detector sensor -- What just happened?.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Understanding the walking, jogging, and running signatures using the accelerometer sensor's data -- The walking signature using the accelerometer sensor -- The jogging or fast walking signature using the accelerometer sensor -- The running signature using the accelerometer sensor -- The type of step detection algorithm -- Making it battery- and CPU-efficient using sensor fusion -- Scope for improvement -- Time for action -- type of step (walking, jogging, and running) detection using the accelerometer sensor -- What just happened? -- Summary -- Chapter 7: The Google Fit Platform and APIs -- The Fitness Tracker App -- The Google Fit platform -- Google Fitness Store -- REST APIs -- Android Fitness APIs -- Sensors API -- Recording API -- History API -- Sessions API -- Bluetooth Low Energy API -- Config API -- Platform basics -- Data sources -- Data types -- Data point -- Data set -- Authorization and permission scopes -- Registration with the Google developer console -- Authorization from a user in the application -- Fitness scopes -- Installing and running time permissions -- Fitness tracker app using fitness APIs -- Fitness tracker application requirements and architecture -- Time for action -- working with live fitness data using the Sensors API -- What just happened? -- Time for action -- recording fitness data in background using Recording API -- What just happened? -- Time for action -- getting history fitness data using the History API -- What just happened? -- Asynchronous versus synchronous results callback -- Summary -- Index.</subfield></datafield><datafield tag="630" ind1="0" ind2="0"><subfield code="a">Android (Electronic resource)</subfield><subfield code="0">http://id.loc.gov/authorities/names/n2009043077</subfield></datafield><datafield tag="630" ind1="0" ind2="7"><subfield code="a">Android (Electronic resource)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Application software</subfield><subfield code="x">Development.</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh95009362</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Application software</subfield><subfield code="x">Programming.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Mobile apps.</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh2014000897</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Logiciels d'application</subfield><subfield code="x">Développement.</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Logiciels d'application</subfield><subfield code="x">Programmation.</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Applications mobiles.</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">COMPUTERS / Operating Systems / Android.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Application software</subfield><subfield code="x">Development</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Mobile apps</subfield><subfield code="2">fast</subfield></datafield><datafield tag="758" ind1=" " ind2=" "><subfield code="i">has work:</subfield><subfield code="a">Android Sensor Programming By Example (Text)</subfield><subfield code="1">https://id.oclc.org/worldcat/entity/E39PCXBY4chb7Vy7qxbhjGbkJ8</subfield><subfield code="4">https://id.oclc.org/worldcat/ontology/hasWork</subfield></datafield><datafield tag="830" ind1=" " ind2="0"><subfield code="a">Community experience distilled.</subfield><subfield code="0">http://id.loc.gov/authorities/names/no2011030603</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="l">FWS01</subfield><subfield code="p">ZDB-4-EBA</subfield><subfield code="q">FWS_PDA_EBA</subfield><subfield code="u">https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1230630</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">EBSCOhost</subfield><subfield code="b">EBSC</subfield><subfield code="n">1230630</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">92</subfield><subfield code="b">GEBAY</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-4-EBA</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-863</subfield></datafield></record></collection> |
id | ZDB-4-EBA-ocn949908691 |
illustrated | Illustrated |
indexdate | 2024-11-27T13:27:12Z |
institution | BVB |
isbn | 9781785284663 1785284665 |
language | English |
oclc_num | 949908691 |
open_access_boolean | |
owner | MAIN DE-863 DE-BY-FWS |
owner_facet | MAIN DE-863 DE-BY-FWS |
physical | 1 online resource : illustrations. |
psigel | ZDB-4-EBA |
publishDate | 2016 |
publishDateSearch | 2016 |
publishDateSort | 2016 |
publisher | Packt Publishing, |
record_format | marc |
series | Community experience distilled. |
series2 | Community experience distilled |
spelling | Nagpal, Varun, author. Android sensor programming by example : take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors / Varun Nagpal. Birmingham, UK : Packt Publishing, 2016. 1 online resource : illustrations. text txt rdacontent computer c rdamedia online resource cr rdacarrier Community experience distilled Description based on online resource; title from cover (Safari, viewed May 17, 2016). Take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors About This Book Get a thorough understanding of the fundamentals and framework of Android sensors. Acquire knowledge of advance sensor programming, and learn how to connect and use sensors in external devices such as the Android Watch, Polar heart rate monitors, Adidas speed cells, and so on. Learn from real-world sensor-based applications such as the Pedometer app to detect daily steps, the Driving app to detect driving events, and the Professional Fitness tracker app to track heart rate, weight, daily steps, calories burned, and so on. Who This Book Is For This book is targeted at Android developers who want to get a good understanding of sensors and write sensor-based applications, or who want to enhance their existing applications with additional sensor functionality. A basic knowledge of Android development is required What You Will Learn Learn about sensor fundamentals, different types of sensors, and the sensor co-ordinate system Understand the various classes, callbacks, and APIs of the Android Sensor framework Check all the available sensors on an Android device and know their individual capabilities--for example, their range of values, power consumption, and so on. Implement sensor fusion using two or more sensors together and learn to compensate for the weakness of one sensor by using the strength of another Build a variety of sensor based, real-world applications such as Weather, Pedometer, Compass, Driving Events Detection, Fitness Tracker, and so on. Get to know about wake up and non-wake up sensors, wake locks, and how to use sensor batch processing along with the sensor hardware FIFO queue Develop efficient battery and processor algorithms using raw sensor data to solve real-world problems Connect to a variety of remote sensors such as body weight measurement and body fat percentage measurement using the Google Fit platform from your Android app In Detail Android phones available in today's market have a wide variety of powerful and highly precise sensors. Interesting applications can be built with them such as a local weather app using weather sensors, analyzing risky driving behavior using motion sensors, a fitness tracker using step-counter sensors, and so on. Sensors in external devices such as Android Watch, Body Analyzer & Weight Machine, Running Speed Cell, and so on can also be connected and used from your A... Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Sensor Fundamentals -- What are sensors? -- Types of sensors -- Types of sensor values -- Motion, position, and environmental sensors -- Motion sensors -- Position sensors -- Environmental sensors -- Sensors' coordinate system -- Android Sensor Stack -- Components of the sensor framework -- SensorManager -- SensorEventListener -- Sensor -- SensorEvent -- Sensor's sampling period, power, and battery consumption -- The reporting modes of sensors -- Dealing with specific sensor configuration -- Checking the availability of the sensor at runtime -- Declaring the sensor as mandatory feature -- Sensor availability based on the Android API level -- Best practice for accessing sensors -- Summary -- Chapter 2: Playing with Sensors -- Understanding the sensor framework callbacks -- Seeing the big picture -- Time for action -- using sensors in the foreground activity -- What just happened? -- Time for action -- listing the available sensors on a device -- What just happened? -- Time for action -- knowing individual sensors' capabilities -- What just happened? -- Time for action -- getting the sensor values and updating the user interface -- What just happened? -- Time for action -- processing the sensor values in the background service -- The phone handling algorithm -- What just happened? -- Summary -- Chapter 3: The Environmental Sensors -- The Weather Utility App -- The weather utility app's requirements -- Understanding environmental sensors -- Time for action -- using the temperature sensor -- What just happened? -- Getting air pressure from the phone's pressure sensor -- Time for action -- calculating the altitude using the pressure sensor -- What just happened? -- Getting relative humidity from the phone's humidity sensor. Time for action -- calculating the dew point and absolute humidity -- What just happened? -- Time for action -- comparing the temperature, humidity, and pressure values from web services to phone sensors -- Third-party web service - open weather map -- Using Google Play Services Location API and AsyncTask -- What just happened? -- Summary -- Chapter 4: The Light and Proximity Sensors -- Understanding the light and proximity sensors -- The automatic torch light and screen brightness app requirements -- Time for action - turning the torch light on and off using the proximity sensor -- What just happened? -- Time for action - adjusting the screen brightness using the light sensor -- What just happened? -- Wake locks, wakeup sensors, and the FIFO queue -- Wakeup and non-wakeup sensors -- The sensor's hardware FIFO queue -- Summary -- Chapter 5: The Motion, Position, and Fingerprint Sensors -- Understanding motion-based sensors -- The accelerometer sensor -- The gyroscope sensor -- The gravity sensor -- The linear acceleration sensor -- The significant motion sensor -- Understanding position-based sensors -- The magnetometer sensor -- The orientation sensor -- The fingerprint sensor -- Time for action -- shake detection using the accelerometer sensor -- Time for action - the compass using orientation sensor and orientation APIs -- Time for action -- using the fingerprint sensor -- What just happened? -- Summary -- Chapter 6: The Step Counter and Detector Sensors -- The Pedometer App -- The pedometer app's requirements -- Understanding the step counter and step detector sensors -- The step counter sensor -- The step detector sensor -- Time for action -- using the step counter sensor in activity -- Time for action -- maintaining step history with the step detector sensor -- What just happened?. Understanding the walking, jogging, and running signatures using the accelerometer sensor's data -- The walking signature using the accelerometer sensor -- The jogging or fast walking signature using the accelerometer sensor -- The running signature using the accelerometer sensor -- The type of step detection algorithm -- Making it battery- and CPU-efficient using sensor fusion -- Scope for improvement -- Time for action -- type of step (walking, jogging, and running) detection using the accelerometer sensor -- What just happened? -- Summary -- Chapter 7: The Google Fit Platform and APIs -- The Fitness Tracker App -- The Google Fit platform -- Google Fitness Store -- REST APIs -- Android Fitness APIs -- Sensors API -- Recording API -- History API -- Sessions API -- Bluetooth Low Energy API -- Config API -- Platform basics -- Data sources -- Data types -- Data point -- Data set -- Authorization and permission scopes -- Registration with the Google developer console -- Authorization from a user in the application -- Fitness scopes -- Installing and running time permissions -- Fitness tracker app using fitness APIs -- Fitness tracker application requirements and architecture -- Time for action -- working with live fitness data using the Sensors API -- What just happened? -- Time for action -- recording fitness data in background using Recording API -- What just happened? -- Time for action -- getting history fitness data using the History API -- What just happened? -- Asynchronous versus synchronous results callback -- Summary -- Index. Android (Electronic resource) http://id.loc.gov/authorities/names/n2009043077 Android (Electronic resource) fast Application software Development. http://id.loc.gov/authorities/subjects/sh95009362 Application software Programming. Mobile apps. http://id.loc.gov/authorities/subjects/sh2014000897 Logiciels d'application Développement. Logiciels d'application Programmation. Applications mobiles. COMPUTERS / Operating Systems / Android. bisacsh Application software Development fast Mobile apps fast has work: Android Sensor Programming By Example (Text) https://id.oclc.org/worldcat/entity/E39PCXBY4chb7Vy7qxbhjGbkJ8 https://id.oclc.org/worldcat/ontology/hasWork Community experience distilled. http://id.loc.gov/authorities/names/no2011030603 FWS01 ZDB-4-EBA FWS_PDA_EBA https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1230630 Volltext |
spellingShingle | Nagpal, Varun Android sensor programming by example : take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors / Community experience distilled. Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Sensor Fundamentals -- What are sensors? -- Types of sensors -- Types of sensor values -- Motion, position, and environmental sensors -- Motion sensors -- Position sensors -- Environmental sensors -- Sensors' coordinate system -- Android Sensor Stack -- Components of the sensor framework -- SensorManager -- SensorEventListener -- Sensor -- SensorEvent -- Sensor's sampling period, power, and battery consumption -- The reporting modes of sensors -- Dealing with specific sensor configuration -- Checking the availability of the sensor at runtime -- Declaring the sensor as mandatory feature -- Sensor availability based on the Android API level -- Best practice for accessing sensors -- Summary -- Chapter 2: Playing with Sensors -- Understanding the sensor framework callbacks -- Seeing the big picture -- Time for action -- using sensors in the foreground activity -- What just happened? -- Time for action -- listing the available sensors on a device -- What just happened? -- Time for action -- knowing individual sensors' capabilities -- What just happened? -- Time for action -- getting the sensor values and updating the user interface -- What just happened? -- Time for action -- processing the sensor values in the background service -- The phone handling algorithm -- What just happened? -- Summary -- Chapter 3: The Environmental Sensors -- The Weather Utility App -- The weather utility app's requirements -- Understanding environmental sensors -- Time for action -- using the temperature sensor -- What just happened? -- Getting air pressure from the phone's pressure sensor -- Time for action -- calculating the altitude using the pressure sensor -- What just happened? -- Getting relative humidity from the phone's humidity sensor. Time for action -- calculating the dew point and absolute humidity -- What just happened? -- Time for action -- comparing the temperature, humidity, and pressure values from web services to phone sensors -- Third-party web service - open weather map -- Using Google Play Services Location API and AsyncTask -- What just happened? -- Summary -- Chapter 4: The Light and Proximity Sensors -- Understanding the light and proximity sensors -- The automatic torch light and screen brightness app requirements -- Time for action - turning the torch light on and off using the proximity sensor -- What just happened? -- Time for action - adjusting the screen brightness using the light sensor -- What just happened? -- Wake locks, wakeup sensors, and the FIFO queue -- Wakeup and non-wakeup sensors -- The sensor's hardware FIFO queue -- Summary -- Chapter 5: The Motion, Position, and Fingerprint Sensors -- Understanding motion-based sensors -- The accelerometer sensor -- The gyroscope sensor -- The gravity sensor -- The linear acceleration sensor -- The significant motion sensor -- Understanding position-based sensors -- The magnetometer sensor -- The orientation sensor -- The fingerprint sensor -- Time for action -- shake detection using the accelerometer sensor -- Time for action - the compass using orientation sensor and orientation APIs -- Time for action -- using the fingerprint sensor -- What just happened? -- Summary -- Chapter 6: The Step Counter and Detector Sensors -- The Pedometer App -- The pedometer app's requirements -- Understanding the step counter and step detector sensors -- The step counter sensor -- The step detector sensor -- Time for action -- using the step counter sensor in activity -- Time for action -- maintaining step history with the step detector sensor -- What just happened?. Understanding the walking, jogging, and running signatures using the accelerometer sensor's data -- The walking signature using the accelerometer sensor -- The jogging or fast walking signature using the accelerometer sensor -- The running signature using the accelerometer sensor -- The type of step detection algorithm -- Making it battery- and CPU-efficient using sensor fusion -- Scope for improvement -- Time for action -- type of step (walking, jogging, and running) detection using the accelerometer sensor -- What just happened? -- Summary -- Chapter 7: The Google Fit Platform and APIs -- The Fitness Tracker App -- The Google Fit platform -- Google Fitness Store -- REST APIs -- Android Fitness APIs -- Sensors API -- Recording API -- History API -- Sessions API -- Bluetooth Low Energy API -- Config API -- Platform basics -- Data sources -- Data types -- Data point -- Data set -- Authorization and permission scopes -- Registration with the Google developer console -- Authorization from a user in the application -- Fitness scopes -- Installing and running time permissions -- Fitness tracker app using fitness APIs -- Fitness tracker application requirements and architecture -- Time for action -- working with live fitness data using the Sensors API -- What just happened? -- Time for action -- recording fitness data in background using Recording API -- What just happened? -- Time for action -- getting history fitness data using the History API -- What just happened? -- Asynchronous versus synchronous results callback -- Summary -- Index. Android (Electronic resource) http://id.loc.gov/authorities/names/n2009043077 Android (Electronic resource) fast Application software Development. http://id.loc.gov/authorities/subjects/sh95009362 Application software Programming. Mobile apps. http://id.loc.gov/authorities/subjects/sh2014000897 Logiciels d'application Développement. Logiciels d'application Programmation. Applications mobiles. COMPUTERS / Operating Systems / Android. bisacsh Application software Development fast Mobile apps fast |
subject_GND | http://id.loc.gov/authorities/names/n2009043077 http://id.loc.gov/authorities/subjects/sh95009362 http://id.loc.gov/authorities/subjects/sh2014000897 |
title | Android sensor programming by example : take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors / |
title_auth | Android sensor programming by example : take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors / |
title_exact_search | Android sensor programming by example : take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors / |
title_full | Android sensor programming by example : take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors / Varun Nagpal. |
title_fullStr | Android sensor programming by example : take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors / Varun Nagpal. |
title_full_unstemmed | Android sensor programming by example : take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors / Varun Nagpal. |
title_short | Android sensor programming by example : |
title_sort | android sensor programming by example take your android applications to the next level of interactivity by exploring the wide variety of android sensors |
title_sub | take your Android applications to the next level of interactivity by exploring the wide variety of Android sensors / |
topic | Android (Electronic resource) http://id.loc.gov/authorities/names/n2009043077 Android (Electronic resource) fast Application software Development. http://id.loc.gov/authorities/subjects/sh95009362 Application software Programming. Mobile apps. http://id.loc.gov/authorities/subjects/sh2014000897 Logiciels d'application Développement. Logiciels d'application Programmation. Applications mobiles. COMPUTERS / Operating Systems / Android. bisacsh Application software Development fast Mobile apps fast |
topic_facet | Android (Electronic resource) Application software Development. Application software Programming. Mobile apps. Logiciels d'application Développement. Logiciels d'application Programmation. Applications mobiles. COMPUTERS / Operating Systems / Android. Application software Development Mobile apps |
url | https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1230630 |
work_keys_str_mv | AT nagpalvarun androidsensorprogrammingbyexampletakeyourandroidapplicationstothenextlevelofinteractivitybyexploringthewidevarietyofandroidsensors |