|
Size: 1466
Comment: Expanded on steps to adding a new platform. Added examples.
|
← Revision 3 as of 2012-12-10 21:14:40 ⇥
Size: 1436
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:
The BlackBerry WebWorks framework instantiates its own chromeless browser
- 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.