On Feb 19, 1:10 pm, Mark Murphy <[email protected]> wrote:
> > What SHOULD the Intent filter look like?
>
> If you are only starting an activity using an Intent with the component
> name (e.g., new Intent(this, ActivityB.class)), you don't need an
> <intent-filter> at all.
>
Yes agreed - in fact when I wrote that app (there are two versions of
the app in this thread) that's what I did and it worked.  But when we
added this Intent filter it no longer behaved the way we expected and
seems to lose the position in the task stack after visiting Home, even
when we invoke it with the ComponentName.

So there are two problems/questions here -

- why does the existence of the intent filter change the behavior
after Home is visited?

- what is a more rational kind of Intent filter that won't overlap
with many other Activities?  Should we make up a unique Category if we
only want it to be started by our own Activities (assuming we even
have any Intent filter)?

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