How to detect the number of ongoing calls on Android
<p>I'm looking for a synchronous way of checking the number of active phone calls on Android.</p>

<p>When searching google, folks mention the <a href="http://developer.android.com/reference/android/telephony/TelephonyManager.html" rel="nofollow">TelephonyManager</a> a lot  but the only method I see for this purpose is <code>getCallState</code> which seems return only the current call state. I assume this is for the active call. Others use I have found is about attaching a listener and then waiting and counting.</p>

<p>This is no good for me, as I'm on phonegap and just want a method I can call which gives me an overview of the current calls. Note that I want to know, if there is more than one call active. For once, it looks like the iPhone ios api has exactly this in <a href="http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Reference/CTCallCenter/Reference/Reference.html#//apple_ref/doc/uid/TP40009604" rel="nofollow">currentCalls</a> method. </p>

<p>It hard for me to beleive, that Android doesn't have such a method. I just can't seem to find it.</p>

<p>Anyone? Thanks!</p>
