Hi everyone,
I got my hands on Android which is really fun. But at some point I
don't seem to understand the concept. I've got a Main class which
reads like this:
public class Main extends Activity implements SensorEventListener
{ ... }
in the onCreate(...) I set the layout to
Hi everyone,
I got my hands on Android which is really fun. But at some point I
don't seem to understand the concept. I've got a Main class which
reads like this:
public class Main extends Activity implements SensorEventListener
{ ... }
in the onCreate(...) I set the layout to
steff wrote:
But my problem is this (at this point my misunderstanding kicks in):
whenever I rotate the device the onCreate(), onStart() etc. methods
are called, causing my app to act as if it just started.
Correct. By default, on an orientation change, Android destroys and
recreates your
3 matches
Mail list logo