Learn how to use the Processing programming language and environment to create Android applications with ease. This book covers the basics of the Processing language, allowing users to effectively program interactive graphics in 2D and 3D. It also details the application of these techniques to different types of Android devices (smartphones, tablets, wearables and smartwatches).
Processing for Android
walks you through the steps of taking an initial idea to a final app. With this book, you will be able to write engaging apps with interactive visuals driven by motion and location information obtained from the device's sensors; including health data from the wearer, like step count and heart rate.
An advantage of Processing for Android over more complex programming environments is the ability for users to focus on the interactions and visual output of their code rather than in the implementation details of the Android platform. This book goes through a comprehensive series of hand-on projects, ranging from simple sketches to more complex projects involving sensors and integration with larger apps. It also covers important aspects such as exporting your Processing projects as signed apps are ready to upload to the Google Play store and be share with the world!
What You'll Learn
Who This Book Is For
- Write apps and live wallpapers for smartphones and tablets
- Design and implement interactive watch faces
- Create Virtual Reality experiences for Cardboard devices
- Integrate Processing sketches into larger apps and Android Studio
- Export projects as completed apps ready to distribute through Google Play Store
Artists, designers, students, researchers, and hobbyists who are not necessarily Android experts, but are looking to write mobile apps that make creative use of interactive graphics, sensor data, and virtual reality.
Andres Colubri is a core member of the Processing project, and the main developer of the OpenGL renderer, the video library, and Processing for Android. He originally studied Physics and Mathematics in Argentina and later received an MFA at the UCLA Design Media Arts program. He uses Processing as the main tool to bridge his interests in computer graphics, visualization, and statistical modeling. Andres is an active yearly speaker on topics ranging from creative coding with Processing to data visualization.
Part I: First Steps with Processing for Android
Chapter 1: Getting Started with Android Mode
Chapter 2: The Processing Language
Chapter 3: From Sketch to Play Store
Part II: Drawing and Interaction
Chapter 4: Drawing Graphics and Text
Chapter 5: Touchscreen Interaction
Chapter 6: Live Wallpapers
Part III: Sensors
Chapter 7: Reading Sensor Data
Chapter 8: Driving Graphics and Sound with Sensor Data
Chapter 9: Geo-Location
Part IV: Wearables and Watch Faces
Chapter 10: Wearable Devices
Chapter 11: Visualizing Time
Chapter 12: Visualizing Physical Activity
Part V: 3D and VR
Chapter 13: 3D in Processing
Chapter 14: VR Basics
Chapter 15: Drawing in VR
Part VI: Appendixes
Appendix A: Gradle and Android Studio Integration
Appendix B: Processing Libraries