Open
Description
Hi.
In the simple sketch below I can not use even an empty onPause().
If I do use it, and press the home button, and then recall the program it will only give a blue screen without text. If I use the back button or rotate the device this error will not happen.
void setup() {
fullScreen();
orientation(PORTRAIT);
background(0,0,255);
textAlign(CENTER);
textSize(45);
text("Hello world", width/2, height/2);
}
void draw() {
}
void onCreate() {
}
void onStart() {
}
// void onPause() {
// }
void onStop() {
}
void onResume() {
super.onResume();
}
void onRestart() {
}