ya thanks
by setting these two attribute in manifest it is working fine now
 android:excludeFromRecents="true"
        android:taskAffinity="com.callH"

2010/11/25 Kostya Vasilyev <kmans...@gmail.com>

>  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 <kmans...@gmail.com>
>
>> 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" <ankit.awasth...@gmail.com>
>> написал:
>>
>> > 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
>> android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
>> > 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 android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
>> 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to