How to integrate zoom android sdk with Kotlin language

Description
I have an android app written in Kotlin language not in Java. I want to integrate zoom android sdk with my app but I couldn’t find any documentation guiding me through the process.

I followed the instruction on how to integrate zoom into android apps here: https://marketplace.zoom.us/docs/sdk/native-sdks/android/getting-started/integration. However, the instructions are for Java language not for Kotlin. I have visited github,https://github.com/zoom/zoom-sdk-android, for more information but I could find any information related to Kotlin integration.

I have already added two modules, commomlib and mobilertc, but not sure it is right for Kotlin. Can you please provide me some samples in Kotlin. There are some examples in sdk but it is for Java.

Thank you for your help.

Which version?
v4.4.55968.0904

Hi oucler,

Thanks for using Zoom SDK. Our current doc and sample app is written for Java. We do not have doc or sample code for Kotlin at the moment. However, our SDK has compatibility with Kotlin, the interfaces should work with Kotlin, and the concept(Zoom meeting concepts) is the same across Java or Kotlin.

We will look into adding a doc and a sample app for Kotlin users. Please feel free to let me know if you have any questions.

Thanks!

Hi Carson,

Thank you so much for the prompt response. That is great to know that the SDK supports both Java and Kotlin but I don’t even know how to import a Zoom module in Kotlin. The same way used for Java not working.

That would be great if you have an example to show.

Regards,

Onur

Also, my biggest concern is how to add dependencies for Kotlin. In the document it showed to add .aar modules but it doesn’t seem right because for kotlin dependencies are added into build.gradle file.

When I added .aar files I don’t see any extensions so I would think that is not the right way to add. If you can provide me steps that would allow me to import Zoom libraries.

Regards,

Onur

I found an answer here: https://developer.android.com/studio/projects/android-library which explains how to add .aar dependencies for Kotlin.

Thank you for your support,

Regards,

Onur

Hi oucler,

Thanks for the replies. Glad to hear that you found the answer to your questions. Let me know if you have any other questions.

Thanks!

1 Like