When we use Android APIs( e.x. AppCompatActivity) ...
# android
r
When we use Android APIs( e.x. AppCompatActivity) from Kotlin code, does that mean they have developed Kotlin wrapper around existing Android SDK?
s
No, kotlin and java can work together. They can call each others code without wrapper.
r
My question is how is that achieved? I cant call Android APIs from say php code, but i can call in Kotlin
d
Can PHP compile Java code? ( ASAIF no )
z
Everything is compiled to same bytecode. You can call also Kotlin code from Java. If there would be any PHP to Java bytecode compiler, you could call PHP code then too.