how to get only active calls from PhoneStateListener
<p>I would like to get only active calls from PhoneStateListener.
I have created the listener with method   onCallStateChanged.
Once I dial (and the call is picked up) the state is already off-hook.</p>

<p>Well, it doesn't really surprise me, because of the text in the <a href="http://developer.android.com/reference/android/telephony/TelephonyManager.html#CALL_STATE_OFFHOOK" rel="nofollow">API</a>:
Device call state: Off-hook. At least one call exists that is dialing, active, or on hold, and no calls are ringing or waiting. </p>

<p>But is there a possibility to get only active calls?
Thnx!</p>
