Skype Call Listener For Android - android

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

Related

How can I create Outgoing call handling dialer in android?

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.

Android app interface with standard phone call

I want to know if its possible to create an app that activates in the background when the user gets a phone call ? and if it is possible I'd like to know where I can find more information about how the app can interact with the phone call.
For example, is it possible to turn off / on the mic during a call or intercept it, add sounds in the background etc.
You could use "Broadcast Receiver" available in the API Android.
Here tutorials about those (specific to your very question):
http://androidexample.com/Incomming_Phone_Call_Broadcast_Receiver__-_Android_Example/index.php?view=article_discription&aid=61&aaid=86
And another :
http://www.vogella.com/tutorials/AndroidBroadcastReceiver/article.html#tutorial_receiver

Detect incoming call with phonegap

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?

Stoping other services like receving call and media player when my application opens?

When i open my application , i should not receive any phone call or sms i should stop the media player also. can any one tel me is there any API is available to disable and enable them again once after my application ends.please help me..
Thanks
RAM
It is impossible to block the phone call as referring to this article.
For intercepting coming sms, you may be interested in that thread. Apparently there is a way to do that, but not a clean one.

Is it possible to simulate miss call in Android emulator?

I have to do an Android application which should listen for miss call event. Is it possible to simulate this in Android emulator? Please help
Open DDMS ,there you will get a tab called Emulator Control .In the textbox called Incoming Number input the number from you want to call by clicking on the Call button...Then call the Hang Up button...ie. the call is missed.
Hope it helps you.

Categories

Resources