While the Android project uses make to drive a specialized doclet called droiddoc and a jni extension of the claersilver template engine you can use DocLava to come close as you will than have a specialize doclet with the java version of clearsilve(jsilver) as the template engine.
Posts Tagged ‘Javadoc’
Getting JavaDocs like Android
Posted: April 1, 2011 in Android, JavaTags: DocLava, DroidDoc, Javadoc
0
There are some javadoc errors that I see when developers attempt to produce javadoc for an Android application project. One, not specifying the android.jar as a classpath parameter and the second is not specifying what Androdi SDK version in th e footer some place:
<target name="javadoc"> <javadoc sourcepathref="javadoc.source" destdir="javadocs" overview="src/overview.html" classpath="${sdk-android-jar}" private="true" windowtitle="${taglets.windowtitle}" additionalparam=""> <!-- Use a nice documentation title --> <doctitle> AndroidAppANTBuild</br> API Specification </doctitle> <!-- Create a header that contains the taglets logo --> <!-- Note the use of the {@docRoot} tag to link to the logo --> <header> <img src="{@docRoot}/resources/logo.png" width="88" height="40" border="0" > </header> <!-- Same for the footer --> <footer> <img src="{@docRoot}/resources/logo.png" width="88" height="40" > </footer> <!-- Include a timestamp at the bottom of the docu generated --> <!-- Note the use of ${timestamp} which was created by the --> <!-- <tstamp> task at the start of this target --> <bottom> <p align="right"> <font class="NavBarFont1" size="-1"> Android SDK Verion ${sdk.version}<br> ANdroidAppANTBuild<br> API Spec<br> ${TSTAMP} ${DSTAMP} </font> </p> </bottom> </javadoc> </target>
Remember, there is no separate javadoc for the SDK online so you really can not use a link parameter and thus identifying the SDK version in footer helps.