no, this tutorial handles only the phone state. i want to handle call states. in your tutorial only three states are possible for the phone (RINGING, IDLE, OFFHOOK), these are defined in android.telephony.phone.state.
but it exists android.telephony.call.state and there are call states (INCOMING, DIALING, DISCONNECTED...) defined. i want to look at these events...
I need a android-function, which wait for the events
...Call.State.DISCONNECTED,
...INCOMING,
...DIALING etc.
In Windows Mobile this function called "lineCallbackFunc". Via the function is it possible to handle GSM events, such as as incoming or outgoing calls. Is there an equivalent in android. I want to responsive to these events.
Can anybody help me?
Or have anybody a practical link??