Java Question How to use "import anywheresoftware.b4a.BA.ShortName;" ?

Theera

Well-Known Member
Licensed User
Longtime User
Hi all,
This my first time to create my library,after followed Erel's example. I have never known about Java and Eclipse before,but I just buy the Thai book about java. Please help me that How to use "import anywheresoftware.b4a.BA.ShortName;" ? .I can not refer it.
P.S. I learn java code for only make B4A's libraries,because I love B4A.
Best Regards
Theera
 
Last edited:

Theera

Well-Known Member
Licensed User
Longtime User
How to call(reference) import anywheresoftware.b4a.ba.ShortName
I must add add BAShare.jar and Core.jar before?
Best Regards
Theera
 

barx

Well-Known Member
Licensed User
Longtime User
When creating any library for b4a you should add the core.jar, BAShared.jar and the latest Android.jar
 

Theera

Well-Known Member
Licensed User
Longtime User
When creating any library for b4a you should add the core.jar, BAShared.jar and the latest Android.jar

Thank you,Barx .In post #1,Why is not autocomplete when I import as same as Erel's example. What do I do something be wrong?

Best Regards
Theera
 

Theera

Well-Known Member
Licensed User
Longtime User
I have do them,Thank you
 

barx

Well-Known Member
Licensed User
Longtime User
How are you adding the 3 .jar files. I do not have a Referenced Libraries section on the left hand pane. Maybe your adding them wrong.
 

Theera

Well-Known Member
Licensed User
Longtime User
How are you adding the 3 .jar files. I do not have a Referenced Libraries section on the left hand pane. Maybe your adding them wrong.

Hi Barx,
My language is not surely. I had been adding the three jar files with right-clicked at Referenced Libraries.

Best regards
Theera
 
Last edited:
Top