Skip to content

onPause() not possible.Β #561

Open
Open
@EmmanuelPil

Description

@EmmanuelPil

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() {
}


Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions