1

I'm trying to create conference call using Call.conference(Call callToConferenceWith) and this function do nothing…

Does anyone advise me how to properly implement this function?

KJAN
  • 227
  • 4
  • 15
  • Possible duplicate of [How to merge Call programmatically while other call is running (Conference call)](https://stackoverflow.com/questions/20951638/how-to-merge-call-programmatically-while-other-call-is-running-conference-call) – Martin Zeitler Aug 21 '18 at 07:40
  • also: https://stackoverflow.com/questions/41767460/answer-incoming-call-using-android-telecom-and-incallservice (that one seems a little newer). – Martin Zeitler Aug 21 '18 at 07:43
  • @Martin Zeitler I have created a functional InCallService. I accept and terminate calls, put it on hold. The only thing that does not work is a conference call. Not one of the links offers me the answer to my question ... – KJAN Aug 21 '18 at 08:08
  • see https://stackoverflow.com/help/how-to-ask ...you ask about an implementation, which not showing what you have tried so far - and without providing the least context, you might not get any answers. – Martin Zeitler Aug 21 '18 at 09:39

1 Answers1

1

All the necessary information and implementation can be found at this link: https://android.googlesource.com/platform/packages/apps/InCallUI/+/android-5.0.1_r1/src/com/android/incallui (Do not be afraid this is an implementation for Android 5.0.1+. All the necessary implementations are essentially the same.)

For you, important files are InCallPresenter.java and TelecomAdapter.java

Enjoy conference calls with Android ;)

pudnivec74
  • 845
  • 1
  • 8
  • 22
  • Yes. You're right. It can be read almost everything. After minor modifications, the code is fully functional. Thank you. – KJAN Aug 21 '18 at 17:40