Hi,

I'm a little confused in what stacking concern. This is the scenario I have:

I wrote an application that has several activies. Let's call it
application A. Application A starts a service and launchs another
application, not owned by me. The service, notify the user using
notifications. When the user "launchs" the note, an activity of A is
displayed. That is at least expected by me.

But then, when the user hits the back button, instead of returning to
the last-in-foreground application, android returns to application A.
So now, the launched application is on background. Why is this?

I have some questions about it:

1. when the Intent note was launched, did android finish the launched
application?
2. has the Intent context (in fact, the PendingIntent) has anything to
do with this?
3. Is there a way to make this behaviour turn in what I want? That is,
hitting back on the Intent note returns to the last-in-foreground
application.

Thanks for clarifying me this,
Regards,

-- 
If you want freedom, compile the source. Get gentoo.

Sebastián Treu
http://labombiya.com.ar

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