Android Tutorial Library compilation - Compile your project to a library

Yuls

Member
Licensed User
Longtime User
Hi, Erel.
I need to serve determinate functionality of my b4a app to a Kotlin app (developed by other programmer). This programmer need a library to integrate that functionality in his Kotlin app. I not have idea of Kotlin.
If I compile to library my module, can Kotlin to accept my b4a library?
My app needs several args, do anything (using Serial lib and others) and returns a result in an string.
if not, is there any other way?
Thanks in advance.
 

Yuls

Member
Licensed User
Longtime User
So the only way to integrate my functionality with Kotlin that I see is through the Intent object using extradata to receive args and return a result , or not?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
So the only way to integrate my functionality with Kotlin
As I wrote, the standard way is to build a Kotlin library and add it to your B4A project.

I see is through the Intent object using extradata to receive args and return a result , or not?
There are all kinds of ways to communicate between two apps. Intents is one of them.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…