Processing for Android

Almost all of the Processing API can be used in the Android mode. There is a number of new functions and constants that are unique to the Android mode in version 4.0+, specially relevant to wallpapers, watch faces, and VR apps.

Environment

displayDensity
orientation()
getActivity()
getContext()

Permissions

requestPermission()
hasPermission()

Multitouch

touches array
touch events

Wallpapers

wallpaperPreview()
wallpaperHomeCount()
wallpaperOffset()

Watch faces

wearAmbient()
wearInteractive()

wearRound()
wearSquare()

wearInsets()

wearLowBit()
wearBurnProtection()

VR

STEREO
MONO

cameraUp()
eye()
getEyeMatrix()
getObjectMatrix()