Thanks Dianne,

This issue can resolve through put a delay before fire new activity, but the
issue is why previous  activity (activity before a call come) rearranged to
be over call screen and before new activity????

On Sun, Nov 14, 2010 at 5:35 AM, Dianne Hackborn <hack...@android.com>wrote:

> What you are trying to do is simply not going to work reliably.  The
> incoming call broadcast is a broadcast, and at the same time you are
> handling it and doing something the system is in the process of showing the
> in-call screen.  There is a race going on between you starting your activity
> and the in-call screen activity being started, and which gets there *second*
> (which is the the user will see barring some flicker) is effectively random.
>
> On Sat, Nov 13, 2010 at 7:46 AM, mohammad Rukab 
> <mohammad.ru...@gmail.com>wrote:
>
>> Hello ,
>>
>> i have problem when i start activity from incoming call
>> broadcastReciever, the problem is :
>>
>> when call is coming i start activity X with FLAG_ACTIVITY_NEW_TASK
>> flag, and it is work fine when my application is not on the screen.
>>
>> but if my application on the screen (activity Y) and call come, when
>> activity X called from braodcastReciver Activity Y cover screen over
>> incoming call screen then Actvity X display, so 2 activity become over
>> incoming call, although i just want activity X just display.
>>
>> Please an body have idea??
>>
>> --
>> 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
>>
>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
>
>  --
> 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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to