cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject [43/51] [partial] docs commit: Adding both Chinese versions.
Date Wed, 06 Apr 2016 09:27:59 GMT
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/media/media.stop.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/media/media.stop.md b/www/docs/zh-cn/3.1.0/cordova/media/media.stop.md
new file mode 100644
index 0000000..3f3165e
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/media/media.stop.md
@@ -0,0 +1,171 @@
+---
+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.
+
+title: media.stop
+---
+
+# media.stop
+
+停止播放音訊檔。
+
+    media.stop() ;
+    
+
+## 說明
+
+`media.stop`方法同步執行停止播放音訊檔。
+
+## 支援的平臺
+
+*   Android 系統
+*   黑莓手機 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Windows Phone 7 和 8
+*   Tizen
+*   Windows 8
+
+## 快速的示例
+
+    // Play audio
+    //
+    function playAudio(url) {
+        // Play the audio file at url
+        var my_media = new Media(url,
+            // success callback
+            function() {
+                console.log("playAudio():Audio Success");
+            },
+            // error callback
+            function(err) {
+                console.log("playAudio():Audio Error: "+err);
+            }
+        );
+    
+        // Play audio
+        my_media.play();
+    
+        // Pause after 10 seconds
+        setTimeout(function() {
+            my_media.stop();
+        }, 10000);
+    }
+    
+
+## 完整的示例
+
+        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+                              "http://www.w3.org/TR/html4/strict.dtd">
+        <html>
+          <head>
+            <title>Media Example</title>
+    
+            <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+            <script type="text/javascript" charset="utf-8">
+    
+            // Wait for device API libraries to load
+            //
+            document.addEventListener("deviceready", onDeviceReady, false);
+    
+            // device APIs are available
+            //
+            function onDeviceReady() {
+                playAudio("http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3");
+            }
+    
+            // Audio player
+            //
+            var my_media = null;
+            var mediaTimer = null;
+    
+            // Play audio
+            //
+            function playAudio(src) {
+                // Create Media object from src
+                my_media = new Media(src, onSuccess, onError);
+    
+                // Play audio
+                my_media.play();
+    
+                // Update my_media position every second
+                if (mediaTimer == null) {
+                    mediaTimer = setInterval(function() {
+                        // get my_media position
+                        my_media.getCurrentPosition(
+                            // success callback
+                            function(position) {
+                                if (position > -1) {
+                                    setAudioPosition((position) + " sec");
+                                }
+                            },
+                            // error callback
+                            function(e) {
+                                console.log("Error getting pos=" + e);
+                                setAudioPosition("Error: " + e);
+                            }
+                        );
+                    }, 1000);
+                }
+            }
+    
+            // Pause audio
+            //
+            function pauseAudio() {
+                if (my_media) {
+                    my_media.pause();
+                }
+            }
+    
+            // Stop audio
+            //
+            function stopAudio() {
+                if (my_media) {
+                    my_media.stop();
+                }
+                clearInterval(mediaTimer);
+                mediaTimer = null;
+            }
+    
+            // onSuccess Callback
+            //
+            function onSuccess() {
+                console.log("playAudio():Audio Success");
+            }
+    
+            // onError Callback
+            //
+            function onError(error) {
+                alert('code: '    + error.code    + '\n' +
+                      'message: ' + error.message + '\n');
+            }
+    
+            // Set audio position
+            //
+            function setAudioPosition(position) {
+                document.getElementById('audio_position').innerHTML = position;
+            }
+    
+            </script>
+          </head>
+          <body>
+            <a href="#" class="btn large" onclick="playAudio('http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3');">Play Audio</a>
+            <a href="#" class="btn large" onclick="pauseAudio();">Pause Playing Audio</a>
+            <a href="#" class="btn large" onclick="stopAudio();">Stop Playing Audio</a>
+            <p id="audio_position"></p>
+          </body>
+        </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/media/media.stopRecord.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/media/media.stopRecord.md b/www/docs/zh-cn/3.1.0/cordova/media/media.stopRecord.md
new file mode 100644
index 0000000..c9203e2
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/media/media.stopRecord.md
@@ -0,0 +1,141 @@
+---
+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.
+
+title: media.stopRecord
+---
+
+# media.stopRecord
+
+停止錄製音訊檔。
+
+    media.stopRecord() ;
+    
+
+## 說明
+
+`media.stopRecord`方法執行同步,停止錄製的音訊檔。
+
+## 支援的平臺
+
+*   Android 系統
+*   黑莓手機 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Windows Phone 7 和 8
+*   Windows 8
+
+## 快速的示例
+
+    // Record audio
+    //
+    function recordAudio() {
+        var src = "myrecording.mp3";
+        var mediaRec = new Media(src,
+            // success callback
+            function() {
+                console.log("recordAudio():Audio Success");
+            },
+    
+            // error callback
+            function(err) {
+                console.log("recordAudio():Audio Error: "+ err.code);
+            }
+        );
+    
+        // Record audio
+        mediaRec.startRecord();
+    
+        // Stop recording after 10 seconds
+        setTimeout(function() {
+            mediaRec.stopRecord();
+        }, 10000);
+    }
+    
+
+## 完整的示例
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Device Properties Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // Record audio
+        //
+        function recordAudio() {
+            var src = "myrecording.mp3";
+            var mediaRec = new Media(src, onSuccess, onError);
+    
+            // Record audio
+            mediaRec.startRecord();
+    
+            // Stop recording after 10 sec
+            var recTime = 0;
+            var recInterval = setInterval(function() {
+                recTime = recTime + 1;
+                setAudioPosition(recTime + " sec");
+                if (recTime >= 10) {
+                    clearInterval(recInterval);
+                    mediaRec.stopRecord();
+                }
+            }, 1000);
+        }
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            recordAudio();
+        }
+    
+        // onSuccess Callback
+        //
+        function onSuccess() {
+            console.log("recordAudio():Audio Success");
+        }
+    
+        // onError Callback
+        //
+        function onError(error) {
+            alert('code: '    + error.code    + '\n' +
+                  'message: ' + error.message + '\n');
+        }
+    
+        // Set audio position
+        //
+        function setAudioPosition(position) {
+            document.getElementById('audio_position').innerHTML = position;
+        }
+    
+        </script>
+      </head>
+      <body>
+        <p id="media">Recording audio...</p>
+        <p id="audio_position"></p>
+      </body>
+    </html>
+    
+
+## Tizen 怪癖
+
+*   Tizen 設備上不支援。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/notification/notification.alert.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/notification/notification.alert.md b/www/docs/zh-cn/3.1.0/cordova/notification/notification.alert.md
new file mode 100644
index 0000000..2abb4ee
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/notification/notification.alert.md
@@ -0,0 +1,118 @@
+---
+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.
+
+title: notification.alert
+---
+
+# notification.alert
+
+顯示一個自訂的警報或對話方塊框。
+
+    navigator.notification.alert(message, alertCallback, [title], [buttonName])
+    
+
+*   **消息**: 消息對話方塊。*(字串)*
+
+*   **alertCallback**: 當警報對話方塊的被解雇時要調用的回檔。*(函數)*
+
+*   **標題**: 標題對話方塊。*(字串)*(可選,預設值為`Alert`)
+
+*   **buttonName**: 按鈕名稱。*(字串)*(可選,預設值為`OK`)
+
+## 說明
+
+大多數科爾多瓦實現使用本機對話方塊中的此項功能,但一些平臺使用瀏覽器的 `alert` 函數,這是通常不那麼可自訂。
+
+## 支援的平臺
+
+*   Android 系統
+*   黑莓手機 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Tizen
+*   Windows Phone 7 和 8
+*   Windows 8
+
+## 快速的示例
+
+    // Android / BlackBerry WebWorks (OS 5.0 and higher) / iOS / Tizen
+    //
+    function alertDismissed() {
+        // do something
+    }
+    
+    navigator.notification.alert(
+        'You are the winner!',  // message
+        alertDismissed,         // callback
+        'Game Over',            // title
+        'Done'                  // buttonName
+    );
+    
+
+## 完整的示例
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Notification Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            // Empty
+        }
+    
+        // alert dialog dismissed
+            function alertDismissed() {
+                // do something
+            }
+    
+        // Show a custom alertDismissed
+        //
+        function showAlert() {
+            navigator.notification.alert(
+                'You are the winner!',  // message
+                alertDismissed,         // callback
+                'Game Over',            // title
+                'Done'                  // buttonName
+            );
+        }
+    
+        </script>
+      </head>
+      <body>
+        <p><a href="#" onclick="showAlert(); return false;">Show Alert</a></p>
+      </body>
+    </html>
+    
+
+## Windows Phone 7 和 8 怪癖
+
+*   有沒有內置瀏覽器警報,但你可以綁定一個,如下所示調用 `alert()` 在全球範圍內:
+    
+        window.alert = navigator.notification.alert;
+        
+
+*   兩個 `alert` 和 `confirm` 的非阻塞的調用,其中的結果才是可用的非同步。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/notification/notification.beep.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/notification/notification.beep.md b/www/docs/zh-cn/3.1.0/cordova/notification/notification.beep.md
new file mode 100644
index 0000000..148b69c
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/notification/notification.beep.md
@@ -0,0 +1,110 @@
+---
+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.
+
+title: notification.beep
+---
+
+# notification.beep
+
+該設備播放提示音聲音。
+
+    navigator.notification.beep(times);
+    
+
+*   **時間**: 的次數重複發出蜂鳴音。*(人數)*
+
+## 支援的平臺
+
+*   Android 系統
+*   黑莓手機 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Tizen
+*   Windows Phone 7 和 8
+
+## 快速的示例
+
+    // Beep twice!
+    navigator.notification.beep(2);
+    
+
+## 完整的示例
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Notification Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            // Empty
+        }
+    
+        // Show a custom alert
+        //
+        function showAlert() {
+            navigator.notification.alert(
+                'You are the winner!',  // message
+                'Game Over',            // title
+                'Done'                  // buttonName
+            );
+        }
+    
+        // Beep three times
+        //
+        function playBeep() {
+            navigator.notification.beep(3);
+        }
+    
+        // Vibrate for 2 seconds
+        //
+        function vibrate() {
+            navigator.notification.vibrate(2000);
+        }
+    
+        </script>
+      </head>
+      <body>
+        <p><a href="#" onclick="showAlert(); return false;">Show Alert</a></p>
+        <p><a href="#" onclick="playBeep(); return false;">Play Beep</a></p>
+        <p><a href="#" onclick="vibrate(); return false;">Vibrate</a></p>
+      </body>
+    </html>
+    
+
+## Android 的怪癖
+
+*   Android 系統播放的預設**通知鈴聲****設置/聲音和顯示**面板下指定。
+
+## Windows Phone 7 和 8 怪癖
+
+*   依賴泛型蜂鳴音檔從科爾多瓦分佈。
+
+## Tizen 怪癖
+
+*   Tizen 通過播放音訊檔通過媒體 API 實現會發出蜂鳴聲。
+
+*   蜂鳴音檔必須很短,必須設在 `sounds` 子目錄中的應用程式的根目錄中,並且必須命名`beep.wav`.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/notification/notification.confirm.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/notification/notification.confirm.md b/www/docs/zh-cn/3.1.0/cordova/notification/notification.confirm.md
new file mode 100644
index 0000000..95d20d2
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/notification/notification.confirm.md
@@ -0,0 +1,127 @@
+---
+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.
+
+title: notification.confirm
+---
+
+# notification.confirm
+
+顯示一個可自訂的確認對話方塊。
+
+    navigator.notification.confirm(message, confirmCallback, [title], [buttonLabels])
+    
+
+*   **消息**: 消息對話方塊。*(字串)*
+
+*   **confirmCallback**: 要用索引 (1、 2 或 3) 按下的按鈕,或者在沒有按下按鈕 (0) 駁回了對話方塊中時調用的回檔。*(函數)*
+
+*   **標題**: 標題對話方塊。*(字串)*(可選,預設值為`Confirm`)
+
+*   **buttonLabels**: 指定按鈕標籤的字串陣列。*(陣列)*(可選,預設值為 [ `OK,Cancel` ])
+
+## 說明
+
+`notification.confirm`方法顯示一個本機的對話方塊,更可自訂的瀏覽器比 `confirm` 函數。
+
+## confirmCallback
+
+`confirmCallback`當使用者按下確認對話方塊中的按鈕之一的時候執行。
+
+回檔將參數 `buttonIndex` *(編號)*,它是按下的按鈕的索引。 請注意索引使用基於 1 的索引,所以值是 `1` , `2` , `3` ,等等。
+
+## 支援的平臺
+
+*   Android 系統
+*   黑莓手機 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Tizen
+*   Windows Phone 7 和 8
+*   Windows 8
+
+## 快速的示例
+
+    // process the confirmation dialog result
+    function onConfirm(buttonIndex) {
+        alert('You selected button ' + buttonIndex);
+    }
+    
+    // Show a custom confirmation dialog
+    //
+    function showConfirm() {
+        navigator.notification.confirm(
+            'You are the winner!', // message
+             onConfirm,            // callback to invoke with index of button pressed
+            'Game Over',           // title
+            ['Restart','Exit']         // buttonLabels
+        );
+    }
+    
+
+## 完整的示例
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Notification Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            // Empty
+        }
+    
+        // process the confirmation dialog result
+        function onConfirm(buttonIndex) {
+            alert('You selected button ' + buttonIndex);
+        }
+    
+        // Show a custom confirmation dialog
+        //
+        function showConfirm() {
+            navigator.notification.confirm(
+                'You are the winner!', // message
+                 onConfirm,            // callback to invoke with index of button pressed
+                'Game Over',           // title
+                ['Restart','Exit']         // buttonLabels
+            );
+        }
+    
+        </script>
+      </head>
+      <body>
+        <p><a href="#" onclick="showConfirm(); return false;">Show Confirm</a></p>
+      </body>
+    </html>
+    
+
+## Windows Phone 7 和 8 怪癖
+
+*   有沒有內置的瀏覽器功能的 `window.confirm` ,但你可以將它綁定通過分配:
+    
+        window.confirm = navigator.notification.confirm;
+        
+
+*   調用到 `alert` 和 `confirm` 的非阻塞,所以結果就是只可用以非同步方式。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/notification/notification.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/notification/notification.md b/www/docs/zh-cn/3.1.0/cordova/notification/notification.md
new file mode 100644
index 0000000..13561a0
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/notification/notification.md
@@ -0,0 +1,79 @@
+---
+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.
+
+title: 通知
+---
+
+# 通知
+
+> 可視、 可聽,和觸覺設備通知。
+
+## 方法
+
+*   `[notification.alert](notification.alert.html)`
+*   `[notification.confirm](notification.confirm.html)`
+*   `[notification.prompt](notification.prompt.html)`
+*   `[notification.beep](notification.beep.html)`
+*   `[notification.vibrate](notification.vibrate.html)`
+
+## 訪問功能
+
+從 3.0 版,科爾多瓦作為*外掛程式*實現了設備級 Api。 使用 CLI 的 `plugin` 命令,描述在命令列介面,可以添加或刪除一個專案,為此功能:
+
+        $ cordova plugin add org.apache.cordova.dialogs
+        $ cordova plugin add org.apache.cordova.vibration
+        $ cordova plugin ls
+        [ 'org.apache.cordova.dialogs',
+          'org.apache.cordova.vibration' ]
+        $ cordova plugin rm org.apache.cordova.dialogs
+        $ cordova plugin rm org.apache.cordova.vibration
+    
+
+這些命令適用于所有有針對性的平臺,但修改如下所述的特定于平臺的配置設置:
+
+*   Android 系統
+    
+        (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)
+        <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`)
+    
+        <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/a890e4de/www/docs/zh-cn/3.1.0/cordova/notification/notification.prompt.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/notification/notification.prompt.md b/www/docs/zh-cn/3.1.0/cordova/notification/notification.prompt.md
new file mode 100644
index 0000000..fb6a5aa
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/notification/notification.prompt.md
@@ -0,0 +1,126 @@
+---
+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.
+
+title: notification.prompt
+---
+
+# notification.prompt
+
+顯示一個可自訂的提示對話方塊。
+
+    navigator.notification.prompt(message, promptCallback, [title], [buttonLabels], [defaultText])
+    
+
+*   **消息**: 消息對話方塊。*(字串)*
+
+*   **promptCallback**: 當按下按鈕時要調用的回檔。*(函數)*
+
+*   **標題**: 對話方塊的標題*(字串)* (可選,預設值為`Prompt`)
+
+*   **buttonLabels**: 陣列,這些字串指定按鈕標籤*(陣列)* (可選,預設值為`["OK","Cancel"]`)
+
+*   **defaultText**: 預設文字方塊中輸入值 ( `String` ) (可選,預設值: 空字串)
+
+## 說明
+
+`notification.prompt`方法顯示一個本機的對話方塊,更可自訂的瀏覽器比 `prompt` 函數。
+
+## promptCallback
+
+`promptCallback`當使用者按下一個提示對話方塊中的按鈕時執行。`results`物件傳遞給回檔的包含以下屬性:
+
+*   **buttonIndex**: 按下的按鈕的索引。*(人數)*請注意索引使用基於 1 的索引,所以值是 `1` , `2` , `3` ,等等。
+
+*   **輸入 1**: 在提示對話方塊中輸入的文本。*(字串)*
+
+## 支援的平臺
+
+*   Android 系統
+*   iOS
+
+## 快速的示例
+
+    // process the promp dialog results
+    function onPrompt(results) {
+        alert("You selected button number " + results.buttonIndex + " and entered " + results.input1);
+    }
+    
+    // Show a custom prompt dialog
+    //
+    function showPrompt() {
+        navigator.notification.prompt(
+            'Please enter your name',  // message
+            onPrompt,                  // callback to invoke
+            'Registration',            // title
+            ['Ok','Exit'],             // buttonLabels
+            'Jane Doe'                 // defaultText
+        );
+    }
+    
+
+## 完整的示例
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Notification Prompt Dialog Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            // Empty
+        }
+    
+        // process the promptation dialog result
+        function onPrompt(results) {
+            alert("You selected button number " + results.buttonIndex + " and entered " + results.input1);
+        }
+    
+        // Show a custom prompt dialog
+        //
+        function showPrompt() {
+            navigator.notification.prompt(
+                'Please enter your name',  // message
+                onPrompt,                  // callback to invoke
+                'Registration',            // title
+                ['Ok','Exit'],             // buttonLabels
+                'Jane Doe'                 // defaultText
+            );
+        }
+    
+        </script>
+      </head>
+      <body>
+        <p><a href="#" onclick="showPrompt(); return false;">Show Prompt</a></p>
+      </body>
+    </html>
+    
+
+## Android 的怪癖
+
+*   Android 支援最多的三個按鈕,並忽略任何更多。
+
+*   關於 Android 3.0 及更高版本,使用全息主題的設備按相反的順序顯示按鈕。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/notification/notification.vibrate.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/notification/notification.vibrate.md b/www/docs/zh-cn/3.1.0/cordova/notification/notification.vibrate.md
new file mode 100644
index 0000000..10a0751
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/notification/notification.vibrate.md
@@ -0,0 +1,110 @@
+---
+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.
+
+title: notification.vibrate
+---
+
+# notification.vibrate
+
+為指定的時間量振動設備。
+
+    navigator.notification.vibrate(milliseconds)
+    
+
+*   **時間**: 毫秒為單位) 在震動的設備,其中 1000年毫秒等於 1 秒。*(人數)*
+
+## 支援的平臺
+
+*   Android 系統
+*   黑莓手機 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Windows Phone 7 和 8
+
+## 快速的示例
+
+    // Vibrate for 2.5 seconds
+    //
+    navigator.notification.vibrate(2500);
+    
+
+## 完整的示例
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Notification Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            // Empty
+        }
+    
+        // Show a custom alert
+        //
+        function showAlert() {
+            navigator.notification.alert(
+                'You are the winner!',  // message
+                'Game Over',            // title
+                'Done'                  // buttonName
+            );
+        }
+    
+        // Beep three times
+        //
+        function playBeep() {
+            navigator.notification.beep(3);
+        }
+    
+        // Vibrate for 2 seconds
+        //
+        function vibrate() {
+            navigator.notification.vibrate(2000);
+        }
+    
+        </script>
+      </head>
+      <body>
+        <p><a href="#" onclick="showAlert(); return false;">Show Alert</a></p>
+        <p><a href="#" onclick="playBeep(); return false;">Play Beep</a></p>
+        <p><a href="#" onclick="vibrate(); return false;">Vibrate</a></p>
+      </body>
+    </html>
+    
+
+## iOS 的怪癖
+
+*   **時間**: 忽略指定的時間和震動的預設置的時間量。
+    
+        navigator.notification.vibrate();
+        navigator.notification.vibrate(2500);   // 2500 is ignored
+        
+
+## BB10 的怪癖
+
+震動功能導航器物件所擁有的
+
+        navigator.vibrate(1000);  // vibrate for 1 second
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/splashscreen/splashscreen.hide.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/splashscreen/splashscreen.hide.md b/www/docs/zh-cn/3.1.0/cordova/splashscreen/splashscreen.hide.md
new file mode 100644
index 0000000..122e372
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/splashscreen/splashscreen.hide.md
@@ -0,0 +1,81 @@
+---
+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.
+
+title: splashscreen.hide
+---
+
+# splashscreen.hide
+
+解雇的初始螢幕。
+
+    navigator.splashscreen.hide();
+    
+
+## 說明
+
+此方法關閉該應用程式的初始螢幕。
+
+## 支援的平臺
+
+*   Android 系統
+*   黑莓 10
+*   iOS
+*   Windows Phone 7 和 8
+*   Windows 8
+
+## 快速的示例
+
+    navigator.splashscreen.hide();
+    
+
+## 完整的示例
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Splashscreen Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            navigator.splashscreen.hide();
+        }
+    
+        </script>
+      </head>
+      <body>
+        <h1>Example</h1>
+      </body>
+    </html>
+    
+
+## iOS 怪癖
+
+`config.xml`檔的 `AutoHideSplashScreen` 設置必須為 `false` 。 若要延遲兩秒鐘隱藏的閃屏,添加如下所示在計時器 `[deviceready](../events/events.deviceready.html)` 事件處理常式:
+
+        setTimeout(function() {
+            navigator.splashscreen.hide();
+        }, 2000);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/splashscreen/splashscreen.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/splashscreen/splashscreen.md b/www/docs/zh-cn/3.1.0/cordova/splashscreen/splashscreen.md
new file mode 100644
index 0000000..2fe69b8
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/splashscreen/splashscreen.md
@@ -0,0 +1,60 @@
+---
+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.
+
+title: 閃屏
+---
+
+# 閃屏
+
+> 顯示和隱藏應用程式的初始螢幕。
+
+## 方法
+
+*   [splashscreen.show](splashscreen.show.html)
+*   [splashscreen.hide](splashscreen.hide.html)
+
+## 訪問功能
+
+從 3.0 版,科爾多瓦作為*外掛程式*實現了設備級 Api。 使用 CLI 的 `plugin` 命令,描述在命令列介面,可以添加或刪除一個專案,為此功能:
+
+        $ cordova plugin add org.apache.cordova.splashscreen
+        $ cordova plugin ls
+        [ 'org.apache.cordova.splashscreen' ]
+        $ cordova plugin rm org.apache.cordova.splashscreen
+    
+
+這些命令適用于所有有針對性的平臺,但修改如下所述的特定于平臺的配置設置:
+
+*   (在 android`app/res/xml/config.xml`)
+    
+        <feature name="SplashScreen">
+            <param name="android-package" value="org.apache.cordova.SplashScreen" />
+        </feature>
+        
+
+*   (在 iOS`config.xml`)
+    
+        <feature name="SplashScreen">
+            <param name="ios-package" value="CDVSplashScreen" />
+        </feature>
+        
+
+一些平臺可能支援此功能,而無需任何特殊的配置。請參見在概述部分中*的平臺支援*。
+
+有關如何配置這些圖像的資訊,請參閱圖示和閃屏。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/splashscreen/splashscreen.show.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/splashscreen/splashscreen.show.md b/www/docs/zh-cn/3.1.0/cordova/splashscreen/splashscreen.show.md
new file mode 100644
index 0000000..466d078
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/splashscreen/splashscreen.show.md
@@ -0,0 +1,71 @@
+---
+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.
+
+title: splashscreen.show
+---
+
+# splashscreen.show
+
+顯示初始螢幕。
+
+    navigator.splashscreen.show();
+    
+
+## 說明
+
+此方法顯示應用程式的初始螢幕。
+
+## 支援的平臺
+
+*   Android 系統
+*   iOS
+*   Windows Phone 7 和 8
+*   Windows 8
+
+## 快速的示例
+
+    navigator.splashscreen.show();
+    
+
+## 完整的示例
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Splashscreen Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            navigator.splashscreen.show();
+        }
+    
+        </script>
+      </head>
+      <body>
+        <h1>Example</h1>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/storage/database/database.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/storage/database/database.md b/www/docs/zh-cn/3.1.0/cordova/storage/database/database.md
new file mode 100644
index 0000000..8dfb054
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/storage/database/database.md
@@ -0,0 +1,119 @@
+---
+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.
+
+title: 資料庫
+---
+
+# 資料庫
+
+提供對 SQL 資料庫的訪問。
+
+## 方法
+
+*   **交易記錄**: 運行資料庫事務。
+
+*   **changeVersion**: 允許腳本自動驗證的版本號和更新架構時更改它。
+
+## 詳細資訊
+
+`window.openDatabase()`方法返回 `Database` 的物件。
+
+## 支援的平臺
+
+*   Android 系統
+*   黑莓手機 WebWorks (OS 6.0 和更高)
+*   iOS
+*   Tizen
+
+## 交易快速示例
+
+    function populateDB(tx) {
+        tx.executeSql('DROP TABLE IF EXISTS DEMO');
+        tx.executeSql('CREATE TABLE IF NOT EXISTS DEMO (id unique, data)');
+        tx.executeSql('INSERT INTO DEMO (id, data) VALUES (1, "First row")');
+        tx.executeSql('INSERT INTO DEMO (id, data) VALUES (2, "Second row")');
+    }
+    
+    function errorCB(err) {
+        alert("Error processing SQL: "+err.code);
+    }
+    
+    function successCB() {
+        alert("success!");
+    }
+    
+    var db = window.openDatabase("Database", "1.0", "Cordova Demo", 200000);
+    db.transaction(populateDB, errorCB, successCB);
+    
+
+## 更改版本快速示例
+
+    var db = window.openDatabase("Database", "1.0", "Cordova Demo", 200000);
+    db.changeVersion("1.0", "1.1");
+    
+
+## 完整的示例
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Storage Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            var db = window.openDatabase("Database", "1.0", "Cordova Demo", 200000);
+            db.transaction(populateDB, errorCB, successCB);
+        }
+    
+        // Populate the database
+        //
+        function populateDB(tx) {
+            tx.executeSql('DROP TABLE IF EXISTS DEMO');
+            tx.executeSql('CREATE TABLE IF NOT EXISTS DEMO (id unique, data)');
+            tx.executeSql('INSERT INTO DEMO (id, data) VALUES (1, "First row")');
+            tx.executeSql('INSERT INTO DEMO (id, data) VALUES (2, "Second row")');
+        }
+    
+        // Transaction error callback
+        //
+        function errorCB(tx, err) {
+            alert("Error processing SQL: "+err);
+        }
+    
+        // Transaction success callback
+        //
+        function successCB() {
+            alert("success!");
+        }
+    
+        </script>
+      </head>
+      <body>
+        <h1>Example</h1>
+        <p>Database</p>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/storage/localstorage/localstorage.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/storage/localstorage/localstorage.md b/www/docs/zh-cn/3.1.0/cordova/storage/localstorage/localstorage.md
new file mode 100644
index 0000000..f6d5dc7
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/storage/localstorage/localstorage.md
@@ -0,0 +1,124 @@
+---
+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.
+
+title: localStorage
+---
+
+# localStorage
+
+提供對 W3C [Web 存儲介面][1]的訪問
+
+ [1]: http://dev.w3.org/html5/webstorage/#the-localstorage-attribute
+
+    var permanentStorage = window.localStorage;
+    var tempStorage = window.sessionStorage;
+    
+
+## 方法
+
+*   **鍵**: 返回在指定的位置的鍵的名稱。
+
+*   **getItem**: 返回由指定的鍵標識的項。
+
+*   **setItem**: 分配一個鍵控的項值。
+
+*   **removeItem**: 刪除標識由指定鍵的項。
+
+*   **清除**: 中移除所有鍵/值對。
+
+## 詳細資訊
+
+`window.localStorage`介面實現,W3C [Web 存儲介面][2]。 應用程式可以使用它來保存永久資料使用鍵-值對。 `window.sessionStorage`介面在每個方面,除了,所有資料都被都清除應用程式關閉每次的工作方式相同。 每個資料庫提供了單獨的命名空間。
+
+ [2]: http://dev.w3.org/html5/webstorage/
+
+## 支援的平臺
+
+*   Android 系統
+*   黑莓手機 WebWorks (OS 6.0 和更高)
+*   iOS
+*   Tizen
+*   Windows Phone 7 和 8
+
+## 鍵快速示例
+
+    var keyName = window.localStorage.key(0);
+    
+
+## 設置的專案的快速示例
+
+    window.localStorage.setItem("key", "value");
+    
+
+## 獲取專案的快速示例
+
+        var value = window.localStorage.getItem("key");
+        // value is now equal to "value"
+    
+
+## 刪除專案快速示例
+
+        window.localStorage.removeItem("key");
+    
+
+## 清除快速示例
+
+        window.localStorage.clear();
+    
+
+## 完整的示例
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Storage Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            window.localStorage.setItem("key", "value");
+            var keyname = window.localStorage.key(i);
+            // keyname is now equal to "key"
+            var value = window.localStorage.getItem("key");
+            // value is now equal to "value"
+            window.localStorage.removeItem("key");
+            window.localStorage.setItem("key2", "value2");
+            window.localStorage.clear();
+            // localStorage is now empty
+        }
+    
+        </script>
+      </head>
+      <body>
+        <h1>Example</h1>
+        <p>localStorage</p>
+      </body>
+    </html>
+    
+
+## Windows Phone 7 的怪癖
+
+點標記法是*沒有*可用的 Windows Phone 7。 一定要使用 `setItem` 或 `getItem` ,而不是直接從存儲物件,如便捷鍵`window.localStorage.someKey`.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/storage/parameters/display_name.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/storage/parameters/display_name.md b/www/docs/zh-cn/3.1.0/cordova/storage/parameters/display_name.md
new file mode 100644
index 0000000..2087956
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/storage/parameters/display_name.md
@@ -0,0 +1,25 @@
+---
+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.
+
+title: database_displayname
+---
+
+# database_displayname
+
+顯示資料庫的名稱。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/storage/parameters/name.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/storage/parameters/name.md b/www/docs/zh-cn/3.1.0/cordova/storage/parameters/name.md
new file mode 100644
index 0000000..c72d2f3
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/storage/parameters/name.md
@@ -0,0 +1,25 @@
+---
+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.
+
+title: database_name
+---
+
+# database_name
+
+資料庫的名稱。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/storage/parameters/size.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/storage/parameters/size.md b/www/docs/zh-cn/3.1.0/cordova/storage/parameters/size.md
new file mode 100644
index 0000000..0df07db
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/storage/parameters/size.md
@@ -0,0 +1,25 @@
+---
+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.
+
+title: database_size
+---
+
+# database_size
+
+以位元組為單位的資料庫的大小。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/storage/parameters/version.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/storage/parameters/version.md b/www/docs/zh-cn/3.1.0/cordova/storage/parameters/version.md
new file mode 100644
index 0000000..e0a8a3b
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/storage/parameters/version.md
@@ -0,0 +1,25 @@
+---
+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.
+
+title: database_version
+---
+
+# database_version
+
+資料庫的版本。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/storage/sqlerror/sqlerror.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/storage/sqlerror/sqlerror.md b/www/docs/zh-cn/3.1.0/cordova/storage/sqlerror/sqlerror.md
new file mode 100644
index 0000000..67e2199
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/storage/sqlerror/sqlerror.md
@@ -0,0 +1,46 @@
+---
+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.
+
+title: SQLError
+---
+
+# SQLError
+
+A `SQLError` 物件當發生錯誤時引發。
+
+## 屬性
+
+*   **代碼**: 下面列出的預定義的錯誤代碼之一。
+
+*   **消息**: 錯誤的說明。
+
+## 常量
+
+*   `SQLError.UNKNOWN_ERR`
+*   `SQLError.DATABASE_ERR`
+*   `SQLError.VERSION_ERR`
+*   `SQLError.TOO_LARGE_ERR`
+*   `SQLError.QUOTA_ERR`
+*   `SQLError.SYNTAX_ERR`
+*   `SQLError.CONSTRAINT_ERR`
+*   `SQLError.TIMEOUT_ERR`
+
+## 說明
+
+`SQLError`物件運算元據庫時出現錯誤時引發。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/storage/sqlresultset/sqlresultset.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/storage/sqlresultset/sqlresultset.md b/www/docs/zh-cn/3.1.0/cordova/storage/sqlresultset/sqlresultset.md
new file mode 100644
index 0000000..b8efb5c
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/storage/sqlresultset/sqlresultset.md
@@ -0,0 +1,59 @@
+---
+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.
+
+title: SQLResultSet
+---
+
+# SQLResultSet
+
+當 `[SQLTransaction](../sqltransaction/sqltransaction.html)` 物件的 `executeSql` 方法時,執行指定的回檔 `SQLResultSet` 參數。
+
+## 屬性
+
+*   **insertId**: 行的行的 ID, `SQLResultSet` 物件的 SQL 語句插入到資料庫中。
+
+*   **rowsAffected**: 由零如果該語句不會影響任何行的 SQL 語句更改的行數。
+
+*   **行**: `[SQLResultSetRowList](../sqlresultsetrowlist/sqlresultsetrowlist.html)` 表示返回的行,如果未返回行,則為空。
+
+## 詳細資訊
+
+當 `[SQLTransaction](../sqltransaction/sqltransaction.html)` 物件的 `executeSql` 方法時,執行指定的回檔 `SQLResultSet` 參數,其中包含三個屬性:
+
+*   `insertId`返回組裝成功的 SQL 插入語句的行號。如果 SQL 不會插入任何行, `insertId` 未設置。
+
+*   `rowsAffected`始終是 `` 為一個 SQL `select` 語句。為 `insert` 或 `update` 它返回的數的語句修改的行。
+
+*   決賽 `SQLResultSetList` 包含從一個 SQL select 語句返回的資料。
+
+## 支援的平臺
+
+*   Android 系統
+*   黑莓手機 WebWorks (OS 6.0 和更高)
+*   iOS
+*   Tizen
+
+## 執行 SQL 快速示例
+
+    函數 queryDB(tx) {tx.executeSql (' 選擇 * 從演示 '、 []、 querySuccess、 errorCB);}函數 querySuccess (德克薩斯州,結果) {console.log ("返回行 ="+ results.rows.length) ;/ / 這將是真實的因為這是一條 select 語句,所以 rowsAffected 是 0,如果 (! results.rowsAffected) {console.log ('沒有行受影響!') ;返回 false ;} / / 的 insert 語句,此屬性將返回的最後插入的行 console.log 的 ID ("最後插入的行 ID ="+ results.insertId);}函數 errorCB(err) {警報 ("處理 SQL 時出錯:"+ err.code);}var db = window.openDatabase ("資料庫"、"1.0","科爾多瓦演示",200000) ;db.transaction errorCB queryDB) ;
+    
+
+## 完整的示例
+
+    <!DOCTYPE html >< html >< 頭 >< 標題 > 存儲示例 < / 標題 >< 腳本類型 ="文本/javascript"charset ="utf 8"src="cordova.js">< / 腳本 >< 腳本類型 ="文本/javascript"charset ="utf 8"> / / 等待設備 API 庫載入 / / document.addEventListener ("deviceready",onDeviceReady,false);/ / 填充資料庫 / / 函數 populateDB(tx) {tx.executeSql ('下拉表如果存在演示') ;tx.executeSql (' 創建表如果不存在演示 (id 唯一的資料) ') ;tx.executeSql (' 的值插入到演示 (id、 資料) (1,"第一行") ') ;tx.executeSql (插入到演示 (id、 資料) 值 (2,"第二行")) ;} / / 查詢資料庫 / / 函數 queryDB(tx) {tx.executeSql (' 選擇 * 從演示 '、 []、 querySuccess、 errorCB) ;} / / 查詢成功回檔 / / 函數 querySuccess (德克薩斯州,結果) {console.log ("返回行 ="+ results.rows.length) ;/ / 這將是真實的因為這是一條 select 語句,所以 rowsAffected 是 0,如果 (
 ! results.rowsAffected) {console.log ('沒有行受影響!') ;返回 false ;} / / 的 insert 語句,此屬性將返回的最後插入的行 console.log 的 ID ("最後插入的行 ID ="+ results.insertId) ;} / / 交易錯誤回檔 / / 函數 errorCB(err) {console.log ("處理 SQL 時出錯:"+ err.code) ;} / / 交易成功回檔 / / 函數 successCB() {var db = window.openDatabase ("資料庫"、"1.0","科爾多瓦演示",200000) ;db.transaction errorCB queryDB) ;} / / 設備的 Api 可 / / 函數 onDeviceReady() {var db = window.openDatabase ("資料庫"、"1.0","科爾多瓦演示",200000) ;db.transaction (populateDB、 errorCB、 successCB) ;} < / 腳本 >< / 頭 >< 身體 >< h1 > 示例 < / h1 >< p > 資料庫 </p >< / 身體 >< / html >
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/storage/sqlresultsetrowlist/sqlresultsetrowlist.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/storage/sqlresultsetrowlist/sqlresultsetrowlist.md b/www/docs/zh-cn/3.1.0/cordova/storage/sqlresultsetrowlist/sqlresultsetrowlist.md
new file mode 100644
index 0000000..dea416d
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/storage/sqlresultsetrowlist/sqlresultsetrowlist.md
@@ -0,0 +1,53 @@
+---
+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.
+
+title: SQLResultSetRowList
+---
+
+# SQLResultSetRowList
+
+屬性之一的 `[SQLResultSet](../sqlresultset/sqlresultset.html)` 從 SQL 查詢中包含的行返回。
+
+## 屬性
+
+*   **長度**: SQL 查詢所返回的行數。
+
+## 方法
+
+*   **專案**: 返回 JavaScript 物件所表示的指定索引處的行。
+
+## 詳細資訊
+
+`SQLResultSetRowList`包含從 SQL 返回的資料 `select` 語句。 該物件包含 `length` 屬性,該值多少行 `select` 語句返回。 若要獲取的資料行,調用 `item` 方法,以指定一個索引。 它返回 JavaScript `Object` 其屬性是的資料庫列 `select` 反對執行語句。
+
+## 支援的平臺
+
+*   Android 系統
+*   黑莓手機 WebWorks (OS 6.0 和更高)
+*   iOS
+*   Tizen
+
+## 執行 SQL 快速示例
+
+    函數 queryDB(tx) {tx.executeSql (' 選擇 * 從演示 '、 []、 querySuccess、 errorCB);}函數 querySuccess (德克薩斯州,結果) {var len = results.rows.length ;console.log ("演示表:"+ len +"行發現") ;為 (var 我 = 0 ; 我 < len ; i + +) {console.log ("行 ="+ i +"ID ="+ results.rows.item (i).id +"的資料 ="+ results.rows.item(i).data) ;}} 函數 errorCB(err) {警報 ("處理 SQL 時出錯:"+ err.code) ;} var db = window.openDatabase ("資料庫"、"1.0","科爾多瓦演示",200000) ;db.transaction errorCB queryDB) ;
+    
+
+## 完整的示例
+
+    <!DOCTYPE html >< html >< 頭 >< 標題 > 存儲示例 < / 標題 >< 腳本類型 ="文本/javascript"charset ="utf 8"src="cordova.js">< / 腳本 >< 腳本類型 ="文本/javascript"charset ="utf 8"> / / 等待設備 API 庫載入 / / document.addEventListener ("deviceready",onDeviceReady,false);/ / 填充資料庫 / / 函數 populateDB(tx) {tx.executeSql ('下拉表如果存在演示') ;tx.executeSql (' 創建表如果不存在演示 (id 唯一的資料) ') ;tx.executeSql (' 的值插入到演示 (id、 資料) (1,"第一行") ') ;tx.executeSql (插入到演示 (id、 資料) 值 (2,"第二行")) ;} / / 查詢資料庫 / / 函數 queryDB(tx) {tx.executeSql (' 選擇 * 從演示 '、 []、 querySuccess、 errorCB) ;} / / 查詢成功回檔 / / 函數 querySuccess (德克薩斯州,結果) {var len = results.rows.length ;console.log ("演示表:"+ len +"行發現") ;為 (var 我 = 0 ; 我 < len ; i + +) {console.log ("行 ="+
  i +"ID ="+ results.rows.item (i).id +"的資料 ="+ results.rows.item(i).data) ;}} / / 交易錯誤回檔 / / 函數 errorCB(err) {console.log ("處理 SQL 時出錯:"+ err.code) ;} / / 交易成功回檔 / / 函數 successCB() {var db = window.openDatabase ("資料庫"、"1.0","科爾多瓦演示",200000) ;db.transaction errorCB queryDB) ;} / / 設備的 Api 可 / / 函數 onDeviceReady() {var db = window.openDatabase ("資料庫"、"1.0","科爾多瓦演示",200000) ;db.transaction (populateDB、 errorCB、 successCB) ;} < / 腳本 >< / 頭 >< 身體 >< h1 > 示例 < / h1 >< p > 資料庫 </p >< / 身體 >< / html >
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/storage/sqltransaction/sqltransaction.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/storage/sqltransaction/sqltransaction.md b/www/docs/zh-cn/3.1.0/cordova/storage/sqltransaction/sqltransaction.md
new file mode 100644
index 0000000..ab577ba
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/storage/sqltransaction/sqltransaction.md
@@ -0,0 +1,111 @@
+---
+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.
+
+title: SQLTransaction
+---
+
+# SQLTransaction
+
+允許對資料庫的 SQL 語句的執行。
+
+## 方法
+
+*   **executeSql**: 執行一個 SQL 語句。
+
+## 詳細資訊
+
+調用 `Database` 物件的交易方法,刀路 `SQLTransaction` 指定的回檔方法的物件。
+
+## 支援的平臺
+
+*   Android 系統
+*   黑莓手機 WebWorks (OS 6.0 和更高)
+*   iOS
+*   Tizen
+
+## 執行 SQL 快速示例
+
+    function populateDB(tx) {
+        tx.executeSql('DROP TABLE IF EXISTS DEMO');
+        tx.executeSql('CREATE TABLE IF NOT EXISTS DEMO (id unique, data)');
+        tx.executeSql('INSERT INTO DEMO (id, data) VALUES (1, "First row")');
+        tx.executeSql('INSERT INTO DEMO (id, data) VALUES (2, "Second row")');
+    }
+    
+    function errorCB(err) {
+        alert("Error processing SQL: "+err);
+    }
+    
+    function successCB() {
+        alert("success!");
+    }
+    
+    var db = window.openDatabase("Database", "1.0", "Cordova Demo", 200000);
+    db.transaction(populateDB, errorCB, successCB);
+    
+
+## 完整的示例
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Storage Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            var db = window.openDatabase("Database", "1.0", "Cordova Demo", 200000);
+            db.transaction(populateDB, errorCB, successCB);
+        }
+    
+        // Populate the database
+        //
+        function populateDB(tx) {
+            tx.executeSql('DROP TABLE IF EXISTS DEMO');
+            tx.executeSql('CREATE TABLE IF NOT EXISTS DEMO (id unique, data)');
+            tx.executeSql('INSERT INTO DEMO (id, data) VALUES (1, "First row")');
+            tx.executeSql('INSERT INTO DEMO (id, data) VALUES (2, "Second row")');
+        }
+    
+        // Transaction error callback
+        //
+        function errorCB(err) {
+            alert("Error processing SQL: "+err);
+        }
+    
+        // Transaction success callback
+        //
+        function successCB() {
+            alert("success!");
+        }
+    
+        </script>
+      </head>
+      <body>
+        <h1>Example</h1>
+        <p>SQLTransaction</p>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/storage/storage.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/storage/storage.md b/www/docs/zh-cn/3.1.0/cordova/storage/storage.md
new file mode 100644
index 0000000..640fc9c
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/storage/storage.md
@@ -0,0 +1,73 @@
+---
+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.
+
+title: 存儲
+---
+
+# 存儲
+
+> 提供對設備的存儲選項的訪問。
+
+此 API 提供了基於兩個不同的 W3C 規範的存儲選項:
+
+*   [Web 存儲 API 規範][1]允許您要訪問的資料通過簡單的鍵/值對。 上認為在此介面上的完整詳細資訊,請參閱節。
+
+*   [Web SQL 資料庫規範][2]提供更多的功能全面的資料庫表訪問通過 SQL 查詢。 此介面的摘要將立即出現下面。
+
+ [1]: http://dev.w3.org/html5/webstorage/
+ [2]: http://dev.w3.org/html5/webdatabase/
+
+科爾多瓦提供兩個介面都對少數已經不支援他們的設備的訪問。否則內置實現應用。
+
+## 方法
+
+*   [大概](storage.opendatabase.html)
+
+## 參數
+
+*   [database_name](parameters/name.html)
+*   [database_version](parameters/version.html)
+*   [database_displayname](parameters/display_name.html)
+*   [database_size](parameters/size.html)
+
+## 物件
+
+*   [資料庫](database/database.html)
+*   [SQLTransaction](sqltransaction/sqltransaction.html)
+*   [SQLResultSet](sqlresultset/sqlresultset.html)
+*   [SQLResultSetRowList](sqlresultsetrowlist/sqlresultsetrowlist.html)
+*   [SQLError](sqlerror/sqlerror.html)
+
+## 訪問功能
+
+版本為 3.0,對存儲 Api 的訪問內置於科爾多瓦,,不需要使用 CLI 要添加的外掛程式,如所述的命令列介面。
+
+如果您使用較舊的前面,CLI 的科爾多瓦工具集,,仍然需要以下的平臺特定的配置設置:
+
+*   (在 android`app/res/xml/config.xml`)
+    
+        < 功能名稱 ="存儲">< 參數名稱 ="android 包"value="org.apache.cordova.Storage"/ >< / 功能 >
+        
+
+*   黑莓手機 WebWorks (中`www/config.xml`)
+    
+        < 功能 id="blackberry.widgetcache"所需 ="true"版本 ="1.0.0.0"/ >
+        
+
+一些平臺可能支援此功能,而無需任何特殊的配置。請參見在概述部分中*的平臺支援*。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/cordova/storage/storage.opendatabase.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/cordova/storage/storage.opendatabase.md b/www/docs/zh-cn/3.1.0/cordova/storage/storage.opendatabase.md
new file mode 100644
index 0000000..13dad8a
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/cordova/storage/storage.opendatabase.md
@@ -0,0 +1,72 @@
+---
+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.
+
+title: 大概
+---
+
+# 大概
+
+返回一個新的 `Database` 物件。
+
+    var dbShell = window.openDatabase(database_name, database_version, database_displayname, database_size);
+    
+
+## 說明
+
+方法創建一個新的 SQL Lite 資料庫並返回 `Database` 允許對資料進行操作的物件。
+
+## 支援的平臺
+
+*   Android 系統
+*   黑莓手機 WebWorks (OS 6.0 和更高)
+*   iOS
+*   Tizen
+
+## 快速的示例
+
+    var db = window.openDatabase("test", "1.0", "Test DB", 1000000);
+    
+
+## 完整的示例
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Storage Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            var db = window.openDatabase("test", "1.0", "Test DB", 1000000);
+        }
+    
+        </script>
+      </head>
+      <body>
+        <h1>Example</h1>
+        <p>Open Database</p>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a890e4de/www/docs/zh-cn/3.1.0/guide/appdev/privacy/index.md
----------------------------------------------------------------------
diff --git a/www/docs/zh-cn/3.1.0/guide/appdev/privacy/index.md b/www/docs/zh-cn/3.1.0/guide/appdev/privacy/index.md
new file mode 100644
index 0000000..efe912e
--- /dev/null
+++ b/www/docs/zh-cn/3.1.0/guide/appdev/privacy/index.md
@@ -0,0 +1,60 @@
+---
+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.
+
+title: 隱私指南
+---
+
+# 隱私指南
+
+手機隱私是每個應用程式開發者必須解決的關鍵問題。 您的使用者期望將搜集他們的私人資訊,並由您的應用程式得到適當的處理。此外,有越來越多的現在有關于手機隱私慣例的法律要求司法管轄區。
+
+本指南中的移動應用程式的隱私應被視為一*底漆*處理一些最重要的問題。 它概述了人們廣泛接受的一些最佳做法,並提供到其他更詳細的指南和參考參考。
+
+*   **私隱政策**: 您的應用程式應包括私隱政策,解決什麼樣的資訊您的應用程式收集來自或關於您的使用者、 如何使用這些資訊,與誰它共用的和如何使用者可以在應用程式內私隱有關的選擇等主題。以説明理解,你應該使用普通語言和避免技術術語。 你應該使您的隱私權原則可供使用者之前下載,如審查的 app 描述中的應用市場。 此外,應使您的隱私權原則可用在該應用程式本身的範圍內。 有限的行動裝置的顯示大小創建用於向使用者顯示私隱政策的挑戰。 考慮發展一種*縮寫形式*的政策,其中包括最重要的資訊,,然後在更多的細節感興趣的人提供一個連結到"長表"政策。 幾個小組正試圖開發基於圖示通信隱私慣例,你可能想要考慮一旦這些標準成熟的標準。
+
+*   **敏感資訊的收集**: 敏感的個人資訊的應用程式的集合將引發重要隱私問題。 敏感的個人資訊的例子包括敏感的財務資訊,健康的資訊,並從或兒童的資訊。 它還包括從某些感應器和通常發現行動裝置和平板電腦、 地理定位資訊、 連絡人/電話簿、 麥克風/相機和存儲的圖片視頻等的資料庫收集的資訊。 請參見以下文檔頁的詳細資訊:[相機][1]、[捕獲][2]、[連絡人][3]和[地理定位][4]。 一般情況下,您應該獲得使用者的明確許可之前收集敏感資訊,如果可能的話,提供一種控制機制,使使用者可以輕鬆地更改許可權。 應用程式的作業系統可以説明在某些情況下提出只是時間的對話方塊,要求使用者的許可權前集合。 在這些情況下,一定要利用任何機會,若要自訂對話方塊的框文本,以澄清如何應用程式使用,並且,如果適用,將共用此類資
 訊。
+
+*   **避免使用者驚喜**: 如果您的應用程式收集或使用中可能向使用者根據您的應用程式 (例如,訪問存儲的圖片的音樂播放機) 的主要目的令人驚訝的方式的資訊,你應該帶類似的步驟作為敏感個人資訊的收集。 這就是,你強烈應考慮只是時間對話方塊通知使用者有關集合或該資訊的使用,並提供一個相應的隱私控制項,如果合適的話,的使用。
+
+*   **協力廠商資料收集或分享**: 如果你的應用程式收集到另一家公司 — — 提供的資訊,如一個社交網路平臺或廣告網路 (例如,如果您的應用程式會顯示廣告) — — 你應該告知該集合的使用者和共用。 至少,您的隱私權原則應該描述資訊收集和共用和,如果合適的話,為您的使用者提供控制能力或退出這種集合或共用。
+
+*   **集合限制和安全**: 您的使用者委託他們的資訊與您的應用程式,他們期望你將會採取適當的安全防範措施來保護它。 避免個人資訊的安全妥協的最佳方法之一併不是在第一次的地方收集的資訊,除非您的應用程式具有集合的一個具體和合法的商業原因。 不會需要收集的資訊,確保你提供適當的安全控制,以保護該資訊,無論它存儲在設備上或在您的後端伺服器上。 您還應開發這款應用和後端伺服器上實施適當的資料保留原則。
+
+ [1]: cordova_camera_camera.md.html
+ [2]: cordova_media_capture_capture.md.html
+ [3]: cordova_contacts_contacts.md.html
+ [4]: cordova_geolocation_geolocation.md.html
+
+以下是一些其他有用手機隱私指南,開發人員:
+
+*   加州總檢察長[私隱去: 移動生態系統的建議][5]
+
+*   民主與技術,隱私論壇,[為手機應用程式開發人員的最佳做法][6]的未來中心
+
+*   CTIA 無線協會、[最佳做法和準則的位置基於服務][7]
+
+*   聯邦貿易委員會,[手機隱私披露: 建立信任通過透明度][8]
+
+*   [應用隱私][9]網站隱私論壇的未來
+
+ [5]: http://oag.ca.gov/sites/all/files/pdfs/privacy/privacy_on_the_go.pdf
+ [6]: http://www.futureofprivacy.org/wp-content/uploads/Best-Practices-for-Mobile-App-Developers_Final.pdf
+ [7]: http://www.ctia.org/business_resources/wic/index.cfm/AID/11300
+ [8]: http://www.ftc.gov/os/2013/02/130201mobileprivacyreport.pdf
+ [9]: http://www.applicationprivacy.org
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message