Book description
Create mobile apps for Android phones and tablets faster and more easily than you ever imagined. Use "Processing," the free, award-winning, graphics-savvy language and development environment, to work with the touchscreens, hardware sensors, cameras, network transceivers, and other devices and software in the latest Android phones and tablets.
Publisher resources
Table of contents
- Foreword
- Acknowledgments
- Preface
-
Part I. Getting Started with the Touch Screen and Android Sensors
- 1. Getting Started
- 2. Working with the Touch Screen Display
-
3. Using Motion and Position Sensors
- Introducing the Device Hardware and Software Layers
- Introducing Common Android Sensors
- Working with the KetaiSensor Class
- List the Built-In Sensors on an Android Device
- Display Values from the Accelerometer
- Display Values from Multiple Sensors
- Build a Motion-Based Color Mixer and Palette
- Save a Color
- Build a Palette of Colors
- Erase a Palette with a Shake
- Wrapping Up
-
Part II. Working with Camera and Location Devices
-
4. Using Geolocation and Compass
- Introducing the Location Manager
- Working with the KetaiLocation Class
- Setting Sketch Permissions
- Determine Your Location
- Working with the Location Class
- Determine the Distance Between Two Locations
- Determine the Speed and Bearing of a Moving Device
- Find Your Way to a Destination
- Find a Significant Other (Device)
- Wrapping Up
- 5. Using Android Cameras
-
4. Using Geolocation and Compass
-
Part III. Using Peer-to-Peer Networking
- 6. Networking Devices with Wi-Fi
-
7. Peer-to-Peer Networking Using Bluetooth and Wi-Fi Direct
- Introducing Short-Range Networking and UI Classes
- Working with the KetaiBluetooth Class
- Introducing Bluetooth
- Working with the Android Activity Life Cycle
- Connect Two Android Devices via Bluetooth
- Create a Survey App Using Bluetooth
- Working with Wi-Fi Direct
- Use Wi-Fi Direct to Control Remote Cursors
- Wrapping Up
- 8. Using Near Field Communication (NFC)
-
Part IV. Working with Data
-
9. Working with Data
- Introducing Databases
- Working with the Table Class and the File System
- Working with Android Storage
- Read a Tab-Separated Grocery List
- Read Comma-Separated Web Color Data
- Save User Data in a TSV File
- Write Data to External Storage
- Visualize Real-Time Earthquake Data
- Add Vibes to the Earthquake App
- Wrapping Up
- 10. Using SQLite Databases
-
9. Working with Data
- Part V. Creating 3D Graphics and Cross-Platform Apps
- A1. Miscellaneous Notes
- Bibliography
Product information
- Title: Rapid Android Development
- Author(s):
- Release date: April 2013
- Publisher(s): Pragmatic Bookshelf
- ISBN: 9781937785062
You might also like
book
Tidy First?
Messy code is a nuisance. "Tidying" code, to make it more readable, requires breaking it up …
book
Deciphering Data Architectures
Data fabric, data lakehouse, and data mesh have recently appeared as viable alternatives to the modern …
book
Developing IoT Projects with ESP32
Master the technique of using ESP32 as an edge device in any IoT application where wireless …
book
Become an Effective Software Engineering Manager
Software startups make global headlines every day. As technology companies succeed and grow, so do their …