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/09/12 19:02:15 UTC

[03/50] [abbrv] Synchronization with Crowdin

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ja/edge/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/ja/edge/config_ref/index.md b/docs/ja/edge/config_ref/index.md
index e8fa053..e0f1eb2 100644
--- a/docs/ja/edge/config_ref/index.md
+++ b/docs/ja/edge/config_ref/index.md
@@ -36,7 +36,12 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 例:
 
-        < ウィジェット >< 好みの名前 ="MySetting"値 ="true"/>< 機能名 ="MyPlugin"値 ="MyPluginClass"/>< 起源にアクセス ="*"/>< src="index.html コンテンツ"/></ウィジェット >
+        <widget>
+            <preference name="MySetting" value="true" />
+            <feature name="MyPlugin" value="MyPluginClass" />
+            <access origin="*" />
+            <content src="index.html" />
+        </widget>
     
 
 Apache コルドバでサポートされる主要プラットフォーム間でサポートされている要素のリストに従ってください。

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ja/edge/cordova/accelerometer/accelerometer.md
----------------------------------------------------------------------
diff --git a/docs/ja/edge/cordova/accelerometer/accelerometer.md b/docs/ja/edge/cordova/accelerometer/accelerometer.md
index 25711bd..b09e205 100644
--- a/docs/ja/edge/cordova/accelerometer/accelerometer.md
+++ b/docs/ja/edge/cordova/accelerometer/accelerometer.md
@@ -46,22 +46,35 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 *   (アンドロイド`app/res/xml/config.xml`)
     
-        < 機能名 =「加速」>< param の名前 =「android パッケージ」value="org.apache.cordova.AccelListener"/></機能 >
+        <feature name="Accelerometer">
+            <param name="android-package" value="org.apache.cordova.AccelListener" />
+        </feature>
         
 
 *   ブラックベリー WebWorks
     
-        (in www/plugins.xml) < 機能名 =「加速」>< param の名前「ブラックベリー パッケージ」value="org.apache.cordova.accelerometer.Accelerometer ="/></機能 > (www/config.xml) で < id="blackberry.system 機能"必要 ="true"のバージョン =「1.0.0.0」/>< id="org.apache.cordova 機能"必要 ="true"のバージョン =「1.0.0」/>
+        (in www/plugins.xml)
+        <feature name="Accelerometer">
+            <param name="blackberry-package" value="org.apache.cordova.accelerometer.Accelerometer" />
+        </feature>
+        
+        (in www/config.xml)
+        <feature id="blackberry.system"  required="true" version="1.0.0.0" />
+        <feature id="org.apache.cordova" required="true" version="1.0.0" />
         
 
 *   iOS (`config.xml`)
     
-        < 機能名 =」加速度計「>< param の名前"ios パッケージ"値を = ="CDVAccelerometer"/></機能 >
+        <feature name="Accelerometer">
+            <param name="ios-package" value="CDVAccelerometer" />
+        </feature>
         
 
 *   (Windows Phone`Properties/WPAppManifest.xml`)
     
-        < 機能 >< 機能名 ="ID_CAP_SENSORS"/></機能 >
+        <Capabilities>
+            <Capability Name="ID_CAP_SENSORS" />
+        </Capabilities>
         
     
     参照: [Windows Phone のアプリケーション マニフェスト][1]

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ja/edge/cordova/notification/notification.md
----------------------------------------------------------------------
diff --git a/docs/ja/edge/cordova/notification/notification.md b/docs/ja/edge/cordova/notification/notification.md
index b73bd5e..09c025a 100644
--- a/docs/ja/edge/cordova/notification/notification.md
+++ b/docs/ja/edge/cordova/notification/notification.md
@@ -40,17 +40,31 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 *   アンドロイド
     
-        (in app/res/xml/config.xml) < 機能名 =「通知」>< param の名前 =「android パッケージ」value="org.apache.cordova.Notification"/></機能 > (app/AndroidManifest.xml) の < 使用許可 android:name="android.permission.VIBRATE"/>
+        (in app/res/xml/config.xml)
+        <feature name="Notification">
+            <param name="android-package" value="org.apache.cordova.Notification" />
+        </feature>
+        
+        (in app/AndroidManifest.xml)
+        <uses-permission android:name="android.permission.VIBRATE" />
         
 
 *   ブラックベリー WebWorks
     
-        (in www/plugins.xml) < 機能名 =「通知」>< param の名前 =「ブラックベリー パッケージ」value="org.apache.cordova.notification.Notification"/></機能 > (www/config.xml) で < id="blackberry.ui.dialog 機能"/>
+        (in www/plugins.xml)
+        <feature name="Notification">
+            <param name="blackberry-package" value="org.apache.cordova.notification.Notification" />
+        </feature>
+        
+        (in www/config.xml)
+        <feature id="blackberry.ui.dialog" />
         
 
 *   iOS (`config.xml`)
     
-        < 機能名 =「通知」>< param の名前 = 値「ios パッケージ」="CDVNotification"/></機能 >
+        <feature name="Notification">
+            <param name="ios-package" value="CDVNotification" />
+        </feature>
         
 
 いくつかのプラットフォームは特別な構成を必要とせずにこの機能をサポート可能性があります。概要については、プラットフォームのサポートを参照してください。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ja/edge/guide/appdev/whitelist/index.md
----------------------------------------------------------------------
diff --git a/docs/ja/edge/guide/appdev/whitelist/index.md b/docs/ja/edge/guide/appdev/whitelist/index.md
index 3f3eba1..94d9392 100644
--- a/docs/ja/edge/guide/appdev/whitelist/index.md
+++ b/docs/ja/edge/guide/appdev/whitelist/index.md
@@ -76,7 +76,7 @@ Android は完全にホワイト リスト構文をサポートします。
 
 [Google.com][2]へのアクセス:
 
-    < アクセス始点 ="http://google.com"/>
+    <access origin="http://google.com" />
     
 
 ## ブラックベリー
@@ -93,22 +93,22 @@ Android は完全にホワイト リスト構文をサポートします。
 
 [Google.com][2]へのアクセス:
 
-    < uri にアクセス サブドメイン"http://google.com"= ="false"/>
+    <access uri="http://google.com" subdomains="false" />
     
 
 [Maps.google.com][4]へのアクセス:
 
-    < uri にアクセス サブドメイン"http://maps.google.com"= ="false"/>
+    <access uri="http://maps.google.com" subdomains="false" />
     
 
 [Google.com][2]でのすべてのサブドメインへのアクセス:
 
-    < uri にアクセス サブドメイン"http://google.com"= ="true"/>
+    <access uri="http://google.com" subdomains="true" />
     
 
 含むすべてのドメインへのアクセスを `file://` プロトコル。
 
-    < uri にアクセス ="*"サブドメイン ="true"/>
+    <access uri="*" subdomains="true" />
     
 
 ## iOS
@@ -127,7 +127,7 @@ IOS にワイルドカードを使用 ( `*` ) [W3C ウィジェット アクセ
 
 すべてのサブドメイン、Tld へのアクセス ( `.com` 、 `.net` 、等)。
 
-    ※ google.*
+    *.google.*
     
 
 ## Windows Phone (7 & 8)
@@ -140,7 +140,7 @@ Android は完全にホワイト リスト構文をサポートします。
 
 [Google.com][2]へのアクセス:
 
-    < アクセス始点 ="http://google.com"/>
+    <access origin="http://google.com" />
     
 
 ## Tizen
@@ -153,19 +153,19 @@ Android は完全にホワイト リスト構文をサポートします。
 
 [Google.com][2]へのアクセス:
 
-    < アクセス始点がサブドメイン"http://google.com"= ="false"/>
+    <access origin="http://google.com" subdomains="false" />
     
 
 安全な[google.com][3]へのアクセス ( `https://` )。
 
-    < アクセス始点がサブドメイン"https://google.com"= ="false"/>
+    <access origin="https://google.com" subdomains="false" />
     
 
 [Google.com][2]でのすべてのサブドメインへのアクセス:
 
-    < アクセス始点がサブドメイン"http://google.com"= ="true"/>
+    <access origin="http://google.com" subdomains="true" />
     
 
 含むすべてのドメインへのアクセスを `file://` プロトコル。
 
-    < アクセス始点 ="*"サブドメイン ="true"/>
\ No newline at end of file
+    <access origin="*" subdomains="true" />
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ja/edge/guide/platforms/android/plugin.md
----------------------------------------------------------------------
diff --git a/docs/ja/edge/guide/platforms/android/plugin.md b/docs/ja/edge/guide/platforms/android/plugin.md
index 294ba53..6923b21 100644
--- a/docs/ja/edge/guide/platforms/android/plugin.md
+++ b/docs/ja/edge/guide/platforms/android/plugin.md
@@ -31,7 +31,9 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 プラグインを追加する必要がありますあなたのプラグインを Java ファイルや独自の jar ファイルとして配布するかどうか、 `config.xml` 、コルドバ Android アプリケーションでファイル `res/xml/` ディレクトリ。
 
-    < 機能名 =「< サービス名 >」>< param の名前「android パッケージ」値を = ="< full_name_including_namespace >"/></機能 >
+    <feature name="<service_name>">
+        <param name="android-package" value="<full_name_including_namespace>" />
+    </feature>
     
 
 サービス名、JavaScript で使用されるものと一致する必要があります `exec` 呼び出し、および値は、Java クラスの完全名、名前空間を含みます。 それ以外の場合、プラグイン コンパイルしますが、まだコルドバで到達できません。
@@ -56,31 +58,81 @@ WebView に JavaScript が*なく*UI スレッド上で実行します。WebCore
 
 UI と対話する必要がある場合、次を使用する必要があります。
 
-    @Override 公共のブール値 (文字列操作、JSONArray args、最終的な CallbackContext callbackContext) を実行 JSONException がスローされます {場合 (「beep".equals(action)) {最終的な長い期間 = args.getLong(0);cordova.getActivity () .runOnUiThread (新しい Runnable() {公共 void run() {.
-                    callbackContext.success();//スレッド セーフ。
+    @Override
+    public boolean execute(String action, JSONArray args, final CallbackContext callbackContext) throws JSONException {
+        if ("beep".equals(action)) {
+            final long duration = args.getLong(0);
+            cordova.getActivity().runOnUiThread(new Runnable() {
+                public void run() {
+                    ...
+                    callbackContext.success(); // Thread-safe.
                 }
-            });返します true;} 戻り偽;}
+            });
+            return true;
+        }
+        return false;
+    }
     
 
 UI スレッド上で実行する必要がない場合 WebCore のスレッドをブロックしません。
 
