Referencing libraries in sample projects

PhilipBrown

Active Member
Licensed User
Longtime User
When using sample projects (such as those which are often included with additional libraries) there does not seem to be an easy way to discover which libraries need to be referenced. I believe the only way to find out is to run or compile the project and inspect the error message. You then need to download the library and re-start B4A. Since the compiler stops at the first error, you need to repeat this procedure for each missing library. It's very inefficient!

One simple solution would be if the author could include a comment stating which libraries are needed. Indeed if a comment block were added to the template it would encourage authors to document their code.
 

thedesolatesoul

Expert
Licensed User
Longtime User
Yes, that is a problem you will experience in the beginning but there will come a point where you already have all the libraries and you wont need to worry about it anymore!!
Also as Erel said you dont need to restart the IDE.

However, Erel, is there a way to add a preprocessor command to automatically refresh the libraries tab? I have to do that a lot when debugging libraries.
 
Upvote 0

PhilipBrown

Active Member
Licensed User
Longtime User
Bulk download of libraries

I started to install all libraries but many of them require configuration so I think it's best only to install them as required.

It's a bit like wandering through a new and exciting landscape. You want to visit every tourist attraction but once you get inside there's too much to see to move on to the next.

One step at a time, I guess.
 
Upvote 0
Top