In our Android project, our code is JavaDoc'd and that generates everything properly. However, any reference to the Android API classes/functions results in a JavaDoc error and a link to the relevant information is not generated. Instead we get plaintext class names. How can we set up Eclipse to turn these into links to 开发者_Python百科the online Android API reference (preferably) or a local copy (if necessary)?
If you have the "Documentation for Android" package and the javadoc info still isn't showing up, make sure the Android library settings point to the right folder:
Project -> Settings -> Java Build Path, Libraries tab
Android X.X -> Android.jar -> Javadoc Location:
Should be something like "sdk_root/docs/reference/".
And to view the docs for a class in editor for example:
you should choose show attached java doc in web browser from to popup that appear when hover the cursor on some declaration.
Install "Documentation for Android SDK" package using Android SDK and AVD Manager.
This answer is new and might not been available on 2010 when the question been asked And these docs include android SDK docs which many developers need and google app engine too
Detailed steps for the above link .. for indigo
middle reference
精彩评论