-    @Override 公共のブール値 (文字列操作、JSONArray args、最終的な CallbackContext callbackContext) を実行 JSONException がスローされます {場合 (「beep".equals(action)) {最終的な長い期間 = args.getLong(0);cordova.getThreadPool () .execute (新しい Runnable() {公共 void run() {.
-                    callbackContext.success();//スレッド セーフ。
+    @Override
+    public boolean execute(String action, JSONArray args, final CallbackContext callbackContext) throws JSONException {
+        if ("beep".equals(action)) {
+            final long duration = args.getLong(0);
+            cordova.getThreadPool().execute(new Runnable() {
+                public void run() {
+                    ...
+                    callbackContext.success(); // Thread-safe.
                 }
-            });返します true;} 戻り偽;}
+            });
+            return true;
+        }
+        return false;
+    }
     
 
 ### エコー Android のプラグインの例
 
 追加するのには、次の `config.xml` ファイル。
 
-    < 機能名 =「エコー」>< param の名前 =「android パッケージ」value="org.apache.cordova.plugin.Echo"/></機能 >
+    <feature name="Echo">
+        <param name="android-package" value="org.apache.cordova.plugin.Echo" />
+    </feature>
     
 
 以下のファイルを追加し、 `src/org/apache/cordova/plugin/Echo.java` コルドバ Android アプリケーション内。
 
-    パッケージの org.apache.cordova.plugin;インポート org.apache.cordova.CordovaPlugin;インポート org.apache.cordova.CallbackContext;インポート org.json.JSONArray;インポート org.json.JSONException;インポート org.json.JSONObject;/--- このクラスは、JavaScript から呼び出す文字列をエコーします。
-     * CordovaPlugin を拡張するパブリック クラス エコー/{@Override パブリック boolean 文字列操作、JSONArray args (CallbackContext callbackContext) を実行 JSONException がスローされます {場合 (action.equals("echo")) {文字列メッセージ = args.getString(0);this.echo メッセージ (callbackContext);返します true;} 戻り偽;} 文字列メッセージ (CallbackContext callbackContext) 専用の void エコー {場合 (メッセージ ! null = & & message.length() > 0) {callbackContext.success(message);} 他 {callbackContext.error (「期待される 1 つ空でない文字列引数」);}
+    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.");
+            }
         }
     }
     

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ja/edge/guide/platforms/android/webview.md
----------------------------------------------------------------------
diff --git a/docs/ja/edge/guide/platforms/android/webview.md b/docs/ja/edge/guide/platforms/android/webview.md
index 5725f8e..fa0255a 100644
--- a/docs/ja/edge/guide/platforms/android/webview.md
+++ b/docs/ja/edge/guide/platforms/android/webview.md
@@ -42,17 +42,62 @@ Android アプリケーションの開発に慣れていないしている場合
 
 4.  あなたの活動を変更して、それを実装する、 `CordovaInterface` 。 含まれているメソッドを実装する必要があります。 それらをコピーすることができます `/framework/src/org/apache/cordova/CordovaActivity.java` 、または独自に実装します。 インターフェイスを使用して、基本的なアプリケーションを次のコード片に示します。 参照先のビュー id と一致する方法に注意してください、 `id` 上記のように XML フラグメントで指定された属性。
     
-        CordovaViewTestActivity 活動を拡張するパブリック クラスを実装 CordovaInterface {CordovaWebView cwv;/* アクティビティが最初に作成されたときに呼び出されます。 */@Override 公共ボイド onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);setContentView(R.layout.main);cwv = (CordovaWebView) findViewById(R.id.tutorialView);Config.init(this);cwv.loadUrl(Config.getStartUrl());}
+        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());
+            }
         
 
 カメラを使用する場合もこれを実装する必要があります。
 
-        @Override パブリック void setActivityResultCallback (CordovaPlugin プラグイン) {this.activityResultCallback = プラグイン;}/--- をご希望、結果それが完了したらアクティビティを起動します。 このアクティビティが終了したとき *、onActivityResult() メソッドが呼び出されます。
-         ** @param コマンド コマンド オブジェクト * @param インテントを開始するインテント * @param requestCode アクティビティを識別するためにコールバックに渡される要求コード */公共 void startActivityForResult (CordovaPlugin コマンド、意図的意図、int requestCode) {this.activityResultCallback = コマンド。this.activityResultKeepRunning = this.keepRunning;//マルチタスクがオンの場合の結果を返す場合活動無効し (コマンド! = null) {this.keepRunning = false;}//スタートの活動 super.startActivityForResult (インテント、requestCode);} @Override/--- アクティビティと、それを開始した requestCode を与えることは終了し、起動したときに呼び出されます * 返されると、resultCode とそれから追加データ。
-         要求コードはもともと startActivityForResult() に供給される ** @param requestCode * この結果から来た人を識別することができます。
-         * @param resultCode 整数結果コードは、setResult() を介して子アクティビティによって返されます。
-         * @param データ、呼び出し元に結果データを返すことができますの意図 (様々 なデータは「エクストラ」の意図に添付することができます)。
-         * void onActivityResult (int requestCode、int resultCode、インテント意図) 保護された/{super.onActivityResult requestCode、resultCode (意図);CordovaPlugin コールバック = this.activityResultCallback;場合 (コールバック! = null) {callback.onActivityResult requestCode、resultCode (意図);}
+        @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);
+            }
         }
     
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ja/edge/guide/platforms/blackberry/plugin.md
----------------------------------------------------------------------
diff --git a/docs/ja/edge/guide/platforms/blackberry/plugin.md b/docs/ja/edge/guide/platforms/blackberry/plugin.md
index b69add9..a406e1a 100644
--- a/docs/ja/edge/guide/platforms/blackberry/plugin.md
+++ b/docs/ja/edge/guide/platforms/blackberry/plugin.md
@@ -35,7 +35,9 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 プロジェクトの `www/plugins.xml` ディレクトリには、コルドバ プロジェクトのプラグインに必要な参照のすべてが含まれます。 ので参照を追加するとき `cordova.exec` はコルドバと呼ばれる、マップする方法を知っている、 `Echo` の引数 `cordova.exec` を `Echo` ネイティブは書きたいクラス。
 
-    < 機能名 =「エコー」>< param の名前 =「ブラックベリー パッケージ」value="org.apache.cordova.echo.Echo"/></機能 >
+    <feature name="Echo">
+        <param name="blackberry-package" value="org.apache.cordova.echo.Echo" />
+    </feature>
     
 
 ## Echo.java を追加します。
@@ -46,7 +48,38 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 プラグインを書くの背後にある基本的な考え方は、プラグインのクラスを拡張するクラスを作成し、呼び出されるメソッドに `execute` を返す、 `PluginResult` クラス。 すべての呼び出しに `cordova.exec` のクラスと同様に、引数内で実行するアクションで渡します。 この場合、「エコー」です「エコー」と [str] クラス内で実行するアクションで渡している引数。
 
