Tanks Gergely, yes exactly , that what i want, in fact i don't why my main activity cover call screen when i run new activity, if it was on screen before call come, but if it wasn't on screen every thing ok.
On Sat, Nov 13, 2010 at 7:39 PM, Gergely Juhász <jg.sv...@gmail.com> wrote: > Just for clarify. > As i understand you want the activity stack to be like this: (The > first is the top of the stack.) > > 1. Cover activity - Your application > 2. Incall activity - Another application > 3. Another Activity - Your application > > I dont know. It is even possible to do? > > On 13 November 2010 16:46, 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 >> 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 -- 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