DTMF detection on receiving an incoming call on android -
i know whether receive dtmf tones in android.suppose,i getting call,and 1 time take call,is possible observe keys other person pressing during our call.i have go through many stack overflow questions regarding this,but of them not providing solution.
how implementing through java reflection or that.?all before post 2.2 , 3.0 versions.presently in 4.0 , above,so possible in 4 or above versions?
thanks in advance
there no packages in sdk.
first, need hear speaker voice, because can not record voice phone call :
audiomanager maudiomanager = (audiomanager) sos.getcontext().getsystemservice(context.audio_service); int maxvolume = maudiomanager.getstreammaxvolume(audiomanager.stream_voice_call); maudiomanager.setstreamvolume(audiomanager.stream_voice_call, maxvolume, audiomanager.flag_remove_sound_and_vibrate); maudiomanager.setspeakerphoneon(true);
and, project may help :
http://code.google.com/p/dtmf-decoder/source/checkout
i've done this, know possible way.
good luck
android
No comments:
Post a Comment