Android Question Java Inline coding

aeric

Expert
Licensed User
Longtime User
Depends on situation.
B4X:
#If Java
    #If B4A
        'Java Code for B4A
    #Else
        'Java Code for B4J
    #End If
#End If

#If OBJC
    'Obj-C Code for B4i
#End If
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
Now I have java Code for create Cutting Thai words in the sentence.,and I have use utility online to convert javaCode to ObjC.Tomorrow, I will test with B4A and B4J.
 
Upvote 0

emexes

Expert
Licensed User
I have a vague recollection of B4X "inline code" actually being "added at the bottom code"

ie you can add complete Java functions, but I'm not so sure that you can add lines of Java code inside B4X functions
 
Upvote 0

Similar Threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…