On Dec 15, 4:10 am, steff <[email protected]> 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. Furthermore,
> I feel unable to implement an onSizeChanged(int w, int h, int oldw,
> int oldh) { ... } Listener.
>
> Can anyone please explain where my error in reasoning is? I am working
> on a tiny app which is more or less done, except for the just
> mentioned bug(s). Maybe I got it all wrong but it does what it is
> supposed to do (i.e. sending touch positions and accelerometer data
> over the network via UDP).
>
> Thanks for any help.
> Regards,
> Steff

If you don't want your activity to be created/destroyed you can
override that behavior in the manifest.

I googled a bit for an official google page talking about the
paradigm, but was surprised at lack of success.  Better yet though
would be to point you at Mark Murphy's stuff:

http://www.androidguys.com/2008/10/14/rotational-forceson-your-android-app/

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to