How to create your own library for Android development to be used in every program you write?

后端 未结 5 1391
Happy的楠姐
Happy的楠姐 2020-11-28 02:37

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

5条回答
  •  南笙
    南笙 (楼主)
    2020-11-28 03:22

    With java, you create a Java Archive (jar) that contains all your classes (*.class files) of that library and the jar file is your library.

    To use it, simply add it to the classpath.

    (For "jar" and "classpath": basic Java concepts, please use google to find tutorials, you'll have to understand those concepts anyway, the sooner, the better ;) )

提交回复
热议问题