I know this question has been asked many times here on stack , but I would like to confirm this as i need to be sure off . Can we pass DTMF tone using our custom dialer?
I found one very interesting link on git and i managed to setup the code and able to make build .
here is the link of apk :-
https://www.dropbox.com/s/r12qewmz659bf2j/DTMF_demo.apk?dl=0
And the code from where I generate the above build :-
https://github.com/rajeshincorp/UD_SendDtmfToneOverActiveCall
I need your guidance here
Regards.
I tried this and I could sent a DTMF tone in the beggining of the call. If the call was already active, I could not send the DTMF tone, only sending, starting the call. You can send "," to delay the caracters sent, for example, to interact with certain interact voice response.
Related
I have developed android application which call the other person on button click, but now i want to send dtmf tones from application to that outgoing call when ever i need. so how to do that?
Actually it's possible. It's not so obvious and not so elegant. But it works :)
In my project I requested permission for accessibility service. It gives me possibility to programmatically emulate clicks on the screen. Then I get the screen coordinates for the 'open keyboard' button and all number buttons which I need to press (tones which needed to be send).
Then it's super easy - catch income call with receiver, make small delay and then run sequence of emulated clicks.
Tada 🎉🎉🎉
In case someone need code - I can share it.
You can't send DTMF tones during an active call, but you can send them when you "program" them when you initiate the call. see the following post: https://stackoverflow.com/a/12986066/475472
Actually DTMF possible for key when call alive that time manual key touch and same will send to receiver.
we also check it on embedded gsm module and it will in receiving mode and DTMF enable and after calling when we press any key it will send to receiver side.
I want to send voice message to specific landline number on button click. Is it possible to make this call?
Any help will be appreciated..
Thank you :)
As far as I know you can leave a voice message after the landline is not responded and after some time a beep is heard and you can leave your voice message after that beep.
Nexmo provides exciting voice / IVR calling options. You have to explore it accordingly. They even reply to your queries.https://www.nexmo.com/It is a paid API free for only few limited users. You have to register with Nexmo and follow the following link:https://docs.nexmo.com/index.php/voice-api/callYou have to call the apis with defined parameters and you are done
sorry fo my complete ignorance developing an Android.
I'm asking about the feaseability of this pseudocode I would like to implement as native app; let imagine a task that:
when a specific SMS arrive (only those sent from a specific sender number)
possibly (multi-SMS in case of text bigger than 160 chars )
elaborate/format each received SMS:
. save text content on a local db
. print text on a bluetooth printer
. reply to sender with some sort of "ACK" SMS
BTW, what above could be sort of background task, and I would need on foreground a sort of user interface that visualizes received SMS and do some user actions (sending back SMS to sender)
Is all that possible on Android ? Any issue ?
I mean, above all: is possible to "catch" specific SMSs (by example those sent by a specific sender number), living unalterated the usual SMS workflow for ALL other SMSs ?
Sorry for my beginner question and Thanks for your patience
giorgio
www.giorgiorobino.com
Following this link to implement a BroadcastReceiver that will listen for incoming SMS.
Inside your onReceive from your BroadcastReceiver, handle your logic (print/save/..)
It is possible, yes. But not recommended. That being said the way to set this up is to catch the SMS intent, so your app would be started when an SMS is received. Otherwise it would not run at all (as long as you don't have any other interface open). For a code example on the message interception part, see this post. For the database part look up local storage on android phones. Look up on SMS messaging for the reply. Not sure how bluetooth printing would work as I've never done it, but if it's a standard protocol I'm sure there's either built in support or a library for it.
I want to achieve the following in android.
When userA make call to userB.
when userB press any key during call on number pad then userA can get notification about users selected button.
Is it possible?
by using gsm call the feature you want doesn't have any api support. But you can try any of the following
Case 1:
when a number key is pressed during call then a dtmf tone is send. try if you can somehow decode the dtmf tone. As there is no recording option in android during call you can try setting speakerphone on.. ( i haven't tried this, so not sure fully)
For this you can see this project
Case 2
Create another channel over network. create server client mechanism to register each number in your server. whenever two calls of two registered users are made send data over network.
you can see a similar apps thruto
I want to receive incoming call automatically that was I done already now I want to play my own created sound to my caller rather than android will use its default mike..
Can is it possible to play our own sound after receiving incoming call?
I refereed this. Can anyone tell me is it possible now?
I searched lot related to this topic but still I am not able to find something useful.
If anyone know about this then please help me..
Thanks in advance.
I found this may be helpful for you
quote from: How to automatically answer call and play prerecorded sound out to the caller and DTMF on Android
"No, sorry, Android has no access to the in-call audio stream. Closest thing is if the device is in speakerphone mode, you can blend your audio into what the speaker plays, which may get picked up by the microphone."
As described here (http://www.krvarma.com/2010/08/detecting-incoming-and-outgoing-calls-in-android/), you should be able to detect this:
To detect the incoming call, we register a BroadcastReceiver for the
action android.intent.action.PHONE_STATE. This will be broadcasted
when there is a change in phone state. The receiving intent will have
an extra string variable TelephonyManager.EXTRA_STATE which describes
the phone state. If this state is TelephonyManager.EXTRA_STATE_RINGING
then there will be another extra string variable
TelephonyManager.EXTRA_INCOMING_NUMBER. This variable contains the
incoming phone number. Note that this variable will not be present
when the state is not TelephonyManager.EXTRA_STATE_RINGING.