Appendix A: Gradle and Android Studio Integration

In this appendix, we will learn to export Processing sketches as Gradle projects that can be compiled from the command line or imported into Android Studio.

Google’s Tools for Android Development

Android Studio is the official integrated development environment (IDE) for Android. It is available for free from Google ( https://developer.android.com/studio/index.html ) . Android Studio offers a rich interface to write and debug Android apps that includes not only an editor for source code (Figure A-1 ) , but also a visual UI designer.

A432415_1_En_BookBackmatter_Fig1a_HTML.jpg
Figure A-1. Android Studio interface for code editing ...

Get Processing for Android: Create Mobile, Sensor-Aware, and VR Applications Using Processing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.