-    パッケージの org.apache.cordova.echo;インポート org.apache.cordova.api.Plugin;インポート org.apache.cordova.api.PluginResult;インポート org.apache.cordova.json4j.JSONArray;インポート org.apache.cordova.json4j.JSONException;インポート org.apache.cordova.json4j.JSONObject;/--- ブラックベリーのプラグインをビルドする方法を示すシンプルなプラグイン * エコーがユーザーが呼び出した msg このプラグインに戻る基本的に * 公共最終クラス エコー拡張プラグイン/{パブリック静的最後の文字列のエコー =「エコー」;公共 PluginResult 実行 (文字列操作、JSONArray args、文字列 callbackId) {PluginResult 結果 = 新しい PluginResult (PluginResult.Status.INVALID_ACTION、"エコー: 無効なアクション:"+ アクション);if(action.equals(echo)) {しようと {文字列 theMsg = args.getString(0);場合 (theMsg! = null | | theMsg.length() > 0) {結果 = �
 �しい PluginResult (PluginResult.Status.OK、theMsg);} 他 {結果 = 新しい PluginResult (PluginResult.Status.ERROR、"エコーに Nothing");(JSONException e)}} catch {結果 = 新しい PluginResult (PluginResult.Status.JSON_EXCEPTION, e.getMessage());返される結果を}};}
+    package org.apache.cordova.echo;
+    
+    import org.apache.cordova.api.Plugin;
+    import org.apache.cordova.api.PluginResult;
+    import org.apache.cordova.json4j.JSONArray;
+    import org.apache.cordova.json4j.JSONException;
+    import org.apache.cordova.json4j.JSONObject;
+    /**
+     * A simple plugin to demonstrate how to build a plugin for BlackBerry
+     * Basically echos back the msg that a user calls to this plugin
+     */
+    public final class Echo extends Plugin {
+    
+        public static final String echo = "echo";
+    
+        public PluginResult execute(String action, JSONArray args, String callbackId) {
+            PluginResult result = new PluginResult(PluginResult.Status.INVALID_ACTION, "Echo: Invalid action:" + action);
+            if(action.equals(echo)){
+                try {
+                    String theMsg = args.getString(0);
+                    if(theMsg!= null || theMsg.length()>0){
+                        result = new PluginResult(PluginResult.Status.OK, theMsg);
+                    }else{
+                        result = new PluginResult(PluginResult.Status.ERROR, "Nothing to echo.");
+                    }
+                } catch (JSONException e) {
+                    result = new PluginResult(PluginResult.Status.JSON_EXCEPTION, e.getMessage());
+                }
+            }
+    
+            return result;
+        }
     
     }
     
@@ -61,7 +94,7 @@ Args パラメーターによって供給されている引数から入ってく
 
 追加された `Echo.java` プロジェクトで更新する必要があります。 構築する、 `.jar` ファイル、ブラックベリー WebWorks レポのルート ディレクトリに移動し、実行、 `ant` コマンド。
 
-    ant の更新 - Dproject.path="~/path_to_my_project"
+    ant update -Dproject.path="~/path_to_my_project"
     
 
 これは、新しい構築します `.jar` ファイルで、 `build/ext` ディレクトリ。コピー、 `build/ext/cordova.jar` にファイルを `project/www/ext` ディレクトリ。

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ja/edge/guide/platforms/ios/plugin.md
----------------------------------------------------------------------
diff --git a/docs/ja/edge/guide/platforms/ios/plugin.md b/docs/ja/edge/guide/platforms/ios/plugin.md
index 29fad7d..5f79aa5 100644
--- a/docs/ja/edge/guide/platforms/ios/plugin.md
+++ b/docs/ja/edge/guide/platforms/ios/plugin.md
@@ -90,7 +90,7 @@ CDVPluginResult を使用してを返すことができますさまざまな結
 
 我々 は、次のファイルを追加し、( `Echo.h` および `Echo.m` ) 私たちコルドバ iOS アプリケーション フォルダー内にプラグインのフォルダーに:
 
-    /--- Echo.h コルドバ プラグイン ヘッダー ---/#import < Cordova/CDV.h > @interface エコー: CDVPlugin - (void) エコー:(CDVInvokedUrlCommand*) コマンド;@end/* * * Echo.m コルドバのプラグイン実装 * * */#import"Echo.h"#import < Cordova/CDV.h > @implementation エコー - (void) エコー:(CDVInvokedUrlCommand*) コマンド {CDVPluginResult * pluginResult = nil;NSString * エコー = [command.arguments objectAtIndex:0];場合 (エコー ! = nil & & [エコー長さ] > 0) {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:echo];} 他 {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR];} [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId];} @end
+    /--- Echo.h コルドバ プラグイン ヘッダー * * */#import < Cordova/CDV.h > @interface エコー: CDVPlugin - (void) エコー:(CDVInvokedUrlCommand*) コマンド;@end/* * * Echo.m コルドバのプラグイン実装 * * */#import"Echo.h"#import < Cordova/CDV.h > @implementation エコー - (void) エコー:(CDVInvokedUrlCommand*) コマンド {CDVPluginResult * pluginResult = nil;NSString * エコー = [command.arguments objectAtIndex:0];場合 (エコー ! = nil & & [エコー長さ] > 0) {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:echo];} 他 {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR];} [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId];} @end
     
 
 コードを見てをみましょう。上部に我々 はすべての必要なコルドバ輸入があります。私たちのクラスから拡張 `CDVPlugin` (非常に重要)。

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ja/edge/guide/platforms/ios/webview.md
----------------------------------------------------------------------
diff --git a/docs/ja/edge/guide/platforms/ios/webview.md b/docs/ja/edge/guide/platforms/ios/webview.md
index 20c788f..5bde786 100644
--- a/docs/ja/edge/guide/platforms/ios/webview.md
+++ b/docs/ja/edge/guide/platforms/ios/webview.md
@@ -95,7 +95,7 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 2.  新しいインスタンス化 `CDVViewController` 、それをどこか (例えば、あなたのクラスでのプロパティ) を保持して。
     
-        CDVViewController * viewController = [新しい CDVViewController];
+        CDVViewController* viewController = [CDVViewController new];
         
 
 3.  (*省略可能です*)設定、 `wwwFolderName` プロパティ (既定値は `www` )。
@@ -105,27 +105,27 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 4.  (*省略可能です*)あなたの config.xml でスタート ページを設定、 `<content>` タグ。
     
-        < コンテンツ src="index.html"/>
+        <content src="index.html" />
         
     
     OR
     
-        < コンテンツ src ="http://apache.org"/>
+        <content src="http://apache.org" />
         
 
 5.  (*省略可能です*)設定、 `useSplashScreen` プロパティ (既定値は `NO` )。
     
-        viewController.useSplashScreen = はい;
+        viewController.useSplashScreen = YES;
         
 
 6.  **ビュー フレーム**を設定 (常に、最後のプロパティとしてこれをセット)。
     
-        viewController.view.frame = CGRectMake (0, 0, 320, 480);
+        viewController.view.frame = CGRectMake(0, 0, 320, 480);
         
 
 7.  包丁のビューに追加します。
     
-        [付ける addSubview:viewController.view];
+        [myView addSubview:viewController.view];
         
 
 ## HTML、CSS、JavaScript の資産を追加します。
@@ -140,4 +140,10 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 5.  適切な設定 `wwwFolderName` と `startPage` の最初に作成したフォルダーのプロパティ (前のセクションを参照) の既定値を使用またはインスタンスを作成する、`CDVViewController`.
     
-        /* 'myfolder' と呼ばれるフォルダーを作成し、ファイル 'mypage.html' に、スタート ページをされる場合 */viewController.wwwFolderName = @"myfolder";viewController.startPage = @"mypage.html"
\ No newline at end of file
+        /*
+         if you created a folder called 'myfolder' and
+         you want the file 'mypage.html' in it to be
+         the startPage
+        */
+        viewController.wwwFolderName = @"myfolder";
+        viewController.startPage = @"mypage.html"
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ko/edge/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/ko/edge/config_ref/index.md b/docs/ko/edge/config_ref/index.md
index a7f7357..24799fc 100644
--- a/docs/ko/edge/config_ref/index.md
+++ b/docs/ko/edge/config_ref/index.md
@@ -36,7 +36,12 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 예를 들어:
 
-        < 위젯 >< 기본 설정 이름 = "MySetting" 값 = "true" / >< 기능 이름 = "MyPlugin" 값 = "MyPluginClass" / >< 원본 액세스 = "*" / >< src="index.html 콘텐츠" / >< / 위젯 >
+        <widget>
+            <preference name="MySetting" value="true" />
+            <feature name="MyPlugin" value="MyPluginClass" />
+            <access origin="*" />
+            <content src="index.html" />
+        </widget>
     
 
 아파치 코르도바에서 지원 되는 주요 플랫폼에서 지원 되는 요소 목록에 따라.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ko/edge/cordova/accelerometer/accelerometer.md
----------------------------------------------------------------------
diff --git a/docs/ko/edge/cordova/accelerometer/accelerometer.md b/docs/ko/edge/cordova/accelerometer/accelerometer.md
index a25e2d3..09c897f 100644
--- a/docs/ko/edge/cordova/accelerometer/accelerometer.md
+++ b/docs/ko/edge/cordova/accelerometer/accelerometer.md
@@ -46,22 +46,35 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 *   (안 드 로이드`app/res/xml/config.xml`)
     
-        < 기능 이름 "가 속도계" = >< param 이름을 "안 드 로이드 패키지" value="org.apache.cordova.AccelListener =" / >< / 기능 >
+        <feature name="Accelerometer">
+            <param name="android-package" value="org.apache.cordova.AccelListener" />
+        </feature>
         
 
 *   블랙베리 WebWorks
     
-        (in www/plugins.xml) < 기능 이름 = "가 속도계" >< param 이름을 "블랙베리 패키지" value="org.apache.cordova.accelerometer.Accelerometer =" / >< / 기능 > (www/config.xml)에서 < id="blackberry.system 기능" 필수 = "true" 버전 "1.0.0.0" = / >< id="org.apache.cordova 기능" 필수 = "true" 버전 = "1.0.0" / >
+        (in www/plugins.xml)
+        <feature name="Accelerometer">
+            <param name="blackberry-package" value="org.apache.cordova.accelerometer.Accelerometer" />
+        </feature>
+        
+        (in www/config.xml)
+        <feature id="blackberry.system"  required="true" version="1.0.0.0" />
+        <feature id="org.apache.cordova" required="true" version="1.0.0" />
         
 
 *   (iOS`config.xml`)
     
-        < 기능 이름 "가 속도계" = >< param 이름을 = "ios 패키지" 값 = "CDVAccelerometer" / >< / 기능 >
+        <feature name="Accelerometer">
+            <param name="ios-package" value="CDVAccelerometer" />
+        </feature>
         
 
 *   (Windows Phone`Properties/WPAppManifest.xml`)
     
-        < 기능 >< 기능 이름 = "ID_CAP_SENSORS" / >< / 기능 >
+        <Capabilities>
+            <Capability Name="ID_CAP_SENSORS" />
+        </Capabilities>
         
     
     참고: [Windows Phone 대 한 응용 프로그램 매니페스트][1]

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ko/edge/cordova/notification/notification.md
----------------------------------------------------------------------
diff --git a/docs/ko/edge/cordova/notification/notification.md b/docs/ko/edge/cordova/notification/notification.md
index 3fcf9fe..8aac6bd 100644
--- a/docs/ko/edge/cordova/notification/notification.md
+++ b/docs/ko/edge/cordova/notification/notification.md
@@ -40,17 +40,31 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 *   안 드 로이드
     
-        (in app/res/xml/config.xml) < 기능 이름 = "알림" >< param 이름을 "안 드 로이드 패키지" value="org.apache.cordova.Notification =" / >< / 기능 > (app/AndroidManifest.xml)에서 < 사용 권한 android:name="android.permission.VIBRATE" / >
+        (in app/res/xml/config.xml)
+        <feature name="Notification">
+            <param name="android-package" value="org.apache.cordova.Notification" />
+        </feature>
+        
+        (in app/AndroidManifest.xml)
+        <uses-permission android:name="android.permission.VIBRATE" />
         
 
 *   블랙베리 WebWorks
     
-        (in www/plugins.xml) < 기능 이름 = "알림" >< param 이름을 "블랙베리 패키지" value="org.apache.cordova.notification.Notification =" / >< / 기능 > (www/config.xml)에서 < id="blackberry.ui.dialog 기능" / >
+        (in www/plugins.xml)
+        <feature name="Notification">
+            <param name="blackberry-package" value="org.apache.cordova.notification.Notification" />
+        </feature>
+        
+        (in www/config.xml)
+        <feature id="blackberry.ui.dialog" />
         
 
 *   (iOS`config.xml`)
     
-        < 기능 이름 = "알림" >< param 이름을 = "ios 패키지" 값 = "CDVNotification" / >< / 기능 >
+        <feature name="Notification">
+            <param name="ios-package" value="CDVNotification" />
+        </feature>
         
 
 일부 플랫폼은 특별 한 구성이 필요 없이이 기능을 지원할 수 있습니다. 플랫폼 지원에 대 한 참조.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ko/edge/guide/appdev/whitelist/index.md
----------------------------------------------------------------------
diff --git a/docs/ko/edge/guide/appdev/whitelist/index.md b/docs/ko/edge/guide/appdev/whitelist/index.md
index d046b91..afcbf2c 100644
--- a/docs/ko/edge/guide/appdev/whitelist/index.md
+++ b/docs/ko/edge/guide/appdev/whitelist/index.md
@@ -76,7 +76,7 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 [Google.com][2]에 대 한 액세스:
 
-    < 원본 액세스 = "http://google.com" / >
+    <access origin="http://google.com" />
     
 
 ## 블랙베리
@@ -93,22 +93,22 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 [Google.com][2]에 대 한 액세스:
 
-    < 액세스 uri 하위 도메인 "http://google.com" = = "false" / >
+    <access uri="http://google.com" subdomains="false" />
     
 
 [Maps.google.com][4]에 대 한 액세스:
 
-    < 액세스 uri 하위 도메인 "http://maps.google.com" = = "false" / >
+    <access uri="http://maps.google.com" subdomains="false" />
     
 
 [Google.com][2]에 모든 하위 도메인에 대 한 액세스:
 
-    < 액세스 uri 하위 도메인 "http://google.com" = = "true" / >
+    <access uri="http://google.com" subdomains="true" />
     
 
 포함 하 여 모든 도메인에 액세스 권한을 `file://` 프로토콜:
 
-    < 액세스 uri = "*" 하위 도메인 = "true" / >
+    <access uri="*" subdomains="true" />
     
 
 ## iOS
@@ -127,7 +127,7 @@ IOS에 와일드 카드 ( `*` )는 [W3C 위젯 액세스][1] 사양 보다 더 
 
 모든 하위 도메인을 Tld ( `.com` , `.net` , 등):
 
-    *. google.*
+    *.google.*
     
 
 ## Windows Phone (7 & 8)
@@ -140,7 +140,7 @@ IOS에 와일드 카드 ( `*` )는 [W3C 위젯 액세스][1] 사양 보다 더 
 
 [Google.com][2]에 대 한 액세스:
 
-    < 원본 액세스 = "http://google.com" / >
+    <access origin="http://google.com" />
     
 
 ## Tizen
@@ -153,19 +153,19 @@ IOS에 와일드 카드 ( `*` )는 [W3C 위젯 액세스][1] 사양 보다 더 
 
 [Google.com][2]에 대 한 액세스:
 
-    < 출처에 액세스 "http://google.com" 하위 도메인 = = "false" / >
+    <access origin="http://google.com" subdomains="false" />
     
 
 보안 [google.com][3] 에 대 한 액세스 ( `https://` ):
 
-    < 원본 액세스 = "https://google.com" 하위 도메인 = "false" / >
+    <access origin="https://google.com" subdomains="false" />
     
 
 [Google.com][2]에 모든 하위 도메인에 대 한 액세스:
 
-    < 출처에 액세스 "http://google.com" 하위 도메인 = = "true" / >
+    <access origin="http://google.com" subdomains="true" />
     
 
 포함 하 여 모든 도메인에 액세스 권한을 `file://` 프로토콜:
 
-    < 원본 액세스 = "*" 하위 도메인 = "true" / >
\ No newline at end of file
+    <access origin="*" subdomains="true" />
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ko/edge/guide/platforms/android/plugin.md
----------------------------------------------------------------------
diff --git a/docs/ko/edge/guide/platforms/android/plugin.md b/docs/ko/edge/guide/platforms/android/plugin.md
index e68e594..322f013 100644
--- a/docs/ko/edge/guide/platforms/android/plugin.md
+++ b/docs/ko/edge/guide/platforms/android/plugin.md
@@ -31,7 +31,9 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 플러그인에 추가 되어야 합니다 귀하의 플러그인 자바 파일 또는 그것의 자신의 병을 배포 여부는 `config.xml` 코르 도우 바 안 드 로이드 응용 프로그램에서 파일 `res/xml/` 디렉터리.
 
-    < 기능 이름 "< service_name >" = >< param 이름을 = "안 드 로이드 패키지" 값 = "< full_name_including_namespace >" / >< / 기능 >
+    <feature name="<service_name>">
+        <param name="android-package" value="<full_name_including_namespace>" />
+    </feature>
     
 
 서비스 이름은 자바 스크립트에 사용 된 것과 일치 해야 `exec` 전화와 값은 네임 스페이스를 포함 하 여 Java 클래스 전체 이름. 그렇지 않으면 플러그인 컴파일 수 있지만 여전히 코르도바에 의해 접근할 수 있습니다.
@@ -59,25 +61,37 @@ WebView에서 자바 않습니다 *하지* UI 스레드에서 실행 합니다.
 
 UI와 상호 작용 해야 하는 경우 다음 사용 해야 합니다.
 
-    @Override 공공 부울 실행 (문자열 작업, JSONArray args, 마지막 CallbackContext callbackContext) JSONException을 throw {경우 ("beep".equals(action)) {마지막 긴 기간 = args.getLong(0);
-            cordova.getActivity ().runOnUiThread (새로운 Runnable() run ({공공 무효) {...
-                    callbackContext.success(); / / 스레드로부터 안전 합니다.
+    @Override
+    public boolean execute(String action, JSONArray args, final CallbackContext callbackContext) throws JSONException {
+        if ("beep".equals(action)) {
+            final long duration = args.getLong(0);
+            cordova.getActivity().runOnUiThread(new Runnable() {
+                public void run() {
+                    ...
+                    callbackContext.success(); // Thread-safe.
                 }
             });
-            반환 진정한;
-        } 반환 허위;
+            return true;
+        }
+        return false;
     }
     
 
 UI 스레드에서 실행 해야 하는 경우 하지만 WebCore 스레드를 차단 하지 않으려면:
 
-    @Override 공공 부울 실행 (문자열 작업, JSONArray args, 마지막 CallbackContext callbackContext) JSONException을 throw {경우 ("beep".equals(action)) {마지막 긴 기간 = args.getLong(0);
-            cordova.getThreadPool ().execute (새로운 Runnable() run ({공공 무효) {...
-                    callbackContext.success(); / / 스레드로부터 안전 합니다.
+    @Override
+    public boolean execute(String action, JSONArray args, final CallbackContext callbackContext) throws JSONException {
+        if ("beep".equals(action)) {
+            final long duration = args.getLong(0);
+            cordova.getThreadPool().execute(new Runnable() {
+                public void run() {
+                    ...
+                    callbackContext.success(); // Thread-safe.
                 }
             });
-            반환 진정한;
-        } 반환 허위;
+            return true;
+        }
+        return false;
     }
     
 
@@ -85,27 +99,42 @@ UI 스레드에서 실행 해야 하는 경우 하지만 WebCore 스레드를 
 
 다음을 추가 우리의 `config.xml` 파일:
 
-    < 기능 이름 "에코" = >< param 이름을 "안 드 로이드 패키지" value="org.apache.cordova.plugin.Echo =" / >< / 기능 >
+    <feature name="Echo">
+        <param name="android-package" value="org.apache.cordova.plugin.Echo" />
+    </feature>
     
 
 그런 다음 다음 파일을 추가 `src/org/apache/cordova/plugin/Echo.java` 코르 도우 바 안 드 로이드 응용 프로그램 안에:
 
-    패키지 org.apache.cordova.plugin;
+    package org.apache.cordova.plugin;
     
-    가져오기 org.apache.cordova.CordovaPlugin;
-    가져오기 org.apache.cordova.CallbackContext;
+    import org.apache.cordova.CordovaPlugin;
+    import org.apache.cordova.CallbackContext;
     
-    가져오기 org.json.JSONArray;
-    가져오기 org.json.JSONException;
-    가져오기 org.json.JSONObject;
+    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;
+        }
     
-    / ---이 클래스는 JavaScript에서 호출 하는 문자열을 재 탕.
-     * / 공용 클래스 에코 확장 CordovaPlugin {@Override 공용 부울 실행 (문자열 작업, JSONArray args, CallbackContext callbackContext) JSONException을 throw {경우 (action.equals("echo")) {문자열 메시지 = args.getString(0);
-                this.echo (메시지, callbackContext);
-                반환 진정한;
-            } 반환 허위;
-        } 개인 무효 에코 (문자열 메시지, CallbackContext callbackContext) {경우 (메시지! = null & & message.length() > 0) {callbackContext.success(message);
-            } 다른 {callbackContext.error ("예상 하나 비어 있지 않은 문자열 인수입니다.");
+        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.");
             }
         }
     }

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ko/edge/guide/platforms/android/webview.md
----------------------------------------------------------------------
diff --git a/docs/ko/edge/guide/platforms/android/webview.md b/docs/ko/edge/guide/platforms/android/webview.md
index 64256ec..36066c5 100644
--- a/docs/ko/edge/guide/platforms/android/webview.md
+++ b/docs/ko/edge/guide/platforms/android/webview.md
@@ -42,8 +42,12 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 4.  활동 수정 구현 하는 `CordovaInterface` . 포함 된 메서드를 구현 해야 합니다. 복사를 하실 수 있습니다 `/framework/src/org/apache/cordova/CordovaActivity.java` , 또는 자신에 그들을 구현 합니다. 아래 코드 조각 인터페이스를 사용 하 여 기본 응용 프로그램을 보여 줍니다. 참조 된 뷰 id가 일치 하는 방법을 참고는 `id` 위의 XML 조각에서 지정 된 특성:
     
-        CordovaViewTestActivity 활동을 확장 하는 공용 클래스 구현 CordovaInterface {CordovaWebView cwv;
-            / * 활동 처음 만들 때 호출 합니다. * / @Override 공용 void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);
+        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);
@@ -53,20 +57,46 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 카메라를 사용 하는 경우에, 당신은 또한 이것을 구현 해야 합니다.
 
-        @Override 공용 void setActivityResultCallback (CordovaPlugin 플러그인) {this.activityResultCallback = 플러그인;
-        } / ---를 원하는 것 결과 끝나면 활동을 시작. 이 활동 종료 하면, * onActivityResult() 메서드가 호출 됩니다.
-         ** @param 명령 명령 개체 * @param 의도 시작 하 의도 * @param requestCode 콜백을 식별 작업에 전달 된 요청 코드 * / 공공 void startActivityForResult (CordovaPlugin 명령, 의도 의도, int requestCode) {this.activityResultCallback = 명령;
+        @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;
     
-            / / 멀티태스킹 켜져 있으면 다음 경우 결과 반환 하는 활동에 대 한 해제 (명령! = null) {this.keepRunning = false;
-            } / / 시작 활동 super.startActivityForResult (의도, requestCode);
-        } @Override / --- 때, 시작 requestCode 주는 출구, 시작 활동 * resultCode 반환, 및 그것에서 추가 데이터.
-         ** @param requestCode 요청 코드 startActivityForResult(), 원래 제공 *이 결과에서 온 사람을 식별할 수 있습니다.
-         * @param resultCode 정수 결과 코드는 setResult() 통해 자식 활동이 반환합니다.
-         * @param 데이터는 호출자에 게 결과 데이터를 반환할 수 있습니다 한 의도 (다양 한 데이터 첨부 될 수 있습니다 의도 "여분의 것").
-         * / 무효 onActivityResult (int requestCode, int resultCode 의도 의도) 보호 {super.onActivityResult (requestCode, resultCode, 의도);
-            CordovaPlugin 콜백 = this.activityResultCallback;
-            만약 (콜백! = null) {callback.onActivityResult (requestCode, resultCode, 의도);
+            // 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);
             }
         }
     

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ko/edge/guide/platforms/blackberry/plugin.md
----------------------------------------------------------------------
diff --git a/docs/ko/edge/guide/platforms/blackberry/plugin.md b/docs/ko/edge/guide/platforms/blackberry/plugin.md
index b77262e..f101c10 100644
--- a/docs/ko/edge/guide/platforms/blackberry/plugin.md
+++ b/docs/ko/edge/guide/platforms/blackberry/plugin.md
@@ -35,7 +35,9 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 프로젝트의 `www/plugins.xml` 디렉터리 코르도바 프로젝트에 필요한 참조를 모두 포함 합니다. 그래서 추가 참조를 추가 그 때 `cordova.exec` 는, 코르도바 지도 하는 방법을 알고는 `Echo` 의 인수 `cordova.exec` 에 `Echo` 우리가 기본적으로 쓰려는 클래스:
 
-    < 기능 이름 "에코" = >< param 이름을 "블랙베리 패키지" value="org.apache.cordova.echo.Echo =" / >< / 기능 >
+    <feature name="Echo">
+        <param name="blackberry-package" value="org.apache.cordova.echo.Echo" />
+    </feature>
     
 
 ## Echo.java 추가
@@ -46,21 +48,37 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 플러그인을 작성 뒤에 기본적인 아이디어는 플러그인 클래스를 확장 하는 클래스를 만들고 메서드 호출을 `execute` 를 반환 하는 `PluginResult` 클래스. 어떤 전화를 `cordova.exec` 인수 뿐만 아니라, 클래스 내에서 실행 하는 작업에 전달 합니다. 이 경우에, "에코" "에코"와 [str] 클래스 내에서 실행 작업 우리는 우리에 전달 하는 인수입니다.
 
-    패키지 org.apache.cordova.echo;
+    package org.apache.cordova.echo;
     
-    가져오기 org.apache.cordova.api.Plugin;
-    가져오기 org.apache.cordova.api.PluginResult;
-    가져오기 org.apache.cordova.json4j.JSONArray;
-    가져오기 org.apache.cordova.json4j.JSONException;
-    가져오기 org.apache.cordova.json4j.JSONObject;
-    / --- 블랙베리에 대 한 플러그인을 구축 하는 방법을 보여 주는 간단한 플러그인 * echos이이 플러그인을 호출 하는 사용자 메시지를 다시 기본적으로 * 공공 최종 클래스 에코 확장 플러그인 / {공용 정적 최종 문자열 에코 = "에코";
+    import org.apache.cordova.api.Plugin;
+    import org.apache.cordova.api.PluginResult;
+    import org.apache.cordova.json4j.JSONArray;
+    import org.apache.cordova.json4j.JSONException;
+    import org.apache.cordova.json4j.JSONObject;
+    /**
+     * A simple plugin to demonstrate how to build a plugin for BlackBerry
+     * Basically echos back the msg that a user calls to this plugin
+     */
+    public final class Echo extends Plugin {
     
-        공용 PluginResult 실행 (문자열 작업, JSONArray args 문자열 callbackId) {PluginResult 결과 = 새로운 PluginResult (PluginResult.Status.INVALID_ACTION, "에코: 잘못 된 작업:" + 액션);
-            if(action.equals(echo)) {보십시오 {문자열 theMsg = args.getString(0);
-                    경우 (theMsg! = null | | theMsg.length() > 0) {결과 = 새로운 PluginResult (PluginResult.Status.OK, theMsg);
-                    } 다른 {결과 = 새로운 PluginResult (PluginResult.Status.ERROR, "반향 하 아무것도.");
-                    }} catch (JSONException e) {결과 = 새로운 PluginResult (PluginResult.Status.JSON_EXCEPTION, e.getMessage());
-                }} 반환 결과;
+        public static final String echo = "echo";
+    
+        public PluginResult execute(String action, JSONArray args, String callbackId) {
+            PluginResult result = new PluginResult(PluginResult.Status.INVALID_ACTION, "Echo: Invalid action:" + action);
+            if(action.equals(echo)){
+                try {
+                    String theMsg = args.getString(0);
+                    if(theMsg!= null || theMsg.length()>0){
+                        result = new PluginResult(PluginResult.Status.OK, theMsg);
+                    }else{
+                        result = new PluginResult(PluginResult.Status.ERROR, "Nothing to echo.");
+                    }
+                } catch (JSONException e) {
+                    result = new PluginResult(PluginResult.Status.JSON_EXCEPTION, e.getMessage());
+                }
+            }
+    
+            return result;
         }
     
     }
@@ -76,7 +94,7 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 추가 `Echo.java` 프로젝트에서 업데이트 해야 합니다. 구축 하는 `.jar` 파일, 블랙베리 WebWorks repo의 루트 디렉터리를 탐색 하 고 실행은 `ant` 명령:
 
-    개미 업데이트-Dproject.path="~/path_to_my_project"
+    ant update -Dproject.path="~/path_to_my_project"
     
 
 이 새로운 빌드 `.jar` 파일에 `build/ext` 디렉터리. 복사는 `build/ext/cordova.jar` 로 파일을 `project/www/ext` 디렉터리.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ko/edge/guide/platforms/ios/plugin.md
----------------------------------------------------------------------
diff --git a/docs/ko/edge/guide/platforms/ios/plugin.md b/docs/ko/edge/guide/platforms/ios/plugin.md
index 1c15f7d..870f040 100644
--- a/docs/ko/edge/guide/platforms/ios/plugin.md
+++ b/docs/ko/edge/guide/platforms/ios/plugin.md
@@ -96,9 +96,9 @@ CDVPluginResult를 사용 하 여 돌아갈 수 있습니다 다양 한 결과 
 
 그 후에 다음 파일 추가 ( `Echo.h` 및 `Echo.m` ) 우리의 코르도바 iOS 응용 프로그램 폴더 안의 플러그인 폴더에:
 
-    / --- Echo.h 코르도바 플러그인 헤더 --- / #import < Cordova/CDV.h > @interface 에코: CDVPlugin-(void) 에코:(CDVInvokedUrlCommand*) 명령;
+    / --- Echo.h 코르도바 플러그인 헤더 * * * / #import < Cordova/CDV.h > @interface 에코: CDVPlugin-(void) 에코:(CDVInvokedUrlCommand*) 명령;
     
-    @end / --- Echo.m 코르도바 플러그인 구현 --- / #import "Echo.h" #import < Cordova/CDV.h > @implementation 에코-(void) 에코:(CDVInvokedUrlCommand*) 명령 {CDVPluginResult * pluginResult = 없음;
+    @end / --- Echo.m 코르도바 플러그인 구현 * * * / #import "Echo.h" #import < Cordova/CDV.h > @implementation 에코-(void) 에코:(CDVInvokedUrlCommand*) 명령 {CDVPluginResult * pluginResult = 없음;
         NSString * 에코 = [command.arguments objectAtIndex:0];
     
         경우 (에코! = 대 0 & & [에코 길이] > 0) {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:echo];

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/ko/edge/guide/platforms/ios/webview.md
----------------------------------------------------------------------
diff --git a/docs/ko/edge/guide/platforms/ios/webview.md b/docs/ko/edge/guide/platforms/ios/webview.md
index 1011a65..00e26a2 100644
--- a/docs/ko/edge/guide/platforms/ios/webview.md
+++ b/docs/ko/edge/guide/platforms/ios/webview.md
@@ -95,7 +95,7 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 2.  새로운 인스턴스화할 `CDVViewController` , (예를 들어, 클래스에 있는 속성)를 어딘가에 그것을 유지:
     
-        CDVViewController * viewController = [새로운 CDVViewController];
+        CDVViewController* viewController = [CDVViewController new];
         
 
 3.  (*선택 사항*) 설정 된 `wwwFolderName` 속성 (기본값은 `www` ):
@@ -105,22 +105,22 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 4.  (*선택 사항*) 당신의 config.xml에 시작 페이지 설정에서 `<content>` 태그.
     
-        < src="index.html 콘텐츠" / >
+        <content src="index.html" />
         
     
     또는
     
-        < 콘텐츠 src = "http://apache.org" / >
+        <content src="http://apache.org" />
         
 
 5.  (*선택 사항*) 설정 된 `useSplashScreen` 속성 (기본값은 `NO` ):
     
-        viewController.useSplashScreen = 예;
+        viewController.useSplashScreen = YES;
         
 
 6.  **보기 프레임** 설정 (마지막 속성으로 항상 설정이):
     
-        viewController.view.frame = CGRectMake (0, 0, 320, 480);
+        viewController.view.frame = CGRectMake(0, 0, 320, 480);
         
 
 7.  보기에 식 칼을 추가:
@@ -140,5 +140,10 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 5.  적절 한 설정 `wwwFolderName` 및 `startPage` 처음 만든 폴더에 대 한 속성 또는 기본값 (이전 단원 참조)를 사용 하 여 인스턴스화할 때는`CDVViewController`.
     
-        / * 'myfolder 라는 폴더를 생성 하 고 그것은 시작 페이지에 ' mypage.html' 파일 * / viewController.wwwFolderName = @"myfolder";
+        /*
+         if you created a folder called 'myfolder' and
+         you want the file 'mypage.html' in it to be
+         the startPage
+        */
+        viewController.wwwFolderName = @"myfolder";
         viewController.startPage = @"mypage.html"
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/zh/edge/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/config_ref/index.md b/docs/zh/edge/config_ref/index.md
index cf807ab..e367282 100644
--- a/docs/zh/edge/config_ref/index.md
+++ b/docs/zh/edge/config_ref/index.md
@@ -36,7 +36,12 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 示例:
 
-        < 構件 >< 首選項名稱 ="MySetting"值 ="true"/ >< 功能名稱 = 值"MyPlugin"="MyPluginClass"/ >< 訪問來源 ="*"/ >< 內容 src="index.html"/ >< / 構件 >
+        <widget>
+            <preference name="MySetting" value="true" />
+            <feature name="MyPlugin" value="MyPluginClass" />
+            <access origin="*" />
+            <content src="index.html" />
+        </widget>
     
 
 請按照操作跨主要平臺支援的 Apache 科爾多瓦的支援元素的清單。

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/zh/edge/cordova/accelerometer/accelerometer.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/accelerometer/accelerometer.md b/docs/zh/edge/cordova/accelerometer/accelerometer.md
index 064f051..51b9dc7 100644
--- a/docs/zh/edge/cordova/accelerometer/accelerometer.md
+++ b/docs/zh/edge/cordova/accelerometer/accelerometer.md
@@ -61,7 +61,9 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 *   (在 Windows Phone`Properties/WPAppManifest.xml`)
     
-        < 功能 >< 功能名稱 ="ID_CAP_SENSORS"/ >< / 功能 >
+        <Capabilities>
+            <Capability Name="ID_CAP_SENSORS" />
+        </Capabilities>
         
     
     引用:[為 Windows Phone 應用程式清單][1]

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/zh/edge/cordova/notification/notification.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/notification/notification.md b/docs/zh/edge/cordova/notification/notification.md
index 4b8a150..4312af4 100644
--- a/docs/zh/edge/cordova/notification/notification.md
+++ b/docs/zh/edge/cordova/notification/notification.md
@@ -40,17 +40,31 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 *   Android 系統
     
-        (in app/res/xml/config.xml) < 功能名稱 ="通知">< 參數名稱 ="android 包"value="org.apache.cordova.Notification"/ >< / 功能 > (在 app/AndroidManifest.xml) < 使用許可權 android:name="android.permission.VIBRATE"/ >
+        (in app/res/xml/config.xml)
+        <feature name="Notification">
+            <param name="android-package" value="org.apache.cordova.Notification" />
+        </feature>
+        
+        (in app/AndroidManifest.xml)
+        <uses-permission android:name="android.permission.VIBRATE" />
         
 
 *   黑莓手機 WebWorks
     
-        (in www/plugins.xml) < 功能名稱 ="通知">< 參數名稱 ="黑莓手機-包"value="org.apache.cordova.notification.Notification"/ >< / 功能 > (在 www/config.xml) < 功能 id="blackberry.ui.dialog"/ >
+        (in www/plugins.xml)
+        <feature name="Notification">
+            <param name="blackberry-package" value="org.apache.cordova.notification.Notification" />
+        </feature>
+        
+        (in www/config.xml)
+        <feature id="blackberry.ui.dialog" />
         
 
 *   (在 iOS`config.xml`)
     
-        < 功能名稱 ="通知">< 參數名稱 ="ios 包"值 ="CDVNotification"/ >< / 功能 >
+        <feature name="Notification">
+            <param name="ios-package" value="CDVNotification" />
+        </feature>
         
 
 一些平臺可能支援此功能,而無需任何特殊的配置。有關概述,請參見平臺支援。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/zh/edge/guide/appdev/whitelist/index.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/guide/appdev/whitelist/index.md b/docs/zh/edge/guide/appdev/whitelist/index.md
index bcca5d4..eafb7b3 100644
--- a/docs/zh/edge/guide/appdev/whitelist/index.md
+++ b/docs/zh/edge/guide/appdev/whitelist/index.md
@@ -32,21 +32,21 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
  [2]: http://google.com
 
-    HTTP://google.com
+    http://google.com
     
 
 對安全[google.com][3]的訪問 ( `https://` ):
 
  [3]: https://google.com
 
-    HTTPs://google.com
+    https://google.com
     
 
 子域[maps.google.com][4]訪問:
 
  [4]: http://maps.google.com
 
-    HTTP://maps.google.com
+    http://maps.google.com
     
 
 訪問[google.com][2] (例如, [mail.google.com][5]和[docs.google.com][6]) 的所有子域:
@@ -54,7 +54,7 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
  [5]: http://mail.google.com
  [6]: http://docs.google.com
 
-    HTTP://*.google.com
+    http://*.google.com
     
 
 對於所有的域 (例如, [google.com][2]和[developer.mozilla.org][7]) 的存取權限:
@@ -76,7 +76,7 @@ Android 系統完全支援白語法。
 
 [Google.com][2]訪問:
 
-    < 訪問來源 ="HTTP://google.com"/ >
+    <access origin="http://google.com" />
     
 
 ## 黑莓手機
@@ -93,22 +93,22 @@ Android 系統完全支援白語法。
 
 [Google.com][2]訪問:
 
-    < 訪問 uri ="HTTP://google.com"的子域 ="false"/ >
+    <access uri="http://google.com" subdomains="false" />
     
 
 對[maps.google.com][4]的訪問:
 
-    < 訪問 uri ="HTTP://maps.google.com"子域 ="false"/ >
+    <access uri="http://maps.google.com" subdomains="false" />
     
 
 對在[google.com][2]上的所有子域的訪問:
 
-    < 訪問 uri ="HTTP://google.com"的子域 ="true"/ >
+    <access uri="http://google.com" subdomains="true" />
     
 
 訪問到所有的域,包括 `file://` 協定:
 
-    < 訪問 uri ="*"的子域 ="true"/ >
+    <access uri="*" subdomains="true" />
     
 
 ## iOS
@@ -140,7 +140,7 @@ Android 系統完全支援白語法。
 
 [Google.com][2]訪問:
 
-    < 訪問來源 ="HTTP://google.com"/ >
+    <access origin="http://google.com" />
     
 
 ## Tizen
@@ -153,19 +153,19 @@ Android 系統完全支援白語法。
 
 [Google.com][2]訪問:
 
-    < 訪問來源 ="HTTP://google.com"的子域 ="false"/ >
+    <access origin="http://google.com" subdomains="false" />
     
 
 對安全[google.com][3]的訪問 ( `https://` ):
 
-    < 訪問來源 ="HTTPs://google.com"的子域 ="false"/ >
+    <access origin="https://google.com" subdomains="false" />
     
 
 對在[google.com][2]上的所有子域的訪問:
 
-    < 訪問來源 ="HTTP://google.com"的子域 ="true"/ >
+    <access origin="http://google.com" subdomains="true" />
     
 
 訪問到所有的域,包括 `file://` 協定:
 
-    < 訪問來源 ="*"的子域 ="true"/ >
\ No newline at end of file
+    <access origin="*" subdomains="true" />
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/zh/edge/guide/platforms/android/plugin.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/guide/platforms/android/plugin.md b/docs/zh/edge/guide/platforms/android/plugin.md
index a07981e..6aea925 100644
--- a/docs/zh/edge/guide/platforms/android/plugin.md
+++ b/docs/zh/edge/guide/platforms/android/plugin.md
@@ -31,7 +31,9 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 是否您分發你的外掛程式作為 JAVA 檔或一罐,必須將該外掛程式添加到 `config.xml` 檔在科爾多瓦 Android 應用程式的 `res/xml/` 目錄。
 
-    < 功能名稱 ="< service_name >">< 參數名稱 ="android 包"值 ="< full_name_including_namespace >"/ >< / 功能 >
+    <feature name="<service_name>">
+        <param name="android-package" value="<full_name_including_namespace>" />
+    </feature>
     
 
 服務名稱應與匹配在 JavaScript 中使用 `exec` 的電話和值是 JAVA 類完整名稱,包括命名空間。 否則為該外掛程式可編譯,但仍無法訪問由科爾多瓦。
@@ -56,31 +58,81 @@ JavaScript 觸發外掛程式到本機端的請求。Android JAVA 外掛程式
 
 如果您需要與使用者介面進行交互,您應該使用以下方法:
 
-    @Override 公共 boolean 類型的值執行最後 CallbackCoNtext callbackCoNtext JSONArray args 字串操作) 將引發 JSONException {如果 ("beep".equals(action)) {最後期限長 = args.getLong(0) ;cordova.getActivity ().runOnUiThread (新 Runnable() run ({公共 void) {......
-                    callbackCoNtext.success() ;/ / 執行緒安全的。
+    @Override
+    public boolean execute(String action, JSONArray args, final CallbackContext callbackContext) throws JSONException {
+        if ("beep".equals(action)) {
+            final long duration = args.getLong(0);
+            cordova.getActivity().runOnUiThread(new Runnable() {
+                public void run() {
+                    ...
+                    callbackContext.success(); // Thread-safe.
                 }
-            });則返回 true ;} 返回 false ;}
+            });
+            return true;
+        }
+        return false;
+    }
     
 
 如果你不需要在 UI 執行緒上運行,但不是想阻止測試網線:
 
-    @Override 公共 boolean 類型的值執行最後 CallbackCoNtext callbackCoNtext JSONArray args 字串操作) 將引發 JSONException {如果 ("beep".equals(action)) {最後期限長 = args.getLong(0) ;cordova.getThreadPool ().execute (新 Runnable() run ({公共 void) {......
-                    callbackCoNtext.success() ;/ / 執行緒安全的。
+    @Override
+    public boolean execute(String action, JSONArray args, final CallbackContext callbackContext) throws JSONException {
+        if ("beep".equals(action)) {
+            final long duration = args.getLong(0);
+            cordova.getThreadPool().execute(new Runnable() {
+                public void run() {
+                    ...
+                    callbackContext.success(); // Thread-safe.
                 }
-            });則返回 true ;} 返回 false ;}
+            });
+            return true;
+        }
+        return false;
+    }
     
 
 ### 回聲 Android 外掛程式示例
 
 添加以下內容我們 `config.xml` 檔:
 
-    < 功能名稱 ="回聲">< 參數名稱 ="android 包"value="org.apache.cordova.plugin.Echo"/ >< / 功能 >
+    <feature name="Echo">
+        <param name="android-package" value="org.apache.cordova.plugin.Echo" />
+    </feature>
     
 
 然後將添加到下面的檔 `src/org/apache/cordova/plugin/Echo.java` 裡面我們的科爾多瓦 Android 應用程式:
 
-    包 org.apache.cordova.plugin ;導入 org.apache.cordova.CordovaPlugin ;導入 org.apache.cordova.CallbackCoNtext ;導入 org.json.JSONArray ;導入 org.json.JSONException ;導入 org.json.JSONObject ;/ --- 此類回顯從 JavaScript 調用的字串。
-     * / 公共類回聲擴展 CordovaPlugin {@Override 公共 boolean 類型的值執行 CallbackCoNtext callbackCoNtext JSONArray args 字串操作) 將引發 JSONException {如果 (action.equals("echo")) {字串消息 = args.getString(0) ;this.echo (郵件、 callbackCoNtext) ;則返回 true ;} 返回 false ;} 私人 void 回聲 (字串消息,CallbackCoNtext callbackCoNtext) {如果 (消息! = null & & message.length() > 0) {callbackCoNtext.success(message);} 其他 {callbackCoNtext.error ("預期一個非空的字串參數。") ;}
+    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.");
+            }
         }
     }
     

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/zh/edge/guide/platforms/android/webview.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/guide/platforms/android/webview.md b/docs/zh/edge/guide/platforms/android/webview.md
index 078e529..6b9b383 100644
--- a/docs/zh/edge/guide/platforms/android/webview.md
+++ b/docs/zh/edge/guide/platforms/android/webview.md
@@ -42,17 +42,62 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 4.  修改您的活動,使它實現了 `CordovaInterface` 。 您應該執行包括的方法。 您可能希望將它們從複製 `/framework/src/org/apache/cordova/CordovaActivity.java` ,或執行這些靠你自己。 下面的代碼片段顯示了一個基本的應用程式,使用該介面。 請注意如何引用的視圖 id 匹配 `id` 在上面所示的 XML 片段中指定的屬性:
     
-        CordovaViewTestActivity 延伸活動的公共類實現 CordovaInterface {CordovaWebView cwv ;/ * 當第一次創建活動時調用。 * @Override 公共 void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);setContentView(R.layout.main) ;cwv = findViewById(R.id.tutorialView) (CordovaWebView) ;Config.init(this) ;cwv.loadUrl(Config.getStartUrl()) ;}
+        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());
+            }
         
 
 如果您使用的相機,你應該也可以實現這:
 
-        @Override 公共 void setActivityResultCallback (CordovaPlugin 外掛程式) {this.activityResultCallback = 外掛程式 ;} / --- 推出,你會喜歡結果當它完成一項活動。 當這種活動退出時,* 調用您的 onActivityResult() 方法。
-         ** @param 命令的命令物件 * @param 意向意向開始 * @param requestCode 傳遞到回檔來識別該活動的請求代碼 * / 公共 void startActivityForResult (CordovaPlugin 命令、 意圖意圖、 int requestCode) {this.activityResultCallback = 命令 ;this.activityResultKeepRunning = this.keepRunning ;/ / 如果開啟了多工處理,然後禁用它如果返回結果的活動 (命令! = null) {this.keepRunning = false;} / / 開始活動 super.startActivityForResult (意圖、 requestCode) ;} @Override / --- 當你發起退出,給你你開始的它的 requestCode 活動調用 * resultCode 它返回了,並從它的任何其他資料。
-         請求代碼最初提供給 startActivityForResult(),** @param requestCode * 允許您確定誰從這個結果來了。
-         * @param resultCode 通過其 setResult() 的兒童活動所返回的整數結果代碼。
-         * @param 資料的意向,可以向調用方返回的結果資料 (各種資料可以附加到"額外"的意圖)。
-         * / 保護 void onActivityResult 意圖意圖 int resultCode int requestCode) {super.onActivityResult requestCode、 resultCode 意圖) ;CordovaPlugin 回檔 = this.activityResultCallback ;如果 (回檔! = null) {callback.onActivityResult requestCode、 resultCode 意圖) ;}
+        @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);
+            }
         }
     
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/zh/edge/guide/platforms/blackberry/plugin.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/guide/platforms/blackberry/plugin.md b/docs/zh/edge/guide/platforms/blackberry/plugin.md
index 3322d0e..d0bca37 100644
--- a/docs/zh/edge/guide/platforms/blackberry/plugin.md
+++ b/docs/zh/edge/guide/platforms/blackberry/plugin.md
@@ -35,7 +35,9 @@ Echo 外掛程式基本上是返回使用者不管消息提供給 `window.echo`
 
 您的專案的 `www/plugins.xml` 目錄中包含的所有必要引用到科爾多瓦專案的外掛程式。 添加一個額外的引用,這樣,當 `cordova.exec` 是科爾多瓦叫,知道如何映射 `Echo` 參數的 `cordova.exec` 到 `Echo` 我們想要寫本機的類:
 
