I currently have an application that has code in it that starts an
Activity but shortly afterwards it also sends an intent so the newly
started activity knows what state to display in.

So the activity starts...

then code decides it should be in state one....

button 1 and 2 are displayed.

Or

The activity starts...

then code decides it should be in state one....

button 3 and 4 are displayed.

So it kind of works at the minute but sometimes my activity isn't
fully started when the intent is fired so the intent fires before the
receiver in the new activity is registered and the new activity stays
in a blank state.

Is there anyway to make sure my Activity is started and receiver
registered before firing the intent?

-- 
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