Differences between revisions 2 and 3
Revision 2 as of 2012-04-07 08:18:36
Size: 1466
Editor: FilMaj
Comment: Expanded on steps to adding a new platform. Added examples.
Revision 3 as of 2012-12-10 21:14:40
Size: 1436
Editor: MarcelKinard
Comment: removed 'incubating' from repo names
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
 * Integrate a new platform into the [[http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=summary|cordova-js project]]. This is a common API for sending messages and triggering error and success callbacks with native framework responses.
 * Ensure the [[http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-mobile-spec.git;a=summary|mobile-spec tests]] pass
 * Update the [[http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-docs.git;a=summary|documentation]] where applicable, specifically:
 * Integrate a new platform into the [[http://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=summary|cordova-js project]]. This is a common API for sending messages and triggering error and success callbacks with native framework responses.
 * Ensure the [[http://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;a=summary|mobile-spec tests]] pass
 * Update the [[http://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;a=summary|documentation]] where applicable, specifically:

Adding A New Apache Cordova Platform

A "native" platform implementation is generally instantiated with the following steps:

  • Instantiate a chromeless browser. Examples include:
  • Load packaged www assets (HTML/CSS/JS)
    • TODO: provide examples of this for different platforms
  • Enable a bridge between native framework and the web view
    • TODO: provide examples of this for different platforms
  • Integrate a new platform into the cordova-js project. This is a common API for sending messages and triggering error and success callbacks with native framework responses.

  • Ensure the mobile-spec tests pass

  • Update the documentation where applicable, specifically:

    • Quirks sections, such as if some APIs or methods are not supported.

AddingNewPlatforms (last edited 2012-12-10 21:14:40 by MarcelKinard)