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
Learning Android™ Application Programming: A Hands-On Guide to Building Android Applications
will help you master modern Android programming by building a fully functional app from the ground …
book
Pro Android 5, Fifth Edition
Pro Android 5 shows you how to build real-world and fun mobile apps using the Android …
book
Learn Android Studio: Build Android Apps Quickly and Effectively
Learn Android Studio covers Android Studio and its rich tools ecosystem, including Git and Gradle: this …
book
Sams Teach Yourself: Android Application Development in 24 Hours, Fourth Edition
This is the Rough Cut version of the printed book. In just 24 sessions of one …