If it is ringing, then goes to idle, without ever going to off-hook, I would imagine that would mean the other party did not pick up the phone.
On Wed, Apr 20, 2011 at 2:51 AM, Shahzad <[email protected]> wrote: > Hi, > > I am working on an application providing service like voicemail. > > I need to monitor the complete lifecycle of an outgoing call so i can > do some actions if the call is unanswered on the receiver end. > > Just for testing purposes I am writing the code below: > > ------------------------------------------------------------------------------------------------ > > String state = "Shahzad state = > "+extras.getString(TelephonyManager.EXTRA_STATE); > Log.w("DEBUG", state); > > ------------------------------------------------------------------------------------------------ > > > Currently i have captured only the following events: > > ringing===========>ringing(receiver end) > Offhook===========>on dialing a number(caller end) or call received > (receiver end) > idle==============>Call rejected > > Kindly anyone guide me "how can i notify the application > "IF THE CALL IS UNANSWERED (not picked after a number of rings) ON THE > RECEIVER END" > > > > Regards > > Shahzad > > > > > -- > 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 > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 3.0 Programming Books: http://commonsware.com/books -- 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

