Here is a link where onPause
is described in case you want to know more about this.
I did a quick search in the forum:
And I recommend this: super.onSaveInstanceState does not exist - #13 by akenaton to start.
You can add the following to your sketch:
// @@@@@@@@@@@@
@Override
public void onPause() {
super.onPause();
}
Also, this link gives a lead to what you could do next. For now, you can use the file approach. You whould be able to use functions saveStrings()
and loadStrings()
for this purpose. More here.
Kf