This plugin enables you to use Processing in your projects. Processing is a flexible software sketchbook and a language for learning how to code within the context of the visual arts.
See the Processing web site for more details.
To start using your Processing in your app, you must first load the plugin at the top of your app script using the LoadPlugin method like this:
Then you can create the Processing control and add it to your main layout like this:
Once you have a processing control created, then you need to create a processing sketch in your project and load it into the control like this:
Note: You can choose any name for your sketch file, it does not need to be called 'MySketch.txt' and you could also have multiple sketches and load them in at different times
Click the button below to download a demo project.
After creating a basic skeleton app using the sample files or demo above, you can get more information about using Processing and its powerful API by pressing the book icon at the top of this page and by visiting the Processing web site.
If you wish to access the droidscript app object within your sketch file (for example to use the accelerometer), then you can use the app object in the normal DroidScript way. For example to show a popup message box in your app, you would do the following:-