-    < 功能名稱 ="回聲">< 參數名稱 ="黑莓手機-包"value="org.apache.cordova.echo.Echo"/ >< / 功能 >
+    <feature name="Echo">
+        <param name="blackberry-package" value="org.apache.cordova.echo.Echo" />
+    </feature>
     
 
 ## 添加 Echo.java
@@ -46,7 +48,38 @@ Echo 外掛程式基本上是返回使用者不管消息提供給 `window.echo`
 
 在編寫外掛程式背後的基本思想是,創建一個擴展外掛程式類的類調用的方法 `execute` 返回 `PluginResult` 類。 任何調用 `cordova.exec` 將傳遞給要在類中,以及參數內執行的操作中。 在這種情況下,"回聲"是我們想要執行的類中"回聲"和 [乙方] 的行動是我們在中傳遞的參數。
 
-    包 org.apache.cordova.echo ;導入 org.apache.cordova.api.Plugin ;導入 org.apache.cordova.api.PluginResult ;導入 org.apache.cordova.json4j.JSONArray ;導入 org.apache.cordova.json4j.JSONException ;導入 org.apache.cordova.json4j.JSONObject ;/ --- 簡單外掛程式來演示如何生成一個外掛程式黑莓 * 基本上回聲回使用者呼叫味精這個外掛程式 * / 公共最後類回聲擴展外掛程式 {公共靜態最終字串回顯 ="echo";公共 PluginResult 執行字串 callbackId JSONArray args 字串操作) {PluginResult 結果 = 新 PluginResult (PluginResult.Status.INVALID_ACTION,"回聲: 不正確操作:"+ 行動) ;if(action.equals(echo)) {試 {字串 theMsg = args.getString(0) ;如果 (theMsg! = null | | theMsg.length() > 0) {結果 = 新 PluginResult (PluginResult.Status.OK,theMsg) ;} 其他 {結果 = 新 PluginResult (PluginResult.Status.ERROR,"沒什麼,回顯") ;}} catch (JSONException e) {結果 = 新 P
 luginResult (PluginResult.Status.JSON_EXCEPTION,e.getMessage()) ;}} 返回結果 ;}
