You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by Apache Wiki <wi...@apache.org> on 2012/04/07 10:18:37 UTC

[Cordova Wiki] Update of "AddingNewPlatforms" by FilMaj

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cordova Wiki" for change notification.

The "AddingNewPlatforms" page has been changed by FilMaj:
http://wiki.apache.org/cordova/AddingNewPlatforms?action=diff&rev1=1&rev2=2

Comment:
Expanded on steps to adding a new platform. Added examples.

- Stub page for adding a new Apache Cordova platform.
+ = Adding A New Apache Cordova Platform =
  
+ A "native" platform implementation is generally instantiated with the following steps:
-   * create a "native" platform implementation
-   ** instantiate a chromeless browser
-   ** load packaged www assets (HTML/CSS/JS)
-   ** enabling a bridge between native and the webview {{{Cordova.exec}}}
-   * integrate a new platform into cordova-js repo [1]
-   * ensure the mobile-spec tests pass [2]
-   * update quirks sections to docs where applicable [3]
  
+  * Instantiate a chromeless browser. Examples include:
+   * [[http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWebView_Class/|iOS WebView]]
+   * [[http://developer.android.com/reference/android/webkit/WebView.html|Android WebView]]
+   * The [[https://bdsc.webapps.blackberry.com/html5/|BlackBerry WebWorks framework]] instantiates its own chromeless browser
+   * [[http://msdn.microsoft.com/en-us/library/microsoft.phone.controls.webbrowser(v=vs.92).aspx|Windows Phone 7 WebBrowser]]
+  * 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 [[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:
+   * Quirks sections, such as if some APIs or methods are not supported.
+