[android-developers] Re: Fwd: Send DTMF
It seems that the phone dialer wouldn't send the '#' char. If the dtmf sequence contained pound char, everything following the '#', including, will be cut off. Bug? On Oct 5, 11:09 am, legerb [EMAIL PROTECTED] wrote: Joining this one. Is it possible to send DTMF during an ongoing call in SDK 1.0? The Phone.java was removed from the new SDK, and I couldn't find an equivalent to sendDTMF in other classes. -- Forwarded message -- From: Renato Mangini [EMAIL PROTECTED] Date: Jan 10, 9:36 pm Subject: Send DTMF To: Android Developers Alex, There is a method inandroid.telephony.Phone class (version m3-rc37a) tosendDTMF. ./android/telephony/Phone.java: public abstract void sendDtmf(char c); Since it is not documented, I'm not sure how stable or even usable it is. It seems that you have to use PhoneFactory methods (also undocumented) to get a Phone instance. PS: I haven't tested any of these. Please, report if it works. Renato Mangini. On Nov 22 2007, 2:55 am, Alex Zhilyakov [EMAIL PROTECTED] wrote: Hi, I am wondering if it is possible to make a call and then sendDTMF digits usingAndroidAPI. I can't find an appropriate method tosend digits inandroid.telephony.IPhone interface. Is it possible? -Alex --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com 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 -~--~~~~--~~--~--~---
[android-developers] Re: Fwd: Send DTMF
(may be it would be usefull to someone else) Apparently the # should be encoded. Also the sequence shouldn't end with # or you be getting invalid mmi code error. On Nov 27, 10:25 am, legerb [EMAIL PROTECTED] wrote: It seems that the phone dialer wouldn't send the '#' char. If the dtmf sequence contained pound char, everything following the '#', including, will be cut off. Bug? On Oct 5, 11:09 am, legerb [EMAIL PROTECTED] wrote: Joining this one. Is it possible to send DTMF during an ongoing call in SDK 1.0? The Phone.java was removed from the new SDK, and I couldn't find an equivalent to sendDTMF in other classes. -- Forwarded message -- From: Renato Mangini [EMAIL PROTECTED] Date: Jan 10, 9:36 pm Subject: Send DTMF To: Android Developers Alex, There is a method inandroid.telephony.Phone class (version m3-rc37a) tosendDTMF. ./android/telephony/Phone.java: public abstract void sendDtmf(char c); Since it is not documented, I'm not sure how stable or even usable it is. It seems that you have to use PhoneFactory methods (also undocumented) to get a Phone instance. PS: I haven't tested any of these. Please, report if it works. Renato Mangini. On Nov 22 2007, 2:55 am, Alex Zhilyakov [EMAIL PROTECTED] wrote: Hi, I am wondering if it is possible to make a call and then sendDTMF digits usingAndroidAPI. I can't find an appropriate method tosend digits inandroid.telephony.IPhone interface. Is it possible? -Alex --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com 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 -~--~~~~--~~--~--~---
[android-developers] Re: Fwd: Send DTMF
Try something like this: ToneGenerator toneGenerator = new ToneGenerator (AudioManager.STREAM_VOICE_CALL, ToneGenerator.MAX_VOLUME1); toneGenerator.startTone(ToneGenerator.TONE_DTMF_1); On Nov 20, 10:53 pm, j [EMAIL PROTECTED] wrote: Yes Rimma's method works if the program wishes to playDTMFtones when the call connects. It also works if you replaced ; with ,. My further question is: How can an Android program play outgoingDTMF tones in the middle of a phone conversation? Is that possible? On Nov 9, 11:56 pm, Rimma Sukhovsky [EMAIL PROTECTED] wrote: Intent mIntent = new Intent(Intent.ACTION_CALL, Uri.parse(tel: + phoneNumber + ; + dtmfSequence)); On Thu, Nov 6, 2008 at 12:09 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: Hi, How do you do this ? (adding theDTMFsequence to the dialed number) Thanks. On Oct 23, 4:13 pm, legerb [EMAIL PROTECTED] wrote: I'm adding theDTMFsequence to the dialed number. This seems to work, but when the call is established I'm getting a confirmation dialog asking Send the following tones?. Is it possible to prevent this dialog from being shown? May be some additional permissions? Though I didn't find any relevant... Or is there a way to detect the dialog on screen in order to simulate a key stroke? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com 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 -~--~~~~--~~--~--~---
[android-developers] Re: Fwd: Send DTMF
Yes Rimma's method works if the program wishes to play DTMF tones when the call connects. It also works if you replaced ; with ,. My further question is: How can an Android program play outgoing DTMF tones in the middle of a phone conversation? Is that possible? On Nov 9, 11:56 pm, Rimma Sukhovsky [EMAIL PROTECTED] wrote: Intent mIntent = new Intent(Intent.ACTION_CALL, Uri.parse(tel: + phoneNumber + ; + dtmfSequence)); On Thu, Nov 6, 2008 at 12:09 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: Hi, How do you do this ? (adding the DTMF sequence to the dialed number) Thanks. On Oct 23, 4:13 pm, legerb [EMAIL PROTECTED] wrote: I'm adding the DTMF sequence to the dialed number. This seems to work, but when the call is established I'm getting a confirmation dialog asking Send the following tones?. Is it possible to prevent this dialog from being shown? May be some additional permissions? Though I didn't find any relevant... Or is there a way to detect the dialog on screen in order to simulate a key stroke? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com 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 -~--~~~~--~~--~--~---
[android-developers] Re: Fwd: Send DTMF
Intent mIntent = new Intent(Intent.ACTION_CALL, Uri.parse(tel: + phoneNumber + ; + dtmfSequence)); On Thu, Nov 6, 2008 at 12:09 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: Hi, How do you do this ? (adding the DTMF sequence to the dialed number) Thanks. On Oct 23, 4:13 pm, legerb [EMAIL PROTECTED] wrote: I'm adding the DTMF sequence to the dialed number. This seems to work, but when the call is established I'm getting a confirmation dialog asking Send the following tones?. Is it possible to prevent this dialog from being shown? May be some additional permissions? Though I didn't find any relevant... Or is there a way to detect the dialog on screen in order to simulate a key stroke? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com 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 -~--~~~~--~~--~--~---
[android-developers] Re: Fwd: Send DTMF
Hi, How do you do this ? (adding the DTMF sequence to the dialed number) Thanks. On Oct 23, 4:13 pm, legerb [EMAIL PROTECTED] wrote: I'm adding the DTMF sequence to the dialed number. This seems to work, but when the call is established I'm getting a confirmation dialog asking Send the following tones?. Is it possible to prevent this dialog from being shown? May be some additional permissions? Though I didn't find any relevant... Or is there a way to detect the dialog on screen in order to simulate a key stroke? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com 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 -~--~~~~--~~--~--~---
[android-developers] Re: Fwd: Send DTMF
I'm adding the DTMF sequence to the dialed number. This seems to work, but when the call is established I'm getting a confirmation dialog asking Send the following tones?. Is it possible to prevent this dialog from being shown? May be some additional permissions? Though I didn't find any relevant... Or is there a way to detect the dialog on screen in order to simulate a key stroke? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com 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 -~--~~~~--~~--~--~---
[android-developers] Re: Fwd: Send DTMF
Moreover, i want to RECEIVE or i can say DETECT the DTMF tone for generating responses in my application, during a call. Can i do that by any ways ?? On Thu, Oct 23, 2008 at 7:43 PM, legerb [EMAIL PROTECTED] wrote: I'm adding the DTMF sequence to the dialed number. This seems to work, but when the call is established I'm getting a confirmation dialog asking Send the following tones?. Is it possible to prevent this dialog from being shown? May be some additional permissions? Though I didn't find any relevant... Or is there a way to detect the dialog on screen in order to simulate a key stroke? -- Pulkit Arora --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com 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 -~--~~~~--~~--~--~---