Questions tagged [android-connectionservice]

31 questions
1
vote
1 answer

How to have the caller ID displayed on a smartwatch call notification using the ConnectionService API?

I have a problem integrating a VoIP application with Android smartwatch (any model). Our app uses Android ConnectionService API. The caller name is not displayed at the watch's incoming call notification - it simply writes "Unknown" or the caller…
marius bardan
  • 4,962
  • 4
  • 29
  • 32
0
votes
0 answers

Android connection service scenarios

I was wondering if there is a list of case scenarios where Android's ConnectionService starts to engage or starts to be useful. I can't find much about that on the internet, but I did find the following scenarios: denies new incoming call when…
0
votes
1 answer

How can we show Custom UI when addNewIncomingCall using Connection service?

I am trying to implement the ConnectionService. When I add new incoming call I get the system UI to receive or to reject a call. var handle = account.accountHandle val extras = Bundle() …
0
votes
0 answers

How can I use Java to connect to/embed the ThingSpeak server (API) in our own Android studio app?

How can our own custom app read data from the thingSpeak server using the thingSpeak API? As I have seen from other resources, the code I tried to use to connect my application to the thingSpeak server contained numerous errors, which prevented me…
0
votes
0 answers

Android onCallAudioStateChanged not called when call is on hold

I am building an Android calling app using an implementation of the ConnectionService. When I call setAudioRoute to change the audio route, or press mute or speaker on the native call screen, the onCallAudioStateChanged method is called and I handle…
0
votes
0 answers

How to change the incoming calling number to the name of the contact i have with an api call?

I'm pretty new to Kotlin and Android. I've been trying to create a Caller ID app. I've succeeded to make my Api call with the CallScreeningService and to pop a notification to the user with the actual name of the calling person. The next step for me…
0
votes
0 answers

Android Listen Mute Events on a VoIP Call

I'm developing a voip call app via Android Telecom framework. I have a self-managed ConnectionService class. On a voip call, my smartwatch sends a mute signal but could not find how to listen this event. I’m looking forward to hearing from you, best…
0
votes
1 answer

How to make a Call Invitation when app is killed in Android?

I am using Agora sdk to integrate Video Call functionality. I have successfully integrate Call Invitation part where other user can accept or reject their call. But this invitation only works when the app is running. How do I make it work when app…
0
votes
1 answer

Android Connection Service report outgoing call without showing native call UI?

I have developed a voice calling app with android ConnectionServices and telecom framework. I can show native call screen when receive incoming call notification from firebase and everything is fine. When I start an outgoing call I just want to…
Bilal Şimşek
  • 5,453
  • 2
  • 19
  • 33
0
votes
1 answer

How to check if the Android application is running in foreground, in background, or is killed? (API level 27+)

I have this code snippet in my Android application, that checks if the app is killed or not. static boolean isAppKilled(Context appContext) { boolean appProcessRunning = false; ActivityManager activityManager = (ActivityManager)…
0
votes
0 answers

Android telecom/connection service: Open app from recent call history

I have been able to implement ConnectionService and Android.Telecom to receive an incoming call. I see the phone number/name of caller id in recent call in phone app. I want to open my app when tapped on any of that number/name which is associated…
SoftSan
  • 2,482
  • 3
  • 23
  • 54
0
votes
1 answer

Android Get Status of Wifi Connection

I'm currently using NetworkRequest and NetworkCallback approach (recommended by Google official) to get status of Wifi connection, and it works partially. I'm expecting the onUnavailable() will get called when: close app -> turn off Wifi -> launch…
0
votes
1 answer

InCallService or ConnectionService for Linphone-Android

I am working on a Linphone-Android application - and would like the voice calls to appear in the native UI/dialler (a la CallKit in iOS). I believe the two permissions are: InCallService ConnectionService Has anyone done this before? Any…
0
votes
0 answers

Android Connection handling on API 21+

I am implementing a calling app and I want to do a self-managed ConnectionService. However, my application's min api is 21 whereas ConnectionService has a min of 23. I also noticed that the min api for setting the PROPERTY_SELF_MANAGED is 26+. I…
kjanderson2
  • 1,209
  • 12
  • 23
0
votes
0 answers

My Andoid app is not working on phone and showing message " bookhub has stopped "? i was trying to connect my app to internet

I tried to connect my app to the internet. I run the following code This is the set of code I entered in "ConnectionManager.kt" Class import android.content.Context import android.net.ConnectivityManager import android.net.Network import…