On Jan 27, 2:13 am, ayanir <[email protected]> wrote: > Hello, > > I have a similar problem when I open the application from the Market. > > if I go from Activity A (LAUNCHER) to B, press Home key and re open > the application from the Home screen icon it come back to Activity B > (the last Activity) as it should. > but, if I open the application from the Market application, it open > Activity A. > what is the difference between these two
Not sure exactly about the difference, but the general point is that the Home Screen launcher is keeping track of the "Task" that was launched from the Home screen for that app and will resume that same task with the Activity that is on top of that task. This only applies to launching from the Home screen. > and how can it always open > from the last Activity no mater how I open the application? A possible answer is to set "singleTask" launchMode. -- 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

