When I used to write an android project, I never added external javadoc. jar, it is not clear how to use this javadoc. Today I am writing an AR application and using the wikbench Development Kit. Of course, he also comes with javadoc. jar, specially studied. When we use an external source code package (open-source or non-open-source), we usually come with a development document called javadoc, in this document, we can directly open and view the usage of various classes and methods. However, since eclipse is very powerful, we can directly import Javadoc and then writeCodeAutomatic real-time prompts. Why don't we use this convenient feature?
Import javadoc. the jar method is as follows. First, we use the source package wikitudesdk. jar and javadoc packages javadoc. copy all jar files to the libs folder in the project view (if there is no libs folder in the project root directory, create a new one ), click project name, right click, properties, find Java build path, libraries, add jar, and find wikitudesdk in the libs folder of the project. jar. Now back to the project view, we can see that the root directory of the project shows wikitudesdk. Jar (note that it is not in the libs folder !), Right-click this wikitudesdk. jar and you will see build path, configure build path, find javadoc location, edit, javadoc in archive, and find javadoc. jar in the libs folder.
OK. Now, as long as you use the class in this package in the Code, the prompt will pop up automatically when you call the method. It has the parameter type and function, which is very convenient! Thank you ~~