I can see how I'd save things like simple integers and wot-not, but, for instance, if my main activity is communicating with a Service, I'll have a Handler instance I created stashed in a class member. What do I do about saving complicated objects like that? How do I get back in touch with my Service? (Probably the content of this question proves that I am indeed confused, but I'm hoping someone will humor me :-).
Apparently I need to make my confusion clearer. Let's try an example. I have a class member initialized like so:
private final Handler mHandler = new Handler() {...yadda, yadda};
I've passed it to a Service that is using it to send back messages to my main activity. What will make that same handler instance still be there in my activity when I (for instance) rotate the screen?
Likewise for the mTalkService class member that came from
new AardTalkerService(this, mHandler);
which is the service itself, what makes it possible for me to be using mTalkService after a save/restore of state?