Use the Source, Luke https://android.googlesource.com/platform/packages/apps/Phone/+/refs/heads/master/ Although it use a lot of private APIs, it will give you some ideas.
-- Douglas Drumond http://drumond19.com On Tue, Dec 18, 2012 at 7:20 AM, Gaurav Wable <gswa...@gmail.com> wrote: > Why doesn't any developer give me solution..? > > > On Friday, 7 December 2012 18:02:20 UTC+5:30, Gaurav Wable wrote: >> >> Thank you very much for your response. >> >> I am giving a brief idea about my problem: >> In my android application I used *TelephonyManager* to listen * >> PhoneState(Idle/Ringing/Offhook) *and identified whether any >> incoming/outgoing call is initiated. If initiated, I used *intent* to * >> startActivity **MyCallActivity *to handle call. >> Now *MyCallActivity *has been launched but it does not appear on screen >> because android system's default PHONE app appears on screen. I want to >> know that how can we fix that every time* MyCallActivity *comes on >> foreground (on screen) in place of default PHONE app. >> >> Android App "Mobile Accessibility" does the same. How can i do it? >> >> >> On Fri, Dec 7, 2012 at 5:52 PM, Anil Kumar <anilkumar....@gmail.com>wrote: >> >>> ya you can handle...first of all u need to save the >>>> state(ringing,offhook,idle) of the incoming and outgoing calls. so by using >>>> these states u can able to show ur gui >>>> >>> -- >>> 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 <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<http://groups.google.com/group/android-developers?hl=en> >>> >> >> >> >> -- >> Gaurav Wable >> > -- > 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