Try setting both:
FLAG_ACTIVITY_NEW_TASK
and
FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS
-- Kostya
25.11.2010 7:49, A N K ! T пишет:
yes that what i meant....but if i set any flag except
FLAG_ACTIVITY_NEW_TASK ....that activity wont start....
2010/11/24 Kostya Vasilyev <[email protected]
<mailto:[email protected]>>
That's not a running task list - it's a recent task list. I
*think* there is a flag you can set in the Intent when launching
the activity to prevent it from showing up in this list.
Look up Intent in the reference, the flag starts with FLAG_ACTIVITY_
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
24.11.2010 19:50 пользователь "A N K ! T"
<[email protected] <mailto:[email protected]>>
написал:
> i am trying to start an activity from Receiver......
> with listening to phone state change...but i am having an issue with
> it....when activity started from reciever and finished after
operation
> performed my application comes in running tasks...which i dont
want ...
>
> can anybody help in this issue that activity can start and
finish after
> certain action performed but application should not come in long
press home
> button screen..
>
>
> --
>
> A N K ! T......
>
> --
> 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]
<mailto:[email protected]>
> To unsubscribe from this group, send email to
> [email protected]
<mailto:android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
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]
<mailto:[email protected]>
To unsubscribe from this group, send email to
[email protected]
<mailto:android-developers%[email protected]>
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
A N K ! T......
--
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
--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
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