I want to create Phone dialer in android .
Purpose is handling out going call event .
I have found many dialer in android but no one is working like this.For dialing purpose they are sending event to native android dialer . I want to make call through my dialer and disconnect with it also .
Please any one having any idea about it ,please let me know.
Related
I want to capture the incoming call event using Phonegap. I want to detect if there is any event of incoming call occured and pause my media files from playing. So far I have found about startcallbutton & *endcallbutton*events. But I want to detect the call from the moment of ringing. Searched in Phonegap google group but not finding any solution that could work for me.
I'm new to phonegap. Am I missing something? Can anyone please help me that how can I detect the incoming call and take action after that? Is that solution device independent?
Maybe this plugin solves it for you? https://github.com/renanoliveira/cordova-phone-call-trap
Do note that you will always require a plugin, since Phonegap/Cordova has no API to detect calls. And plugins are platform specific, but since you tagged your question Android I suppose you only target Android?
as I as I could remember, you should set up intent filter for calling event, and get action from that event...and handle it.
reading the following material will help you to understand~
Retrieve incoming call's phone number in Android
http://developer.android.com/reference/android/telephony/TelephonyManager.html#ACTION_RESPOND_VIA_MESSAGE
How to detect incoming calls, in an Android device?
Is it possible to hook or interrupt the process of the phone being dialed? Execute our code when the user has finished dialing the number, but not pressed “green”/go/send? And then optionally return control to the phone to complete the call?
Android does support handling/intercepting out going call via capturing NEW_OUTGOING_CALL intent as shown here.
but not pressed “green”/go/send?
No. This is all happening inside Dialer application so far. Unless you wrote the dialer app yourself, you can't modify its internal workings.
There is a concept of SecretCode which can be use.
I'm implementing a streaming radio application on android . The stream must stop when a call comes to the phone or a call is in progress .I have implemented for normal calls (phone calls) but cannot find a proper solution for VOIP calls.If possible I want it to implement it to Viber calls also . Please help !
I think you should listen and monitor ports that use these protocols..
http://en.wikipedia.org/wiki/Voice_over_IP#Protocols
I am developing one application in android..In that i am able to overriding the incoming call screen but now i want to implement SwitchingHoldandActive(). If u have any ideas and suggestions please post it here
Currently creating a VOIP application for Android and I was wondering is there any possible way to supress the In Call Dialog when sending a call over GSM and use our own 3rd party In Call Dialog or screen instead?
At the minute when we switch from our VOIP call and send it over GSM via the ACTION_CALL intent it does everything we want except it brings up the native In Call screen whereas we want our own In Call screen to display here.
So I was wondering what kind of options we would have on this?
What would you reccomend we look into doing?
Thanks in advance
Unless you are running your app on a rooted device, you cannot supress the native in call screen, nor the native calling screen.