I have googled about it but didn\'t find any solution
I am recording incoming and outgoing calls
code works fine with outgoing call but gives
recorder.prepare(); Thread.sleep(1000); recorder.start();
For incoming call it was taking time to prepare.
Hold the prepare for 1 sec and everything is worked fine.