I am a Delphi programmer and have written, over the years, hundreds of classes and routines which I can use in every Delphi program I write.
This library
If your library is in .java files composed of java code. There's a really detailed tutorial of how to use the library at mobile.tutsplus.com. Link below:
http://mobile.tutsplus.com/tutorials/android/android-essentials-creating-android-compliant-libraries/
For Example I wanted to use the Pull To Refresh library by Chrisbanes at Github.com here https://github.com/chrisbanes/Android-PullToRefresh/tree/master/library. The library's structure is in the form of an Android app. It has the form like below:
res/
src/
AndroidManifest.xml
pom.xml
project.properties
How to use on Eclipse: