Cargando…

Professional android sensor programming /

Learn to build human-interactive Android apps, starting with device sensors. This book shows Android developers how to exploit the rich set of device sensors - locational, physical (temperature, pressure, light, acceleration, etc.), cameras, microphones, and speech recognition - in order to build fu...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Milette, Greg
Otros Autores: Stroud, Adam
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Hoboken : John Wiley & Sons, 2012.
Colección:Wrox programmer to programmer
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Professional Android Sensor Programming; Contents; Introduction; Part I: Location Services; Chapter 1: Introducing the Android Location Service; Methods Used to Determine Location; GPS Provider; How It Works; GPS Improvements; Limitations; Controlling GPS; Network Provider; Using Wireless Network Access Points; Using Cell IDs; Summary; Chapter 2: Determining a Device's Current Location; Know Your Tools; LocationManager; LocationProvider; Location; Criteria; LocationListener; Setting up the Android Manifest; Determining the Appropriate Location Provider; GPS Location Provider.
  • Network Location ProviderPassive Location Provider; Accuracy versus Battery Life; Receiving Location Updates; Receiving Location Updates with a LocationListener; Receiving Location Updates with a Broadcast Intent; Implementing the Example App; Implementing LocationListener; onLocationChanged(); onProviderDisabled() and onProviderEnabled(); onStatusChanged(); Obtaining a Handle to LocationManager; Requesting Location Updates; Cleaning up After Yourself; Launching the Location Settings Activity; Summary; Chapter 3: Tracking Device Movement; Collecting Location Data.
  • Receiving Location Updates with a Broadcast Receiver; Extending BroadcastReceiver; Registering the BroadcastReceiver with Android; Requesting Location Updates with a PendingIntent; One Intent, Multiple Receivers; Why Not Use a Service?; Viewing the Tracking Data; Google Map Library Components; MapView; OverlayItem; ItemizedOverlay; MapActivity; Filtering Location Data; Continuous Location Tracking and Battery Life; Reducing Location Update Frequency; Limiting Location Providers; Summary; Chapter 4: Proximity Alerts; App Structure; Geocoding; android.location. Geocoder.
  • Reading the Geocoded Response; Setting a Proximity Alert; Responding to a Proximity Alert; Proximity Alert Limitations; Battery Life; Permissions; More Efficient Proximity Alert; ProximityAlertService; Summary; Part II: Inferring Information from Physical Sensors; Chapter 5: Overview of Physical Sensors; Definitions; Android Sensor API; SensorManager; Sensor; Sensor Rates; Sensor Range and Resolution; SensorEventListener; SensorEvent; Sensor List; The Manifest File; SensorListActivity; SensorSelectorFragment; SensorDisplayFragment; Sensing the Environment; Sensor. TYPE_LIGHT.
  • Sensor. TYPE_PROXIMITY; Sensor. TYPE_PRESSURE; Absolute Altitude; Relative Altitude; Mean Sea-Level Pressure (MSLP); Where to Find MSLP; Sensor Units; Sensor Range; Common Use Cases; Sensor. TYPE_RELATIVE_HUMIDITY; Sensor. TYPE_AMBIENT_TEMPERATURE; Sensor. TYPE_TEMPERATURE; Sensing Device Orientation and Movement; Coordinate Systems; Global Coordinate System; Device Coordinate System; Angles; Sensor. TYPE_ACCELEROMETER, .TYPE_GRAVITY, and .TYPE_LINEAR_ACCELERATION; Sensor Units and Resolution; Sensor. TYPE_GYROSCOPE; Sensor Units; Sensor Range; Sensor. TYPE_MAGNETIC_FIELD.