* This documentation is still work-in-progress and only gives a hint of what is possible. Please use PHONK's built-in examples for more accurate results.
* This documentation is still work-in-progress and only gives a hint of what is possible. Please use PHONK's built-in examples for more accurate results.
notification
settings
alarmManager()
close()
eval()
executeShellCommand()
fullPath()
getSharedData()
listenEvent()
liveCodingOverlay()
load()
onCreate()
onDestroy()
onPause()
onResume()
openFileWithApp()
path()
removeEvent()
runOnUiThread()
sendEvent()
shareImage()
shareText()
startActivity()
clear()
error()
log()
logImage()
show()
accelerometer
ambientTemperature
barometer
gravity
gyroscope
humidity
light
linearAcceleration
location
magneticField
orientation
proximity
rotationVector
stepDetector
anim()
base64StringToBitmap()
delay()
detectFaces()
dpToPixels()
loop()
mmToPixels()
parseColor()
pixelsToDp()
pixelsToMm()
toolbar
add()
addButton()
addCameraView()
addCanvas()
addChoiceBox()
addGrid()
addImage()
addImageButton()
addInput()
addKnob()
addLinearLayout()
addList()
addLoader()
addMap()
addMatrix()
addNumberPicker()
addPager()
addPlot()
addProcessingCanvas()
addRadioButtonGroup()
addSlider()
addSubtitle()
addText()
addTextArea()
addTitle()
addToggle()
addTouchPad()
addWebView()
allowScroll()
background()
clipAndShadow()
movable()
newArea()
newCameraView()
onTouches()
popup()
positionMode()
removeAllViews()
removeMovable()
removeView()
resize()
showWeb()
takeViewScreenshot()
toast()
connectIOIO()
createSerial()
appendTextToFile()
appendTextToFileAsync()
copy()
createFile()
createFileObserver()
createFolder()
delete()
list()
loadBitmap()
loadFont()
loadTextFromFile()
move()
openSqlLite()
rename()
saveTextToFile()
type()
unzip()
zip()
audioOnSpeakers()
createRecorder()
createSoundPlayer()
createTextToSpeech()
createVideoPlayer()
enableSoundEffects()
initLibPd()
startMidi()
startVoiceRecognition()
volume()
battery()
brightness()
call()
copyToClipboard()
getFromClipboard()
globalBrightness()
ignoreBackKey()
ignoreVolumeKeys()
info()
isAirplaneMode()
isScreenOn()
launchIntent()
listInstalledApps()
onKeyDown()
onKeyEvent()
onKeyUp()
onNewNotification()
onSmsReceived()
openDial()
openEmailApp()
openMapApp()
openWebApp()
openWebSearch()
orientation()
screenAlwaysOn()
screenTimeout()
smsSend()
vibrate()
wakeLock()
addButton()
addHtml()
addText()
show()
connectOSC()
connectSocketIO()
connectWebsocket()
connectWifi()
createFtpConnection()
createFtpServer()
createMQTTClient()
createOSCServer()
createSimpleHttpServer()
createWebsocketServer()
download()
downloadWithSystemManager()
enableWifi()
getNetworkType()
httpGet()
httpPost()
isNetworkAvailable()
isWifiEnabled()
multicast()
networkInfo()
ping()
sendEmail()
wifiAP()
wifiInfo()
info()
isAvailable()
max()
power()
resolution()
sensorSpeed()
start()
stop()
units()
duration()
finish()
isLooping()
isPlaying()
loop()
onFinish()
pause()
position()
seekTo()
volume()
onDataWritten()
onNewData()
write()
onChange()
start()
load()
stop()
hint()
textColor()
background()
boxsize()
html()
onClick()
pos()
textColor()
textFont()
textSize()
info()
isAvailable()
max()
onChange()
power()
resolution()
sensorSpeed()
start()
stop()
units()
focus()
isFlashAvailable()
onNewFrame()
onNewFrameBase64()
onNewFrameBitmap()
recordVideo()
setColorEffect()
setPictureResolution()
setPreviewSize()
startLearning()
stopRecordingVideo()
takePicture()
turnOnFlash()
onChange()
background()
icon()
show()
subtitle()
title()
height
width
antiAlias()
arc()
background()
clear()
cornerMode()
ellipse()
fill()
image()
linearShader()
loadImage()
noFill()
noStroke()
point()
pop()
push()
rect()
rotate()
scale()
setShader()
shadow()
shadowStroke()
skew()
stroke()
strokeCap()
strokeWidth()
text()
textSize()
translate()
onChange()
start()
onChange()
start()
connectGatt()
disconnectGatt()
isConnected()
readCharacteristic()
writeCharacteristic()
getArray()
sendArray()
sendBang()
sendFloat()
sendMessage()
sendMidiByte()
sendNoteOn()
sendSymbol()
addRow()
addView()
setHorizontal()
setTitle()
setTitleColor()
setVertical()
connectSerial()
connectSerialByName()
connectSerialUsingMenu()
disconnect()
isConnected()
send()
sendBytes()
close()
delete()
execSql()
insert()
open()
query()
background()
color()
text()
textColor()
duration()
finish()
getClipAspectRatio()
getClipSize()
isLooping()
isPlaying()
loop()
onFinish()
pause()
position()
seekTo()
volume()
onChange()
onChange()
addMarker()
center()
clearCache()
createPath()
geoToPixels()
mapBoxTileSource()
moveTo()
multitouch()
pixelsToGeo()
removePath()
showControls()
tileSource()
zoom()
zoomLimits()
createClient()
createServer()
disable()
enable()
getBondedDevices()
scanNetworks()
start()
textColor()
addRow()
build()
columns()
inPlace()
using()
toolbar
add()
addButton()
addCameraView()
addCanvas()
addChoiceBox()
addGrid()
addImage()
addImageButton()
addInput()
addKnob()
addLinearLayout()
addList()
addLoader()
addMap()
addMatrix()
addNumberPicker()
addPager()
addPlot()
addProcessingCanvas()
addRadioButtonGroup()
addSlider()
addText()
addTextArea()
addToggle()
addTouchPad()
addWebView()
allowScroll()
background()
newCameraView()
positionMode()
removeAllViews()
removeView()
onChange()
onChange()
start()
response()
serve()
stop()
textColor()
onChange()
start()
record()
stop()
changeDir()
connect()
deleteFile()
disconnect()
download()
getCurrentDir()
getFileList()
upload()
onChange()
onChange()
start()
onChange()
append()
autoFitText()
background()
boxsize()
center()
clear()
color()
html()
pos()
scrollable()
shadow()
text()
textColor()
textFont()
textSize()
isStarted()
openAnalogInput()
openDigitalInput()
openDigitalOutput()
openPWMOutput()
start()
stop()
speed()
start()
stop()
start()
stop()
write()
distance()
getLastKnownLocation()
getLocationName()
onChange()
start()