Hy everyone!

I'm trying to create an application using DTMF (Dual Tone Multi
Frequency) to provide special service to user. In fact, I would like
that once you call someone, this person could put you through (using
DTMF).
The process is the following:
1- You call your contact
2- You ask him to put you through
3- He enter a DTMF sequence (containing the number to be dialed by
your own phone,..)
4- Your phone receive the DTMF tones, end this call and dial the new
number (decoded)

I hope my explication was clear. Do not hesitate to ask me further
informations..!

So, first I tried to decode the DTMF tones I send via the (first)
called phone.
I had a look to the extractPostDialPortion fonction (PhoneNumberUtils)
but It seems that this function do not match what I try to do with.
Then I found the DTMF-Decoder in the source code but it's written in C
and I don't know how to exploit it (actually this DTMF decoder is not
accessible via the Android library..)

I'm currently trying to use a MediaRecorder to record the first
conversation (the one containing the DTMF sequence) and to process it
in the aim to extract only the DTMF tones.

Then, I though that I could built a low-level routine (in C?) to
access either a DSP ship or an hardware DTMF decoder; supposing that
such hard materials are in the Dev Phone. So I contacted HTC, about
this point, but I did not received an answer...
Is anyone know if such ships are implemented in the hardware of the
Dev Phone?
Do you know how to access the audio channel?

Thank you for reading my post so far! Wink
Since a while, I've read many topics about Android, hoping that I
would find some idea which could help me to reach my objective. Finaly
I've decided to post this to ask you directly if you had any idea that
could help me!

Any advice will be helpful! Thank you!

PI9

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to