Android Question Doubt regarding import in Java and B4A

kepler

Active Member
Licensed User
Longtime User
Good afternoon,

I really have two doubts (maybe someone can help me out please):

1) When I have 2 java files, for instance, and one of them needs the other, how do I write the import line? I've tryed import Module1 - example - but when I compile with SLC it gives me an error of not found, even if the 2 files are in the same folder... :confused:

2) In a B4A project, if I include in libs a particular .jar file (say MyLib.jar), what is the procedure to use it? How do I call a function from that lib - example function1 (of course I know the parameters)? Must I declare something first? Can someone give me a pratical example?

Kind regards, and sorry for the trouble... :rolleyes:

Kepler
 
Top