+    package org.apache.cordova.echo;
+    
+    import org.apache.cordova.api.Plugin;
+    import org.apache.cordova.api.PluginResult;
+    import org.apache.cordova.json4j.JSONArray;
+    import org.apache.cordova.json4j.JSONException;
+    import org.apache.cordova.json4j.JSONObject;
+    /**
+     * A simple plugin to demonstrate how to build a plugin for BlackBerry
+     * Basically echos back the msg that a user calls to this plugin
+     */
+    public final class Echo extends Plugin {
+    
+        public static final String echo = "echo";
+    
+        public PluginResult execute(String action, JSONArray args, String callbackId) {
+            PluginResult result = new PluginResult(PluginResult.Status.INVALID_ACTION, "Echo: Invalid action:" + action);
+            if(action.equals(echo)){
+                try {
+                    String theMsg = args.getString(0);
+                    if(theMsg!= null || theMsg.length()>0){
+                        result = new PluginResult(PluginResult.Status.OK, theMsg);
+                    }else{
+                        result = new PluginResult(PluginResult.Status.ERROR, "Nothing to echo.");
+                    }
+                } catch (JSONException e) {
+                    result = new PluginResult(PluginResult.Status.JSON_EXCEPTION, e.getMessage());
+                }
+            }
+    
+            return result;
+        }
     
     }
     
