How to generate custom javadoc for android 1.4 compatibility package?
The reference docs are available online ( example ), but is there some place where I can get a zip with javadoc available offline?
I suppose using the javadoc would be pretty simple, just a matter of setting the javadoc location for the compatibility jar.
Source: Tips4all
You can generate your javadoc offline on your own from the source code. Just navigate to your android sdk directory then do the following
ReplyDeletecd <path_to_android_sdk>/extras/android/compatibility/v4/
mkdir docs
javadoc -d docs -sourcepath src\java -subpackages android.support.v4
This will generate your javadocs for you locally in the docs directory that you just created.
Then in your eclipse android project, go to your project properties where you added the your android-support-v4.jar, edit it's properties and add the the path to the javadocs you just created.
That should work!
The answer by @wnafee is spot on, but if you are using Linux don't forget to use the forward slash character at this location like src/java.
ReplyDelete