[android-beginners] Threading Problem

2009-08-14 Thread RustedApple

When I press the home key and then go back into the program, it'll
work.  However, if I then press the back button, my thread wont
continue, specifically its state will be terminated, not new, and so
I'm not sure how I would start the thread back up again (if I do
thread.start(), it'll crash saying the thread was already started).

This also occurs if I first press back, go back in, and then press
home.

Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Saving

2009-08-13 Thread RustedApple

I am trying to understand what data is saved when I change the phone's
orientation.
For instance, I have a couple guys walking around and when I flip the
orientation, they are still there walking.
However, in a different part of code, I also spawn more guys, but this
time, they wont be there when I flip the orientation.

So how would one be saved while the other isn't?

Thanks

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---