Thanks Sam.
Thanks to your guidance, I've been documenting myself on the aidl
concept and certainly still learning ...
In the kernel and framework, I don't see answerRingingCall the
function nor do I see the ITelephony.aidl definiiton.
Could you please suggest where to look ?
Thanks,
On Jul 22, 2:12 am, Sam <
samuel.li...@gmail.com> wrote:
> Seems that ACTION_ANSWER not working because it is not declared to be
> handled in packages/apps/Phone.
>
> However, u can answer call by invoking the "internal" API void
> answerRingingCall() defined by ITelephony.aidl. Have to get the client
> side proxy to that interface by ITelephony.Stub.asInterface
> (ServiceManager.getService(Context.TELEPHONY_SERVICE)). This can be
> used to temp work-around, as it is not recommended by Google (I
> guess:)
>
> Sam
>
> On Jul 22, 9:42 am,flohier<
floh...@gmail.com> wrote:
>
>
>
> > Thanks Mark. 2 things:
>
> > - What is the purpose of ACTION_ANSWER then exposed by the SDK ?
>
> > - I'm still digging into the dialer source code. While its seems that
> > the InCallScreen activity does not export it's interface, it also
> > looks like the dialer has some code defined under the AIDL interface.
> > I'm not yet sure how these 2 interface differ. Again, all I am trying
> > to do is make sure that my activity accepts an incoming call.
>
> > Thanks for your help.
>
> > On Jul 19, 3:37 am, Mark Murphy <
mmur...@commonsware.com> wrote:
>
> > > flohierwrote:
> > > > If this is true, I am confused about the Intent.ACTION_ANSWER intent
> > > > exposed by the SDK.
>
> > > > Can an application actually accept an incoming call without user
> > > > intervention ?
>
> > > At the SDK level, not that I am aware of.
>
> > > At the firmware level, yes.
>
> > > --
> > > Mark Murphy (a Commons Guy)
http://commonsware.com|
http://twitter.com/commonsguy
>
> > > Warescription: Three Android Books, Plus Updates, $35/Year- Hide quoted text -