[android-developers] Re: Starting a new Activity

2008-10-25 Thread hackbod
On Oct 25, 3:38 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > I'm not 100% certain, but my guess would be the messages queue up and > will not get "handled" until the activity is brought back via onResume(). The Handler and activity in the background will continue running. Note that when we are t

[android-developers] Re: Starting a new Activity

2008-10-25 Thread Mark Murphy
Mark Wyszomierski wrote: > From the map activity, the user may create a new Activity to enter > some text let's say. Now the map activity is 'paused', but the > background thread is still trying to post messages to its Handler. Stop the thread in onPause() and start a fresh thread in onResume().

[android-developers] Re: Starting a new Activity

2008-10-25 Thread Mark Wyszomierski
Ok so I've got a map activity which displays some pins. I have a thread which runs in the background, it will periodically generate new pins to place on this map activity. I guess I can communicate between the 2 via a Handler. >From the map activity, the user may create a new Activity to enter so

[android-developers] Re: Starting a new Activity

2008-10-25 Thread Mark Murphy
Mark Wyszomierski wrote: > After an Activity creates a new Activity, is it possible for the new > Activity to communicate with the old one at all? Something like: > > Activity A is being viewed > Activity creates activity B, and displays it > > can B communicate with A at this point?