Inline Java Code
The next versions of B4A (4.30) and B4J (2.80) will allow you to embed Java code inside your B4X code. B4i supports similar feature with Objective C. The purpose of this feature is to make it easier to access third party SDKs and also to allow developers to add existing Java code snippets to...

B4X:
#If JAVA AND B4A
#Else If JAVA AND B4J
#Else If OBJC AND B4i
#End If
ควรศึกษาเพิ่มเติม
[บทเรียน, B4X]การเรียกใช้ ฟังก์ชันในJavaCode Inline ในภาษาB4X
ขอขอบคุณJohan ชาวแอฟริกาใต้ และ Alexanderชาวเยอรมนี ณ ที่นี้ด้วย https://www.b4x.com/android/forum/threads/solved-how-convert-java-code-in-be-b4x-code.165256/ หมายเหตุ อย่าลืมเปรียบเทียบโค้ดหาจุดความแตกต่างระหว่างNot-B4XPages กับ B4XPages ที่Post #2 ควรศึกษาเพิ่มเติม

Last edited: