6

I'm searching for the Javadoc of the Phonegap Android API, for the classes like DroidGap and the others in the phonegapp jar.

I didn't find it on the Phonegap site or wiki.

Is there an online version of this documentation ? Is this part of the support ?

Thank you,

Raphaël Lemaire
  • 1,269
  • 1
  • 13
  • 23

2 Answers2

4

Try building them yourself.

I downloaded the source from GitHub, extracted it, and then at the command line did:

javadoc -d docs -sourcepath framework/src/ com.phonegap

I did this from within the folder where the files were extracted.

docs/ is the name of the new folder it created, in there is an index.html I was able to launch int he browser.

Jason Dean
  • 9,585
  • 27
  • 36
  • 6
    It's working of course. I uploaded the doc on my site : http://raphael-lemaire.com/phonegapjavadocs/index.html – Raphaël Lemaire Oct 04 '11 at 10:14
  • 2
    Ok, apparently the link above is a casualty of the move from PhoneGap to Cordova. It was actually pretty painful to get a URL to the Apache Cordova git repo, but here it is: https://git-wip-us.apache.org/repos/asf/incubator-cordova-android.git Once I got that, I just wanted to generate Javadocs for the full source tree, but apparently *that* is painful as well. Here's the magic answer: http://stackoverflow.com/questions/4709692/generic-javadoc-command-that-always-generates-all-javadocs-in-a-given-tree – Scott Means Jul 29 '12 at 18:26
  • And to follow up on Scott's comment, the actual git clone URL is https://git-wip-us.apache.org/repos/asf/incubator-cordova-android.git – Lawrence Kesteloot Nov 14 '12 at 00:13
  • None of the links in the answer or any of the comments work apart from the one linking to another SO question. Where to get the sources? – Timo Dec 14 '14 at 10:20
-2

Follow the bellow link.

http://docs.phonegap.com/en/1.1.0/index.html

This link consist of the API references for the PhoneGap.

Balaji.K
  • 8,745
  • 5
  • 30
  • 39