We are about to switch to a new forum software. Until then we have removed the registration on this forum.
pseudo code:
if (androidjava) then text("your on android mode")
else if (pcjava) then text("your on pc mode")
can you give a working source code example?
Answers
Check this discussion: https://forum.processing.org/two/discussion/23342/os-detection#latest
Kf
void setup() { String os = System.getProperty("os.name").toLowerCase();
print(os); text(os, width/2, height/2); }