Reputation: 411
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 the online Android API reference (preferably) or a local copy (if necessary)?
Upvotes: 41
Views: 23206
Reputation: 9581
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
Upvotes: 3
Reputation: 21171
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.
Upvotes: 39
Reputation: 1044
Install "Documentation for Android SDK" package using Android SDK and AVD Manager.
Upvotes: 9