Ah. Ok. For the call screen, you can do what the built-in Phone application does:
http://android.git.kernel.org/?p=platform/packages/apps/Phone.git;a=blob;f=AndroidManifest.xml;hb=refs/heads/gingerbread ... scroll down to: activity android:name="InCallScreen".... For the general case (where activity2 is part of normal application flow), there are new flags and PendingIntent methods in Android 3.*, but not in earlier versions. -- Kostya 2011/6/21 jeyaprakash chinaraj <[email protected]> > my service listens for incoming calls and it will launch my secondactivity > when the call is disconnected, so no need to hold the firstactivity but from > home screen i need to launch firstactivity only > > On Tue, Jun 21, 2011 at 3:03 PM, Kostya Vasilyev <[email protected]>wrote: > >> When the service launches the second activity, is the first activity >> active within the task stack? >> >> Is the current state you've looking to reset - activity1->actvity2, or >> just activity2? >> >> -- Kostya >> >> 2011/6/21 jeyaprakash chinaraj <[email protected]> >> >>> No Luck still my second Activity comes Up >>> >>> On Mon, Jun 20, 2011 at 6:42 PM, Kostya Vasilyev >>> <[email protected]>wrote: >>> >>>> Try removing category.DEFAULT from the launcher activity - I think >>>> it's getting in the way. >>>> >>>> -- Kostya >>>> >>>> -- >> 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 >> > > -- > 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 > -- 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

