I want to implement a Voip app with SIP protocol. I have managed receive and dialing with the tutorial. The problem I have is, my app will not answer for the incoming call when it is closed. I have tried using services but not helping me solving the problem. I have seen ConnectionService in android documentation, but not clearly explain on how to implement. please give some tips how to solve this. Thanks for your time.
This Android Project created by Aentfs called Phony may help, give a look.
Related
So I am trying to create an app that can answer and reject incoming calls.
I've trying every single solution possible than I could find like using the audio manager for lower version then for higher versions use the media button and for Oreo+ use the answerRingingCall method. But none works. ITelephony is Dead and does not exist. And I can't manage to get it working even though I know it's possible since I have seen apps that can do it.
Can someone please help me find a solution?
Thanks in advance.
I want to create an app can help me control my Facebook addiction and waste time on my phone. So I want to create an android application start when I open an app like Facebook or Twitter , when I open Facebook, my app will start timing and tell me after a time that I setting in it. Can I do that, or should I run my app on the background. I'm new to android so I don't know where to find information or keyword to research.
Sorry for my bad English.
Hey there is no direct way of doing it, but you have to figure out the solution for that by running a service and accessing stats
refer this thread for detail
this thread
this particular latest answer on that
latest answer
you may have to figure out a solution for that and its possible, many apps are doing it.
upvoted your question, because i liked the question and idea. Please post back the best solution you implement, so that someone in the future might benefit of it and the i guess few of the solutions given are already outdated now.
I want to add a feature to my existing application which is calls over WI-FI.
It should be app to app calling. I've searched the web and tried multiple solutions but I'm unable to make it work. Can someone guide me a tutorial or to link that can describe how to make calls over the wifi.
Thank you in advance.
there are multiple third party exists.
1.Sinch
2.Quick Blox
if you don’t wanna build from scratch then try above third party.I have used sinch.
I am trying to add support for bluetooth devices like headsets/headphones/car stereo to my android app which allows user to make SIP/VoIP calls. I am trying to mostly address the requirements of Answering and Ending of calls using button on bluetooth headsets, other buttons/features handling is good to have.
With the search I have done and all the text I have read so far, I have come across the following-
One common way suggested everywhere is registering to ACTION_AUDIO_STATE_CHANGED. But this doesn't really helps me. Intents for it are sent every time the button on Bluetooth headset is pressed And also when we start the ring tone on bluetooth headset.
A very common solution I found was use of Bluetooth Adapter class. There isn't much you could do with it. So again not helpful.
Another approach I came across is the use of Vendor specific headset events. After some efforts I was able to get this working for specific Plantronics Bluetooth headsets. Supporting Jabra is important.
One more approach I came across is binding with IBluetoothHeadsetPhone.aidl, the way the phone app does it. I could find very little information on it, not enough to go ahead and implement any thing.
If anyone has done such things, I think the problem I am facing is not an uncommon one, I just believe it is not documented well.
Any pointer, approach, link would be appreciated.
I will try to add more info as I find any or any other approaches I try. Please ask for details if you need any more on the solutions I have tried. And please suggest changes instead of just flagging the question.
Thanks in adv.
Sorry about the late post. I was able to find a solution for this issue. It is not simple fix.
You need to use ConnectionService from Android telecom framework. Check out this link here & here. After this your VoIP calls will have cellular call like treatment.
I am wondering if there is a way to find out the specific type of cellular/mobile connection in iOS. I need to know whether the user is on 3G/EDGE/GPRS so that I can store this information. I have looked into using the Reachability package but this seems to only differentiate between Wifi/WWAN connections and I need to know the specifics of the WWAN connection. Also, if anybody knows how to do this in Android also it would be greatly appreciated.
Thanks,
Chris.
Apple iOS
Have a look at this question, it seems to be a duplicate...
And as I wrote in the comments, it seems that's not possible without using private API.
Android
Should be possible using ConnectivityManager.getActiveNetworkInfo(). By the way this and that question seem highly related.
EDIT: deleted my old post which didn't really answer the question :-/