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.
displayDensity
orientation()
getActivity()
getContext()
getFragmentManager()
getWindow()
hasPermission()
requestPermission()
touches array
touchEnded()
touchMoved()
touchStarted()
closeKeyboard()
openKeyboard()
wallpaperHomeCount()
wallpaperOffset()
wallpaperPreview()
wearAmbient()
wearBurnIn()
wearInsets()
wearInteractive()
wearLowBit()
wearRound()
wearSquare()
cameraUp()
eye()
getEyeMatrix()
getObjectMatrix()
getRayFromScreen()
intersectsSphere()
intersectsBox()
intersectsPlane()
VR
STEREO
MONO
calculate()
VRCamera
AR
ARTracker
ARTrackable
ARAnchor
The PApplet class in the Android mode exposes some functions from the underlying Android API to make easier to receive notifications from the system:
onActivityResult()
onNewIntent()
The Fragment API for adding menu items to the App Bar is also available through PApplet:
onCreateOptionsMenu()
onOptionsItemSelected()
onCreateContextMenu()
onContextItemSelected()
setHasOptionsMenu()