You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mw...@apache.org on 2013/11/27 02:27:00 UTC
[2/4] Updated for amazon-fireos related changes. Updated docs for
camera plugin to include Amazon Fire OS as a platform Updated docs for
contacts plugin to include Amazon Fire OS as a platform Updated docs for
device plugin to include Amazon Fire OS as a
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a9156c3d/docs/en/edge/guide/platforms/amazonfireos/plugin.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/amazonfireos/plugin.md b/docs/en/edge/guide/platforms/amazonfireos/plugin.md
new file mode 100644
index 0000000..fb1a7ab
--- /dev/null
+++ b/docs/en/edge/guide/platforms/amazonfireos/plugin.md
@@ -0,0 +1,101 @@
+---
+license: Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+---
+
+# Amazon Fire OS Plugins
+
+Follow the instructions provided in the Android Plugins Guide for an overview of developing custom plugins.
+
+## Echo Amazon Fire OS Plugin Example
+
+To match the JavaScript interface's _echo_ feature described in
+Application Plugins, use the `plugin.xml` to inject a `feature`
+specification to the local platform's `config.xml` file:
+
+ <platform name="amazon-fireos">
+ <config-file target="config.xml" parent="/*">
+ <feature name="Echo">
+ <param name="android-package" value="org.apache.cordova.plugin.Echo"/>
+ </feature>
+ </config-file>
+ </platform>
+
+Then add the following to the
+`src/org/apache/cordova/plugin/Echo.java` file:
+
+ package org.apache.cordova.plugin;
+
+ import org.apache.cordova.CordovaPlugin;
+ import org.apache.cordova.CallbackContext;
+
+ import org.json.JSONArray;
+ import org.json.JSONException;
+ import org.json.JSONObject;
+
+ /**
+ * This class echoes a string called from JavaScript.
+ */
+ public class Echo extends CordovaPlugin {
+
+ @Override
+ public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException {
+ if (action.equals("echo")) {
+ String message = args.getString(0);
+ this.echo(message, callbackContext);
+ return true;
+ }
+ return false;
+ }
+
+ private void echo(String message, CallbackContext callbackContext) {
+ if (message != null && message.length() > 0) {
+ callbackContext.success(message);
+ } else {
+ callbackContext.error("Expected one non-empty string argument.");
+ }
+ }
+ }
+
+
+If you want to reuse Android Plugin code for the Amazon Fire OS platform then modify the plugin.xml to point to the `android` specific source file. For example,
+
+ <platform name="amazon-fireos">
+ <config-file target="config.xml" parent="/*">
+ <feature name="Echo">
+ <param name="android-package" value="org.apache.cordova.plugin.Echo"/>
+ </feature>
+ </config-file>
+ <source-file src="src/android/Echo.java" target-dir="src/org/apache/cordova/plugin" />
+ </platform>
+
+If you want to write a customized plugin for the Amazon Fire OS platform then create a folder named `amazon` under your plugin src/ folder and modify the plugin.xml to point to the `amazon` specific source file. For example,
+
+ <platform name="amazon-fireos">
+ <config-file target="config.xml" parent="/*">
+ <feature name="Echo">
+ <param name="android-package" value="org.apache.cordova.plugin.Echo"/>
+ </feature>
+ </config-file>
+ <source-file src="src/amazon/Echo.java" target-dir="src/org/apache/cordova/plugin" />
+ </platform>
+
+## Using Amazon WebView in your plugin
+
+Cordova for Amazon Fire OS makes use of custom Amazon WebView that is built on the open-source Chromium project. It is GPU accelerated and optimized for fluid performance on Kindle Fire.
+
+To understand how to best use Amazon WebView in your project, check out the [Amazon Developer Portal](http://developer.amazon.com).
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a9156c3d/docs/en/edge/guide/platforms/amazonfireos/webview.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/amazonfireos/webview.md b/docs/en/edge/guide/platforms/amazonfireos/webview.md
new file mode 100644
index 0000000..622a4f0
--- /dev/null
+++ b/docs/en/edge/guide/platforms/amazonfireos/webview.md
@@ -0,0 +1,113 @@
+---
+license: Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+---
+
+# Amazon Fire OS WebViews
+
+Beginning with 3.0.0, you can use Cordova as a component in Amazon Fire OS applications. Amazon Fire OS refers to this component as `CordovaWebView`. `CordovaWebView` extends Amazon WebView that is built on the open source Chromium Project. By leveraging this feature, your web apps can utilize the latest HTML5 web standards running in a modern web runtime engine.
+
+## Prerequisites
+
+* Cordova 3.0.0 or greater
+
+* Android SDK updated to the latest SDK
+
+* Amazon WebView SDK
+
+## Guide to using CordovaWebView in a Amazon Fire OS Project
+
+1. Download and expand the [Amazon WebView SDK](http://developer.amazon.com) , then copy the awv_interface.jar into `/framework/libs` directory. Create a libs/ folder if it doesn't exist.
+
+2. `cd` into `/framework` and run `ant jar` to build the cordova jar. It creates the .jar file formed as `cordova-x.x.x.jar` in the `/framework` directory.
+
+3. Edit your application's `main.xml` file (under `/res/layout`) to look like the following, with the `layout_height`, `layout_width` and `id` modified to suit your application:
+
+ <org.apache.cordova.CordovaWebView
+ android:id="@+id/tutorialView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+
+4. Modify your activity so that it implements the `CordovaInterface`. You should implement the included methods. You may wish to copy them from `/framework/src/org/apache/cordova/CordovaActivity.java`, or implement them on your own. The code fragment below shows a basic application that uses the interface. Note how the referenced view id matches the `id` attribute specified in the XML fragment shown above:
+
+ public class CordovaViewTestActivity extends Activity implements CordovaInterface {
+ CordovaWebView cwv;
+ /* Called when the activity is first created. */
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.main);
+ cwv = (CordovaWebView) findViewById(R.id.tutorialView);
+ Config.init(this);
+ cwv.loadUrl(Config.getStartUrl());
+ }
+
+If you use the camera, you should also implement this:
+
+ @Override
+ public void setActivityResultCallback(CordovaPlugin plugin) {
+ this.activityResultCallback = plugin;
+ }
+ /**
+ * Launch an activity for which you would like a result when it finished. When this activity exits,
+ * your onActivityResult() method is called.
+ *
+ * @param command The command object
+ * @param intent The intent to start
+ * @param requestCode The request code that is passed to callback to identify the activity
+ */
+ public void startActivityForResult(CordovaPlugin command, Intent intent, int requestCode) {
+ this.activityResultCallback = command;
+ this.activityResultKeepRunning = this.keepRunning;
+
+ // If multitasking turned on, then disable it for activities that return results
+ if (command != null) {
+ this.keepRunning = false;
+ }
+
+ // Start activity
+ super.startActivityForResult(intent, requestCode);
+ }
+
+ @Override
+ /**
+ * Called when an activity you launched exits, giving you the requestCode you started it with,
+ * the resultCode it returned, and any additional data from it.
+ *
+ * @param requestCode The request code originally supplied to startActivityForResult(),
+ * allowing you to identify who this result came from.
+ * @param resultCode The integer result code returned by the child activity through its setResult().
+ * @param data An Intent, which can return result data to the caller (various data can be attached to Intent "extras").
+ */
+ protected void onActivityResult(int requestCode, int resultCode, Intent intent) {
+ super.onActivityResult(requestCode, resultCode, intent);
+ CordovaPlugin callback = this.activityResultCallback;
+ if (callback != null) {
+ callback.onActivityResult(requestCode, resultCode, intent);
+ }
+ }
+
+Finally, remember to add the thread pool, otherwise the plugins have no threads to run on:
+
+ @Override
+ public ExecutorService getThreadPool() {
+ return threadPool;
+ }
+
+6. Copy your application's HTML and JavaScript files to your Amazon Fire OS project's `/assets/www` directory.
+
+7. Copy `config.xml` from `/framework/res/xml` to your project's `/res/xml` directory.
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a9156c3d/docs/en/edge/guide/support/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/support/index.md b/docs/en/edge/guide/support/index.md
index b0d1eab..6e21940 100644
--- a/docs/en/edge/guide/support/index.md
+++ b/docs/en/edge/guide/support/index.md
@@ -31,6 +31,7 @@ CLI's shorthand stubs.)
<thead>
<tr>
<th></td>
+ <th><tt>amazon-fireos</tt></th>
<th><tt>android</tt></th>
<th><tt>blackberry</tt> (6)</th>
<th><tt>blackberry10</tt></th>
@@ -47,6 +48,7 @@ CLI's shorthand stubs.)
<tbody>
<tr>
<th><a href="guide_cli_index.md.html">cordova<br/>CLI</a></th>
+ <td data-col="amazon-fireos" class="y">Mac, Windows, Linux</td>
<td data-col="android" class="y">Mac, Windows, Linux</td>
<td data-col="blackberry" class="n">Mac, Windows</td>
<td data-col="blackberry10" class="y">Mac, Windows</td>
@@ -60,6 +62,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="guide_hybrid_webviews_index.md.html">Embedded<br/>WebView</a></th>
+ <td data-col="amazon-fireos" class="y"><a href="guide_platforms_amazonfireos_webview.md.html">(see details)</a></td>
<td data-col="android" class="y"><a href="guide_platforms_android_webview.md.html">(see details)</a></td>
<td data-col="blackberry" class="n"></td>
<td data-col="blackberry10" class="n"></td>
@@ -73,6 +76,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="guide_hybrid_plugins_index.md.html">Plug-in<br/>Interface</a></th>
+ <td data-col="amazon-fireos" class="y"><a href="guide_guide_platforms_amazonfireos_plugin.md.html">(see details)</a></td>
<td data-col="android" class="y"><a href="guide_guide_platforms_android_plugin.md.html">(see details)</a></td>
<td data-col="blackberry" class="y"><a href="guide_guide_platforms_blackberry_plugin.md.html">(see details)</a></td>
<td data-col="blackberry10" class="y"><a href="guide_guide_platforms_blackberry10_plugin.md.html">(see details)</a></td>
@@ -91,6 +95,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="cordova_accelerometer_accelerometer.md.html">Accelerometer</a></th>
+ <td data-col="amazon-fireos" class="y"></td>
<td data-col="android" class="y"></td>
<td data-col="blackberry" class="y"></td>
<td data-col="blackberry10" class="y"></td>
@@ -104,6 +109,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="cordova_camera_camera.md.html">Camera</a></th>
+ <td data-col="amazon-fireos" class="y"></td>
<td data-col="android" class="y"></td>
<td data-col="blackberry" class="y"></td>
<td data-col="blackberry10" class="y"></td>
@@ -117,6 +123,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="cordova_media_capture_capture.md.html">Capture</a></th>
+ <td data-col="amazon-fireos" class="y"></td>
<td data-col="android" class="y"></td>
<td data-col="blackberry" class="y"></td>
<td data-col="blackberry10" class="y"></td>
@@ -130,6 +137,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="cordova_compass_compass.md.html">Compass</a></th>
+ <td data-col="amazon-fireos" class="y"></td>
<td data-col="android" class="y"></td>
<td data-col="blackberry" class="n"></td>
<td data-col="blackberry10" class="y"></td>
@@ -143,6 +151,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="cordova_connection_connection.md.html">Connection</a></th>
+ <td data-col="amazon-fireos" class="y"></td>
<td data-col="android" class="y"></td>
<td data-col="blackberry" class="y"></td>
<td data-col="blackberry10" class="y"></td>
@@ -156,6 +165,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="cordova_contacts_contacts.md.html">Contacts</a></th>
+ <td data-col="amazon-fireos" class="y"></td>
<td data-col="android" class="y"></td>
<td data-col="blackberry" class="y"></td>
<td data-col="blackberry10" class="y"></td>
@@ -169,6 +179,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="cordova_device_device.md.html">Device</a></th>
+ <td data-col="amazon-fireos" class="y"></td>
<td data-col="android" class="y"></td>
<td data-col="blackberry" class="y"></td>
<td data-col="blackberry10" class="y"></td>
@@ -182,6 +193,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="cordova_events_events.md.html">Events</a></th>
+ <td data-col="amazon-fireos" class="y"></td>
<td data-col="android" class="y"></td>
<td data-col="blackberry" class="y"></td>
<td data-col="blackberry10" class="y"></td>
@@ -195,6 +207,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="cordova_file_file.md.html">File</a></th>
+ <td data-col="amazon-fireos" class="y"></td>
<td data-col="android" class="y"></td>
<td data-col="blackberry" class="y"></td>
<td data-col="blackberry10" class="y"></td>
@@ -208,6 +221,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="cordova_geolocation_geolocation.md.html">Geolocation</a></th>
+ <td data-col="amazon-fireos" class="y"></td>
<td data-col="android" class="y"></td>
<td data-col="blackberry" class="y"></td>
<td data-col="blackberry10" class="y"></td>
@@ -221,6 +235,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="cordova_globalization_globalization.md.html">Globalization</a></th>
+ <td data-col="amazon-fireos" class="y"></td>
<td data-col="android" class="y"></td>
<td data-col="blackberry" class="y"></td>
<td data-col="blackberry10" class="n"></td>
@@ -234,6 +249,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="cordova_inappbrowser_inappbrowser.md.html">InAppBrowser</a></th>
+ <td data-col="amazon-fireos" class="y"></td>
<td data-col="android" class="y"></td>
<td data-col="blackberry" class="y"></td>
<td data-col="blackberry10" class="y"></td>
@@ -247,6 +263,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="cordova_media_media.md.html">Media</a></th>
+ <td data-col="amazon-fireos" class="y"></td>
<td data-col="android" class="y"></td>
<td data-col="blackberry" class="n"></td>
<td data-col="blackberry10" class="y"></td>
@@ -260,6 +277,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="cordova_notification_notification.md.html">Notification</a></th>
+ <td data-col="amazon-fireos" class="y"></td>
<td data-col="android" class="y"></td>
<td data-col="blackberry" class="y"></td>
<td data-col="blackberry10" class="y"></td>
@@ -273,6 +291,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="cordova_splashscreen_splashscreen.md.html">Splashscreen</a></th>
+ <td data-col="amazon-fireos" class="y"></td>
<td data-col="android" class="y"></td>
<td data-col="blackberry" class="n"></td>
<td data-col="blackberry10" class="y"></td>
@@ -286,6 +305,7 @@ CLI's shorthand stubs.)
<tr>
<th><a href="cordova_storage_storage.md.html">Storage</a></th>
+ <td data-col="amazon-fireos" class="y"></td>
<td data-col="android" class="y"></td>
<td data-col="blackberry" class="y"></td>
<td data-col="blackberry10" class="y"></td>
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a9156c3d/docs/en/edge/plugin_ref/plugman.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/plugin_ref/plugman.md b/docs/en/edge/plugin_ref/plugman.md
index 2c18a5b..33442cc 100644
--- a/docs/en/edge/plugin_ref/plugman.md
+++ b/docs/en/edge/plugin_ref/plugman.md
@@ -1,5 +1,5 @@
---
- license: Licensed to the Apache Software Foundation (ASF) under one
+license: Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
@@ -61,7 +61,7 @@ listed on the Platform Guides page.
Once you have installed Plugman and have created a Cordova project, you can start adding plugins to the platform with:
- $ plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin <name|url|path> [--plugins_dir <directory>] [--www <directory>] [--variable <name>=<value> [--variable <name>=<value> ...]]
+ $ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin <name|url|path> [--plugins_dir <directory>] [--www <directory>] [--variable <name>=<value> [--variable <name>=<value> ...]]
Using minimum parameters, this command installs a plugin into a cordova project. You must specify a platform and cordova project location for that platform. You also must specify a plugin, with the different `--plugin` parameter forms being:
@@ -79,7 +79,8 @@ Other parameters:
To uninstall a plugin, you simply pass the `--uninstall` flag and provide the plugin ID.
- $ plugman --uninstall --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin <id> [--www <directory>] [--plugins_dir <directory>]
+ $ plugman --uninstall --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin <id> [--www <directory>] [--plugins_dir <directory>]
+
## Help Commands
@@ -127,7 +128,7 @@ You can get information about any specific plugin stored in the plugin repositor
plugman info <id>
-This will contact the plugin registry and fetch information such as the plugin's version number.
+This will contact the plugin registry and fetch information such as the plugin's version number.
## Installing Core Plugins
@@ -138,72 +139,55 @@ platform, and reference the platform's project directory.
* cordova-plugin-battery-status
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.battery-status
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.battery-status
* cordova-plugin-camera
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.camera
-
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.camera
+
* cordova-plugin-console
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.console
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.console
* cordova-plugin-contacts
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.contacts
-
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.contacts
+
* cordova-plugin-device
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.device
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.device
* cordova-plugin-device-motion (accelerometer)
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.device-motion
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.device-motion
* cordova-plugin-device-orientation (compass)
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.device-orientation
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.device-orientation
* cordova-plugin-dialogs
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.dialogs
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.dialogs
* cordova-plugin-file
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.file
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.file
* cordova-plugin-file-transfer
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.file-transfer
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.file-transfer
* cordova-plugin-geolocation
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.geolocation
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.geolocation
* cordova-plugin-globalization
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.globalization
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.globalization
* cordova-plugin-inappbrowser
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.inappbrowser
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.inappbrowser
* cordova-plugin-media
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.media
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.media
* cordova-plugin-media-capture
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.media-capture
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.media-capture
* cordova-plugin-network-information
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.network-information
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.network-information
* cordova-plugin-splashscreen
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.splashscreen
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.splashscreen
* cordova-plugin-vibration
-
- plugman --platform <ios|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.vibration
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin org.apache.cordova.vibration
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a9156c3d/docs/en/edge/plugin_ref/spec.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/plugin_ref/spec.md b/docs/en/edge/plugin_ref/spec.md
index 7ef2fd9..f4a6bdf 100644
--- a/docs/en/edge/plugin_ref/spec.md
+++ b/docs/en/edge/plugin_ref/spec.md
@@ -91,22 +91,21 @@ in order to override the catch-all `cordova` engine:
<engine name="cordova-ios" version=">=1.7.1" />
</engines>
-Here's a list of the default engines that the `<engine>` tag supports:
-* `cordova`
-* `cordova-plugman`
-* `cordova-android`
-* `cordova-ios`
-* `cordova-blackberry10`
-* `cordova-wp7`
-* `cordova-wp8`
-* `cordova-windows8`
-* `android-sdk` // returns the highest Android api level installed
-* `apple-xcode` // returns the xcode version
-* `apple-ios` // returns the highest iOS version installed
-* `apple-osx` // returns the OSX version
-* `blackberry-ndk` // returns the native blackberry SDK version
-* `windows-os` // returns the Windows OS version
-* `windows-sdk` // returns the MSBuild version
+Here's a list of the default engines that the '<engine>' tag supports:
+* 'cordova'
+* 'cordova-plugman'
+* 'cordova-amazon-fireos'
+* 'cordova-android'
+* 'cordova-ios'
+* 'cordova-blackberry10'
+* 'cordova-wp7'
+* 'cordova-wp8'
+* 'cordova-windows8'
+* 'android-sdk' // returns the highest Android api level installed
+* 'apple-xcode' // returns the xcode version
+* 'apple-ios' // returns the highest iOS version installed
+* 'apple-osx' // returns the OSX version
+* 'blackberry-ndk' // returns the native blackberry SDK version
Specifying custom Apache Cordova-based frameworks should be listed under the engine tag like so:
@@ -343,6 +342,7 @@ associating the element's children with that platform.
Platform names should be lowercase. Platform names, as arbitrarily
chosen, are listed:
+* amazon-fireos
* android
* bb10
* ios