I have coded an audio processing application for S40 5th edition Fp1 devices. I need to restart the recorder after an incoming call. I tried to register a PlayerListener to the player and detect the events DEVICE_AVAILABLE and DEVICE_UNAVAILABLE. I tried this with Nokia 5610 and SE 770i, After an incoming call neither DEVICE_AVAILABLE nor DEVICE_UNAVAILABLE was delivered. But RECORDING_STARTED, and STARTED and STOPPED events were delivered.
Is there any other way to detect the incoming calls and their finishing time? Any help will be appreciated.