How to add an external javadoc. jar package to the android project of eclipse for convenient development

Source: Internet
Author: User

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 ~~

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.