@@ -61,7 +94,7 @@ Echo 外掛程式基本上是返回使用者不管消息提供給 `window.echo`
 
 添加的 `Echo.java` 需要更新您的專案中。 若要生成 `.jar` 檔,定位到黑莓 WebWorks 回購根目錄下並運行 `ant` 命令:
 
-    螞蟻更新-Dproject.path="~/path_to_my_project"
+    ant update -Dproject.path="~/path_to_my_project"
     
 
 這將生成新的 `.jar` 檔在 `build/ext` 目錄。複製 `build/ext/cordova.jar` 檔到您 `project/www/ext` 目錄。

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/zh/edge/guide/platforms/ios/plugin.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/guide/platforms/ios/plugin.md b/docs/zh/edge/guide/platforms/ios/plugin.md
index e231511..fc8e9a8 100644
--- a/docs/zh/edge/guide/platforms/ios/plugin.md
+++ b/docs/zh/edge/guide/platforms/ios/plugin.md
@@ -90,7 +90,7 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 然後我們將添加下列檔 ( `Echo.h` 和 `Echo.m` ) 的外掛程式資料夾裡面我們科爾多瓦 iOS 應用程式資料夾中:
 
-    / --- Echo.h 科爾多瓦外掛程式頭 --- / #import < Cordova/CDV.h > @interface 回聲: CDVPlugin-(void) echo:(CDVInvokedUrlCommand*) 命令 ;@end / * * * Echo.m 科爾多瓦外掛程式執行 * * * / #import"Echo.h"#import < Cordova/CDV.h > @implementation 回聲-(失效) echo:(CDVInvokedUrlCommand*) 命令 {CDVPluginResult * pluginResult = 零 ;NSString * 回聲 = [command.arguments objectAtIndex:0];如果 (回聲! = 無 & & [回聲長度] > 0) {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:echo];} 其他 {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR];} [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId] ;} @end
+    / --- Echo.h 科爾多瓦外掛程式頭 * * * / #import < Cordova/CDV.h > @interface 回聲: CDVPlugin-(void) echo:(CDVInvokedUrlCommand*) 命令 ;@end / * * * Echo.m 科爾多瓦外掛程式執行 * * * / #import"Echo.h"#import < Cordova/CDV.h > @implementation 回聲-(失效) echo:(CDVInvokedUrlCommand*) 命令 {CDVPluginResult * pluginResult = 零 ;NSString * 回聲 = [command.arguments objectAtIndex:0];如果 (回聲! = 無 & & [回聲長度] > 0) {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:echo];} 其他 {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR];} [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId] ;} @end
     
 
 讓我們看看代碼。在頂部,我們有所有必要的科爾多瓦進口。我們班延伸從 `CDVPlugin` (非常重要)。

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/49265e04/docs/zh/edge/guide/platforms/ios/webview.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/guide/platforms/ios/webview.md b/docs/zh/edge/guide/platforms/ios/webview.md
index 04d67bc..5382c41 100644
--- a/docs/zh/edge/guide/platforms/ios/webview.md
+++ b/docs/zh/edge/guide/platforms/ios/webview.md
@@ -95,37 +95,37 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 2.  具現化一個新的 `CDVViewController` ,並保留它在某個地方 (例如,向您的類中的屬性):
     
