Thank you for your answers. Marco: I will check your solution.
Mark: The user isn't supposed to be doing anything. Just reading some information, and it's required to see the most updated information sent by the service. On Apr 18, 5:56 pm, "Mark Murphy" <[email protected]> wrote: > > I have a Service that starts an Activity on certain event passing to > > it some parameters. > > I do not recommend this. What if the user is in the middle of doing > something else? > > > The problem is if the Activity is still open, when the service tries > > to startActivity() again, the activity isn't started because it's > > already started. > > http://developer.android.com/guide/topics/fundamentals.html#lmodeshttp://developer.android.com/guide/topics/fundamentals.html#clearstack > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

