Documentation?

6 views
Skip to first unread message

jacco

unread,
Apr 20, 2011, 5:49:57 AM4/20/11
to phonegap
Hi everyone,

Just started using PhoneGap and love it.
The more I use it though, the more often I come across references to
phonegaps keywords, functions etcetera that are not documented, or
actually: for which I cannot seem to find any documentation. As an
example: I tried to implement a back button handler (android) and
after *much* googling found that I needed to run
BackButton.override() first. It turns out BackButton also contains a
method exitApp().
I couldn't find any docs on this.
Not could I find for instance any reference to the event
backKeyDown... or there more predfined events?, the docs only mention
onDeviceReady..

Am I looking in the wrong places? (docs.phonegap.com)

Thanks in advance & regards.

Simon MacDonald

unread,
Apr 21, 2011, 10:41:10 PM4/21/11
to phon...@googlegroups.com
No, you are not looking in the wrong places. We tend to leave things
undocumented when they have not yet solidified. For instance
BackButton.override() which is only available in Android is being
phased out in favour of navigator.app.overrideBackbutton(). It didn't
make sense to document something that was changing.

Also, when things are supported across the major platforms they don't
tend to get documentation. Events will be supported in iOS, BB and
Android for 0.9.5 so expect and update on documentation as well.

Simon Mac Donald
http://hi.im/simonmacdonald

> --
> You received this message because you are subscribed to the Google
> Groups "phonegap" group.
> To post to this group, send email to phon...@googlegroups.com
> To unsubscribe from this group, send email to
> phonegap+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/phonegap?hl=en?hl=en
>
> For more info on PhoneGap or to download the code go to www.phonegap.com
>

Reply all
Reply to author
Forward
0 new messages