Tealium IQ - Mobile App Android : Kotlin

Bronze Contributor
Bronze Contributor

Hi All,

Has anyone got any documentation or guidelines on implementing Tealium IQ in an Android App using the Kotlin Language? I've got all the Java details but I'm looking specifically for Kotlin. 

It does mention Kotlin is available on the main Tealium page - https://tealium.com/resources/mobile-glossary/ 

Thanks,

Rob

4 REPLIES 4

Tealium IQ - Mobile App Android : Kotlin

Moderator
Moderator
Hi @RWolfenden. Our Android SDK (https://github.com/Tealium/tealium-android) is compatible with Kotlin. We're working on some Kotlin-specific documentation and samples, but Kotlin is designed to be fully interoperable with Java, and all Java-based Android SDKs should function pretty much as expected when called from Kotlin.

We will, however, be making some iterative updates to the Android SDK to ensure that you can take advantage of all the great features of the Kotlin language. If you have any feedback on using our SDK with Kotlin, feel free to share it, and if you have any issues during the implementation, please get in touch with our support team, or post back here.

Craig.
Check out our new Swift integration library for iOS, macOS, tvOS and watchOS: https://github.com/Tealium/tealium-swift with updated
documentation https://community.tealiumiq.com/t5/Swift/tkb-p/swift.

Tealium IQ - Mobile App Android : Kotlin

Bronze Contributor
Bronze Contributor

Hi @craig_rouse - thanks, do you have any timelines for the Kotlin specific documentation?

I've raised a support ticket anyway in hte meantime as no doubt some assistance will be required in the inital implementation. Once we've got a couple of Tags implemented and working we should be good to go, its just the inital bit really.

p.s. Good to see you're still around :)

 

 

Tealium IQ - Mobile App Android : Kotlin

Moderator
Moderator
Thanks @RWolfenden! No timelines, but we'll see what we can do. I'm sure your developers will be able to easily call the Java APIs, but we are of course on hand if they have any issues.
Check out our new Swift integration library for iOS, macOS, tvOS and watchOS: https://github.com/Tealium/tealium-swift with updated
documentation https://community.tealiumiq.com/t5/Swift/tkb-p/swift.

Tealium IQ - Mobile App Android : Kotlin

Tealium Employee

Hi Rob.

Just to follow up on this after our support ticket, and for the benefit of anyone else wanting to work with Kotlin. Attached is an Android Studio project export that contains a single MainActivity, and the TealiumHelper class from our Sample Android projects, re-written into Kotlin syntax. This TealiumHelper then directly interacts with our Android SDK as normal.

It's just an example of how to use Kotlin with our existing Android SDK, but hopefully it's useful.

thanks.
James

Public