title: How to check the state of the phone without waiting for a state change
body: <p>In Android, I currently use onCallStateChanged to detect any changes in the state of a phone. However, I would like to know what the state of the phone is without having to wait for a change in the state. For example, I want the app to automatically dial a number but need to know if the phone is already in use (off the hook).</p>