-        CDVViewController * viewController = [CDVViewController 新] ;
+        CDVViewController* viewController = [CDVViewController new];
         
 
 3.  (*可選*)設置 `wwwFolderName` 屬性 (預設為 `www` ):
     
-        viewController.wwwFolderName = @"myfolder";
+        viewController.wwwFolderName = @"myfolder";
         
 
 4.  (*可選*)在您的 config.xml 中設置的起始頁 `<content>` 標記。
     
-        < 內容 src="index.html"/ >
+        <content src="index.html" />
         
     
     或
     
-        < 內容 src ="HTTP://apache.org"/ >
+        <content src="http://apache.org" />
         
 
 5.  (*可選*)設置 `useSplashScreen` 屬性 (預設為 `NO` ):
     
-        viewController.useSplashScreen = 否。
+        viewController.useSplashScreen = YES;
         
 
 6.  設置**視圖框架**(總是此設置作為最後一個屬性):
     
-        viewController.view.frame = CGRectMake (0、 0、 320、 480) ;
+        viewController.view.frame = CGRectMake(0, 0, 320, 480);
         
 
 7.  將刀添加到您的視圖:
     
-        [myView addSubview:viewController.view] ;
+        [myView addSubview:viewController.view];
         
 
 ## 添加您的 HTML、 CSS 和 JavaScript 資產
@@ -140,4 +140,10 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont
 
 5.  設置相應的 `wwwFolderName` 和 `startPage` 你最初創建的資料夾的屬性,或使用預設設置 (請參閱上一節) 當你具現化`CDVViewController`.
     
-        / * 如果您創建了一個名為 'myfolder' 資料夾和你想要的檔中它是 Start 的 ' mypage.html' * / viewController.wwwFolderName = @"myfolder";viewController.startPage = @"mypage.html"
\ No newline at end of file
+        /*
+         if you created a folder called 'myfolder' and
+         you want the file 'mypage.html' in it to be
+         the startPage
+        */
+        viewController.wwwFolderName = @"myfolder";
+        viewController.startPage = @"mypage.html"
\ No newline at end of file