Android Question Equivalents to dll´s in Android?

kostefar

Active Member
Licensed User
Longtime User
I remember when in VB6, if a DLL had been designed for it, you could access it from within VB6 and use it in your program. The DLL would´ve been written in for instance C++, and be platform independent.
I´m wondering if something similar is possible in Android: If someone wrote a module of some sort in java, let´s imagine for encryption (just as an example), and then you´d be able to make calls to it from B4X.
Is something like this possible in B4X?

Thanks in advance!
 

Cableguy

Expert
Licensed User
Longtime User
They're called libraries, and they are OS dependent.
 
Upvote 0

barx

Well-Known Member
Licensed User
Longtime User
The issue with libraries being cross platform is that most libs include 1 or more UI elements. These are what lock it to the platform. The same UI elements don't exist in android and IOS and Java. If you write a code module that uses no UI elements, it is my understanding that it will likely work with b4a, b4i, b4j and maybe even b4r if the module uses common statements
 
Upvote 0

kostefar

Active Member
Licensed User
Longtime User
The issue with libraries being cross platform is that most libs include 1 or more UI elements. These are what lock it to the platform. The same UI elements don't exist in android and IOS and Java. If you write a code module that uses no UI elements, it is my understanding that it will likely work with b4a, b4i, b4j and maybe even b4r if the module uses common statements

Ok, I think I know enough now, thanks!
 
Upvote 0
Top