While creating my JavaDoc for an Android project, I'd like to include a link to the offical online reference of Android when clicking on Android classes/packages.
As far as I know most people do this, using a linkoffline, providing the package list of android. But I there is no such file/directory android-sdk\docs\reference
Current ant file:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project
name="api docs"
basedir="."
default="doc" >
<target
name="doc"
description="my docs" >
<javadoc
access="private"
classpath="C:\Program Files (x86)\Android\android-sdk\platforms\android-4\android.jar;.\libs\admob-sdk-android.jar"
destdir="docs"
doctitle="Testing the Title"
packagenames="*"
sourcepath="src"
stylesheetfile="C:\Users\Johannes Staehlin\development\android\UITheme\doc\stylesheet.css"
use="true"
verbose="on" >
<link
href="http://d.android.com/reference"
offline="true"
packagelistloc="C:\Program Files (x86)\Android\android-sdk\docs\reference" > // <--- DOES NOT EXIST
</link>
</javadoc>
</target>
</project>
BTW: I still get some warnings like
cannot find symbol
[javadoc] public class MeetingListFragment extends Fragment {
You must install documentation for one of the Android APIs using the Android SDK Manager.