android - Programmatically detect when outgoing call starts ringback tone (ringing to the other person) -
i want know how observe in android when outgoing phone call acceptable (but not yet accepted) other person , receive ringback tone.
i tried phonestatelistener
using method oncallstatechanged(int state, string callingnumber)
, state returns me 2
(starts) , 0
(ends) , not when phone call acceptable other person (there time between starts phone call , other phone receive phone call , starts ring)
there android method know or do?
android detect phonecalls
No comments:
Post a Comment