Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

fullScreen(), size() crashing

$
0
0

Hello everybody. I try to make app for android, but if I add fullScreen() or size() it crashed. With size(100,100), size(50,50), size(500,250) it works fine, but with size(500,500) or size(displayWidth, displayHeight)

void setup() {
  fullScreen();
  orientation(LANDSCAPE);
}

void draw() {
  background(0);
  rect(width/2,height/2,36,36);
}

Viewing all articles
Browse latest Browse all 941

Trending Articles