cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwbro...@apache.org
Subject [13/16] docs commit: Update files related to file, geolocation, media, notification, and storage
Date Thu, 14 Feb 2013 23:02:44 GMT
Update files related to file, geolocation, media, notification, and storage


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/2f0283ba
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/2f0283ba
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/2f0283ba

Branch: refs/heads/master
Commit: 2f0283baae258717f6edf314f9ef3e533b7f1f96
Parents: c43c64a
Author: Keiko Oda <keiko713@gmail.com>
Authored: Thu Jan 10 18:40:49 2013 -0800
Committer: Michael Brooks <michael@michaelbrooks.ca>
Committed: Thu Feb 14 13:45:07 2013 -0800

----------------------------------------------------------------------
 .../cordova/file/directoryentry/directoryentry.md  |    4 +-
 docs/jp/2.2.0/cordova/file/file.md                 |    2 +-
 docs/jp/2.2.0/cordova/file/fileentry/fileentry.md  |    4 +-
 .../jp/2.2.0/cordova/file/filereader/filereader.md |    2 +-
 .../jp/2.2.0/cordova/file/filesystem/filesystem.md |    2 +-
 .../cordova/file/filetransfer/filetransfer.md      |   62 ++++++++++++---
 .../file/filetransfererror/filetransfererror.md    |    1 +
 .../jp/2.2.0/cordova/file/filewriter/filewriter.md |    2 +-
 .../file/localfilesystem/localfilesystem.md        |    2 +-
 .../cordova/geolocation/Coordinates/coordinates.md |    2 +-
 .../2.2.0/cordova/geolocation/Position/position.md |    2 +-
 .../cordova/geolocation/geolocation.clearWatch.md  |    2 +-
 .../geolocation/geolocation.getCurrentPosition.md  |    2 +-
 docs/jp/2.2.0/cordova/geolocation/geolocation.md   |    2 +-
 .../geolocation/geolocation.watchPosition.md       |    2 +-
 .../jp/2.2.0/cordova/media/capture/captureAudio.md |    2 +-
 .../jp/2.2.0/cordova/media/capture/captureImage.md |    2 +-
 .../jp/2.2.0/cordova/media/capture/captureVideo.md |    2 +-
 .../cordova/media/media.getCurrentPosition.md      |    2 +-
 docs/jp/2.2.0/cordova/media/media.getDuration.md   |    2 +-
 docs/jp/2.2.0/cordova/media/media.md               |    2 +-
 docs/jp/2.2.0/cordova/media/media.pause.md         |    2 +-
 docs/jp/2.2.0/cordova/media/media.play.md          |    2 +-
 docs/jp/2.2.0/cordova/media/media.release.md       |    2 +-
 docs/jp/2.2.0/cordova/media/media.seekTo.md        |    2 +-
 docs/jp/2.2.0/cordova/media/media.startRecord.md   |    9 ++-
 docs/jp/2.2.0/cordova/media/media.stop.md          |    2 +-
 docs/jp/2.2.0/cordova/media/media.stopRecord.md    |    2 +-
 .../cordova/notification/notification.alert.md     |    9 ++-
 .../cordova/notification/notification.beep.md      |    2 +-
 .../cordova/notification/notification.confirm.md   |    2 +-
 docs/jp/2.2.0/cordova/notification/notification.md |    2 +-
 .../cordova/notification/notification.vibrate.md   |    2 +-
 docs/jp/2.2.0/cordova/storage/database/database.md |    6 +-
 .../cordova/storage/localstorage/localstorage.md   |    2 +-
 .../cordova/storage/sqlresultset/sqlresultset.md   |    2 +-
 .../storage/sqlresultsetlist/sqlresultsetlist.md   |    2 +-
 .../storage/sqltransaction/sqltransaction.md       |    2 +-
 docs/jp/2.2.0/cordova/storage/storage.md           |    2 +-
 .../2.2.0/cordova/storage/storage.opendatabase.md  |    2 +-
 40 files changed, 105 insertions(+), 56 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/file/directoryentry/directoryentry.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/file/directoryentry/directoryentry.md b/docs/jp/2.2.0/cordova/file/directoryentry/directoryentry.md
index cb07062..ac533a4 100644
--- a/docs/jp/2.2.0/cordova/file/directoryentry/directoryentry.md
+++ b/docs/jp/2.2.0/cordova/file/directoryentry/directoryentry.md
@@ -125,7 +125,9 @@ __使用例__
         }
 
         var onGetDirectoryWin = function(parent) {
-          parent.setMetadata(onSetMetadataWin, onSetMetadataFail, { metadataKey: metadataValue});
+          var data = {};
+          data[metadataKey] = metadataValue;
+          parent.setMetadata(onSetMetadataWin, onSetMetadataFail, data);
         }
         var onGetDirectoryFail = function() {
           console.log("ディレクトリ取得中にエラーが発生しました。")

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/file/file.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/file/file.md b/docs/jp/2.2.0/cordova/file/file.md
index 5a80b4c..82e0462 100644
--- a/docs/jp/2.2.0/cordova/file/file.md
+++ b/docs/jp/2.2.0/cordova/file/file.md
@@ -46,7 +46,7 @@ File
 
 ### Android
 
-#### app/res/xml/plugins.xml
+#### app/res/xml/config.xml
 
     <plugin name="File" value="org.apache.cordova.FileUtils" />
     <plugin name="FileTransfer" value="org.apache.cordova.FileTransfer" />

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/file/fileentry/fileentry.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/file/fileentry/fileentry.md b/docs/jp/2.2.0/cordova/file/fileentry/fileentry.md
index a74b0b0..301800e 100644
--- a/docs/jp/2.2.0/cordova/file/fileentry/fileentry.md
+++ b/docs/jp/2.2.0/cordova/file/fileentry/fileentry.md
@@ -124,7 +124,9 @@ __使用例__
         }
 
         var onGetFileWin = function(parent) {
-          parent.setMetadata(onSetMetadataWin, onSetMetadataFail, { metadataKey: metadataValue});
+          var data = {};
+          data[metadataKey] = metadataValue;
+          parent.setMetadata(onSetMetadataWin, onSetMetadataFail, data);
         }
         var onGetFileFail = function() {
           console.log("ファイル取得中にエラーが発生しました。")

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/file/filereader/filereader.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/file/filereader/filereader.md b/docs/jp/2.2.0/cordova/file/filereader/filereader.md
index 68ccb71..38c376b 100644
--- a/docs/jp/2.2.0/cordova/file/filereader/filereader.md
+++ b/docs/jp/2.2.0/cordova/file/filereader/filereader.md
@@ -133,7 +133,7 @@ Abort の例
       <head>
         <title>FileReader の使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/file/filesystem/filesystem.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/file/filesystem/filesystem.md b/docs/jp/2.2.0/cordova/file/filesystem/filesystem.md
index 2330040..833f35a 100644
--- a/docs/jp/2.2.0/cordova/file/filesystem/filesystem.md
+++ b/docs/jp/2.2.0/cordova/file/filesystem/filesystem.md
@@ -60,7 +60,7 @@ File System の使用例
       <head>
         <title>File System の使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/file/filetransfer/filetransfer.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/file/filetransfer/filetransfer.md b/docs/jp/2.2.0/cordova/file/filetransfer/filetransfer.md
index 11eaffd..a0c8d48 100644
--- a/docs/jp/2.2.0/cordova/file/filetransfer/filetransfer.md
+++ b/docs/jp/2.2.0/cordova/file/filetransfer/filetransfer.md
@@ -25,13 +25,14 @@ FileTransfer オブジェクトはファイルをサーバーにアップロー
 プロパティー
 ----------
 
-なし
+- __onprogress:__ ProgressEvent とともに、新しいデーターの塊が転送される度に呼び出される関数を表します
_(Function)_
 
 メソッド
 -------
 
-- __upload__: サーバーにファイルを送信
-- __download__: サーバーからファイルをダウンロード
+- __upload__: サーバーにファイルを送信します
+- __download__: サーバーからファイルをダウンロードします
+- __abort__: 進行中の転送を中止します
 
 詳細
 -------
@@ -79,7 +80,7 @@ __使用例__
     options.fileName=fileURI.substr(fileURI.lastIndexOf('/')+1);
     options.mimeType="text/plain";
 
-    var params = new Object();
+    var params = {};
     params.value1 = "test";
     params.value2 = "param";
 
@@ -95,7 +96,7 @@ __詳細な使用例__
       <head>
         <title>File Transfer の使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
             // Cordova の読み込み完了まで待機
@@ -122,7 +123,7 @@ __詳細な使用例__
                 options.fileName=imageURI.substr(imageURI.lastIndexOf('/')+1);
                 options.mimeType="image/jpeg";
 
-                var params = new Object();
+                var params = {};
                 params.value1 = "test";
                 params.value2 = "param";
 
@@ -152,12 +153,9 @@ __詳細な使用例__
        </body>
     </html>
 
-iOS に関する注意点
-----------
-
-FileTransfer アップロードのためのヘッダーを設定:
+__アップロードヘッダーの設定__
 
-__使用例__
+Android と iOS でサポートされています。
 
     function win(r) {
         console.log("コード = " + r.responseCode);
@@ -178,7 +176,7 @@ __使用例__
     options.fileName=fileURI.substr(fileURI.lastIndexOf('/')+1);
     options.mimeType="text/plain";
 
-    var params = new Object();
+    var params = {};
     params.headers={'headerParam':'headerValue'};
 
     options.params = params;
@@ -186,6 +184,10 @@ __使用例__
     var ft = new FileTransfer();
     ft.upload(fileURI, uri, win, fail, options);
 
+__Android に関する注意点__
+
+Nginx サーバーへのアップロードで問題が発生した場合は、 chunkedMode
オプションが false にセットされていることを確認してください。
+
 download
 --------------
 
@@ -198,7 +200,7 @@ __パラメーター:__
 
 __使用例__
 
-    // !! url はサーバー内の有効なファイルを指すことと filePath がデバイス内の有効な値であるとみなします
+    // !! filePath がデバイス内の有効な値であるとみなします
 
     var fileTransfer = new FileTransfer();
     var uri = encodeURI("http://some.server.com/download.php");
@@ -215,3 +217,37 @@ __使用例__
             console.log("upload error code" + error.code);
         }
     );
+
+abort
+--------------
+
+進行中の転送を中止します。 FileTransferError.ABORT_ERR エラーコードを持つ
FileTransferError オブジェクトを伴って onerror コールバックが呼び出されます。
+
+__サポートされているプラットフォーム__
+
+- Android
+- iOS
+
+onprogress
+--------------
+
+ProgressEvent とともに、新しいデーターの塊が転送される度に呼び出されます。
+
+__サポートされているプラットフォーム__
+
+- Android
+- iOS
+
+__使用例__
+
+    fileTransfer.onprogress = function(progressEvent) {
+        if (progressEvent.lengthComputable) {
+          loadingStatus.setPercentage(progressEvent.loaded / progressEvent.total);
+        } else {
+          loadingStatus.increment();
+        }
+    };
+    fileTransfer.download(...); // または fileTransfer.upload(...);
+
+__注意点__
+- Android と iOS の両方で、 gzip エンコーディングを用いるダウンロードの際には
lengthComputable が false になります。

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/file/filetransfererror/filetransfererror.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/file/filetransfererror/filetransfererror.md b/docs/jp/2.2.0/cordova/file/filetransfererror/filetransfererror.md
index f7b1cee..a426699 100644
--- a/docs/jp/2.2.0/cordova/file/filetransfererror/filetransfererror.md
+++ b/docs/jp/2.2.0/cordova/file/filetransfererror/filetransfererror.md
@@ -36,6 +36,7 @@ FileTransferError
 - `FileTransferError.FILE_NOT_FOUND_ERR`
 - `FileTransferError.INVALID_URL_ERR`
 - `FileTransferError.CONNECTION_ERR`
+- `FileTransferError.ABORT_ERR`
 
 概要
 -----------

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/file/filewriter/filewriter.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/file/filewriter/filewriter.md b/docs/jp/2.2.0/cordova/file/filewriter/filewriter.md
index bce8dab..1605c0c 100644
--- a/docs/jp/2.2.0/cordova/file/filewriter/filewriter.md
+++ b/docs/jp/2.2.0/cordova/file/filewriter/filewriter.md
@@ -144,7 +144,7 @@ Abort の例
       <head>
         <title>FileWriter の使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/file/localfilesystem/localfilesystem.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/file/localfilesystem/localfilesystem.md b/docs/jp/2.2.0/cordova/file/localfilesystem/localfilesystem.md
index 7e94003..74ac261 100644
--- a/docs/jp/2.2.0/cordova/file/localfilesystem/localfilesystem.md
+++ b/docs/jp/2.2.0/cordova/file/localfilesystem/localfilesystem.md
@@ -75,7 +75,7 @@ Resolve Local File System URIの使用例
       <head>
         <title>Local File System の使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/geolocation/Coordinates/coordinates.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/geolocation/Coordinates/coordinates.md b/docs/jp/2.2.0/cordova/geolocation/Coordinates/coordinates.md
index 3bacf2d..bc3a4e8 100644
--- a/docs/jp/2.2.0/cordova/geolocation/Coordinates/coordinates.md
+++ b/docs/jp/2.2.0/cordova/geolocation/Coordinates/coordinates.md
@@ -80,7 +80,7 @@ Coordinates
     <html>
       <head>
         <title>位置情報の使用例</title>
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordovaの読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/geolocation/Position/position.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/geolocation/Position/position.md b/docs/jp/2.2.0/cordova/geolocation/Position/position.md
index 20ec141..b73768b 100644
--- a/docs/jp/2.2.0/cordova/geolocation/Position/position.md
+++ b/docs/jp/2.2.0/cordova/geolocation/Position/position.md
@@ -77,7 +77,7 @@ geolocation API によって作成された位置情報とタイムスタンプ
       <head>
         <title>デバイスプロパティーの使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/geolocation/geolocation.clearWatch.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/geolocation/geolocation.clearWatch.md b/docs/jp/2.2.0/cordova/geolocation/geolocation.clearWatch.md
index 7459708..b5ca578 100644
--- a/docs/jp/2.2.0/cordova/geolocation/geolocation.clearWatch.md
+++ b/docs/jp/2.2.0/cordova/geolocation/geolocation.clearWatch.md
@@ -66,7 +66,7 @@ watch ID パラメーターによって参照されるデバイスの位置情
       <head>
         <title>デバイスプロパティーの使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/geolocation/geolocation.getCurrentPosition.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/geolocation/geolocation.getCurrentPosition.md b/docs/jp/2.2.0/cordova/geolocation/geolocation.getCurrentPosition.md
index 346f564..1766fa9 100644
--- a/docs/jp/2.2.0/cordova/geolocation/geolocation.getCurrentPosition.md
+++ b/docs/jp/2.2.0/cordova/geolocation/geolocation.getCurrentPosition.md
@@ -85,7 +85,7 @@ geolocation.getCurrentPosition
       <head>
         <title>デバイスプロパティーの使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/geolocation/geolocation.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/geolocation/geolocation.md b/docs/jp/2.2.0/cordova/geolocation/geolocation.md
index 5be7dac..ad05042 100644
--- a/docs/jp/2.2.0/cordova/geolocation/geolocation.md
+++ b/docs/jp/2.2.0/cordova/geolocation/geolocation.md
@@ -53,7 +53,7 @@ Geolocation は緯度や経度といったデバイスの位置情報を提供
 
 ### Android
 
-#### app/res/xml/plugins.xml
+#### app/res/xml/config.xml
 
     <plugin name="Geolocation" value="org.apache.cordova.GeoBroker" />
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/geolocation/geolocation.watchPosition.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/geolocation/geolocation.watchPosition.md b/docs/jp/2.2.0/cordova/geolocation/geolocation.watchPosition.md
index 3da8c5f..7691f2a 100644
--- a/docs/jp/2.2.0/cordova/geolocation/geolocation.watchPosition.md
+++ b/docs/jp/2.2.0/cordova/geolocation/geolocation.watchPosition.md
@@ -88,7 +88,7 @@ geolocation.watchPosition
       <head>
         <title>デバイスプロパティーの使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/media/capture/captureAudio.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/media/capture/captureAudio.md b/docs/jp/2.2.0/cordova/media/capture/captureAudio.md
index 43724b6..6a97fc6 100644
--- a/docs/jp/2.2.0/cordova/media/capture/captureAudio.md
+++ b/docs/jp/2.2.0/cordova/media/capture/captureAudio.md
@@ -71,7 +71,7 @@ capture.captureAudio
       <head>
         <title>オーディオキャプチャー</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8" src="json2.js"></script>
         <script type="text/javascript" charset="utf-8">
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/media/capture/captureImage.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/media/capture/captureImage.md b/docs/jp/2.2.0/cordova/media/capture/captureImage.md
index 386f57e..a7b9540 100644
--- a/docs/jp/2.2.0/cordova/media/capture/captureImage.md
+++ b/docs/jp/2.2.0/cordova/media/capture/captureImage.md
@@ -78,7 +78,7 @@ Zune とデバイスが接続している間は、ネイティブカメラアプ
       <head>
         <title>画像キャプチャー</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8" src="json2.js"></script>
         <script type="text/javascript" charset="utf-8">
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/media/capture/captureVideo.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/media/capture/captureVideo.md b/docs/jp/2.2.0/cordova/media/capture/captureVideo.md
index 0d3422f..76b0153 100644
--- a/docs/jp/2.2.0/cordova/media/capture/captureVideo.md
+++ b/docs/jp/2.2.0/cordova/media/capture/captureVideo.md
@@ -72,7 +72,7 @@ capture.captureVideo
         <head>
         <title>ビデオキャプチャー</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8" src="json2.js"></script>
         <script type="text/javascript" charset="utf-8">
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/media/media.getCurrentPosition.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/media/media.getCurrentPosition.md b/docs/jp/2.2.0/cordova/media/media.getCurrentPosition.md
index e087d27..8f14ff1 100644
--- a/docs/jp/2.2.0/cordova/media/media.getCurrentPosition.md
+++ b/docs/jp/2.2.0/cordova/media/media.getCurrentPosition.md
@@ -78,7 +78,7 @@ media.getCurrentPosition
           <head>
             <title>メディアの使用例</title>
 
-            <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+            <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
             <script type="text/javascript" charset="utf-8">
 
             // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/media/media.getDuration.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/media/media.getDuration.md b/docs/jp/2.2.0/cordova/media/media.getDuration.md
index 594b4c3..f54247a 100644
--- a/docs/jp/2.2.0/cordova/media/media.getDuration.md
+++ b/docs/jp/2.2.0/cordova/media/media.getDuration.md
@@ -70,7 +70,7 @@ media.getDuration
           <head>
             <title>メディアの使用例</title>
 
-            <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+            <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
             <script type="text/javascript" charset="utf-8">
 
             // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/media/media.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/media/media.md b/docs/jp/2.2.0/cordova/media/media.md
index af0b0b3..701bf7c 100644
--- a/docs/jp/2.2.0/cordova/media/media.md
+++ b/docs/jp/2.2.0/cordova/media/media.md
@@ -80,7 +80,7 @@ Media
 
 ### Android
 
-#### app/res/xml/plugins.xml
+#### app/res/xml/config.xml
 
     <plugin name="Media" value="org.apache.cordova.AudioHandler" />
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/media/media.pause.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/media/media.pause.md b/docs/jp/2.2.0/cordova/media/media.pause.md
index cbd78c1..2443e0c 100644
--- a/docs/jp/2.2.0/cordova/media/media.pause.md
+++ b/docs/jp/2.2.0/cordova/media/media.pause.md
@@ -74,7 +74,7 @@ media.pause
           <head>
             <title>メディアの使用例</title>
 
-            <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+            <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
             <script type="text/javascript" charset="utf-8">
 
             // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/media/media.play.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/media/media.play.md b/docs/jp/2.2.0/cordova/media/media.play.md
index 7ade45d..a501d2b 100644
--- a/docs/jp/2.2.0/cordova/media/media.play.md
+++ b/docs/jp/2.2.0/cordova/media/media.play.md
@@ -70,7 +70,7 @@ media.play
           <head>
             <title>メディアの使用例</title>
 
-            <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+            <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
             <script type="text/javascript" charset="utf-8">
 
             // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/media/media.release.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/media/media.release.md b/docs/jp/2.2.0/cordova/media/media.release.md
index 54157cc..0e7b629 100644
--- a/docs/jp/2.2.0/cordova/media/media.release.md
+++ b/docs/jp/2.2.0/cordova/media/media.release.md
@@ -59,7 +59,7 @@ OS のオーディオリソースを開放します。
           <head>
             <title>メディアの使用例</title>
 
-            <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+            <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
             <script type="text/javascript" charset="utf-8">
 
             // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/media/media.seekTo.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/media/media.seekTo.md b/docs/jp/2.2.0/cordova/media/media.seekTo.md
index ae73536..b86eb8c 100644
--- a/docs/jp/2.2.0/cordova/media/media.seekTo.md
+++ b/docs/jp/2.2.0/cordova/media/media.seekTo.md
@@ -66,7 +66,7 @@ Full Example
           <head>
             <title>メディアの使用例</title>
 
-            <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+            <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
             <script type="text/javascript" charset="utf-8">
 
             // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/media/media.startRecord.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/media/media.startRecord.md b/docs/jp/2.2.0/cordova/media/media.startRecord.md
index bd7c41f..8dc2dfa 100644
--- a/docs/jp/2.2.0/cordova/media/media.startRecord.md
+++ b/docs/jp/2.2.0/cordova/media/media.startRecord.md
@@ -69,7 +69,7 @@ media.startRecord
       <head>
         <title>デバイスプロパティーの使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機
@@ -79,7 +79,7 @@ media.startRecord
         // オーディオの録音
         //
         function recordAudio() {
-            var src = "myrecording.mp3";
+            var src = "myrecording.amr";
             var mediaRec = new Media(src, onSuccess, onError);
 
             // オーディオの録音
@@ -130,6 +130,11 @@ media.startRecord
       </body>
     </html>
 
+Android に関する注意点
+----------
+
+- Android デバイスはオーディオを Adaptive Multi-Rate フォーマットで録音します。ファイル名は
.amr 拡張子で指定される必要があります。
+
 BlackBerry WebWorks に関する注意点
 ----------
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/media/media.stop.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/media/media.stop.md b/docs/jp/2.2.0/cordova/media/media.stop.md
index 6714bfd..0c59b1b 100644
--- a/docs/jp/2.2.0/cordova/media/media.stop.md
+++ b/docs/jp/2.2.0/cordova/media/media.stop.md
@@ -74,7 +74,7 @@ media.stop
           <head>
             <title>メディアの使用例</title>
 
-            <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+            <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
             <script type="text/javascript" charset="utf-8">
 
             // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/media/media.stopRecord.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/media/media.stopRecord.md b/docs/jp/2.2.0/cordova/media/media.stopRecord.md
index b9bb3f7..b55cbd7 100644
--- a/docs/jp/2.2.0/cordova/media/media.stopRecord.md
+++ b/docs/jp/2.2.0/cordova/media/media.stopRecord.md
@@ -74,7 +74,7 @@ media.stopRecord
       <head>
         <title>デバイスプロパティーの使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/notification/notification.alert.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/notification/notification.alert.md b/docs/jp/2.2.0/cordova/notification/notification.alert.md
index c33c5e3..81a7871 100644
--- a/docs/jp/2.2.0/cordova/notification/notification.alert.md
+++ b/docs/jp/2.2.0/cordova/notification/notification.alert.md
@@ -68,7 +68,7 @@ notification.alert
       <head>
         <title>Notification の使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機
@@ -111,6 +111,13 @@ Windows Phone 7 に関する注意点
 - ビルトインのブラウザ通知ダイアログ機能はないため、もし alert('foo');
とだけ書きたい場合は、 window.alert = navigator.notification.alert; と window.alert
に Cordova の notification.alert をアサインできます。
 - 通知と確認の呼び出しはノンブロッキングで、結果は非同期でのみ取得可能です。
 
+Windows 8 アプリに関する注意点
+---------------
+
+- 他のプラットフォームでは、メッセージは "重なって表示" (例: 2つの
**alert** を呼び出すと、重なった2つのメッセージが表示) されますが、
+Windows 8 アプリの場合は最後のメッセージのみが表示されます。
+- ビルトインのブラウザ通知ダイアログ機能はないため、もし alert('foo');
とだけ書きたい場合は、 window.alert = navigator.notification.alert; と window.alert
に Cordova の notification.alert をアサインできます。
+
 Bada 2.xに関する注意点
 ---------------
 - 通知は、 Javascript の alert を使用します。

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/notification/notification.beep.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/notification/notification.beep.md b/docs/jp/2.2.0/cordova/notification/notification.beep.md
index 9d20e52..cee91cb 100644
--- a/docs/jp/2.2.0/cordova/notification/notification.beep.md
+++ b/docs/jp/2.2.0/cordova/notification/notification.beep.md
@@ -50,7 +50,7 @@ notification.beep
       <head>
         <title>Notification の使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/notification/notification.confirm.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/notification/notification.confirm.md b/docs/jp/2.2.0/cordova/notification/notification.confirm.md
index a74b8f2..6cb59b8 100755
--- a/docs/jp/2.2.0/cordova/notification/notification.confirm.md
+++ b/docs/jp/2.2.0/cordova/notification/notification.confirm.md
@@ -79,7 +79,7 @@ confirmCallback
       <head>
         <title>Notification の使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/notification/notification.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/notification/notification.md b/docs/jp/2.2.0/cordova/notification/notification.md
index 8af06fa..9a78f06 100644
--- a/docs/jp/2.2.0/cordova/notification/notification.md
+++ b/docs/jp/2.2.0/cordova/notification/notification.md
@@ -35,7 +35,7 @@ Notification
 
 ### Android
 
-#### app/res/xml/plugins.xml
+#### app/res/xml/config.xml
 
     <plugin name="Notification" value="org.apache.cordova.Notification"/>
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/notification/notification.vibrate.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/notification/notification.vibrate.md b/docs/jp/2.2.0/cordova/notification/notification.vibrate.md
index 58b6481..201b8dc 100644
--- a/docs/jp/2.2.0/cordova/notification/notification.vibrate.md
+++ b/docs/jp/2.2.0/cordova/notification/notification.vibrate.md
@@ -50,7 +50,7 @@ notification.vibrate
       <head>
         <title>Notification の使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/storage/database/database.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/storage/database/database.md b/docs/jp/2.2.0/cordova/storage/database/database.md
index 2e1e962..fb96112 100644
--- a/docs/jp/2.2.0/cordova/storage/database/database.md
+++ b/docs/jp/2.2.0/cordova/storage/database/database.md
@@ -76,7 +76,7 @@ Change Version の例
       <head>
         <title>Storage の使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機
@@ -119,7 +119,3 @@ Change Version の例
       </body>
     </html>
 
-Android 1.X に関する注意点
-------------------
-
-- __changeVersion:__ このメソッドは Android 1.X デバイスではサポートされていません。

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/storage/localstorage/localstorage.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/storage/localstorage/localstorage.md b/docs/jp/2.2.0/cordova/storage/localstorage/localstorage.md
index 1aceaa8..274510e 100644
--- a/docs/jp/2.2.0/cordova/storage/localstorage/localstorage.md
+++ b/docs/jp/2.2.0/cordova/storage/localstorage/localstorage.md
@@ -83,7 +83,7 @@ Clear の例
       <head>
         <title>Storage の使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/storage/sqlresultset/sqlresultset.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/storage/sqlresultset/sqlresultset.md b/docs/jp/2.2.0/cordova/storage/sqlresultset/sqlresultset.md
index 07747bf..b2b423c 100644
--- a/docs/jp/2.2.0/cordova/storage/sqlresultset/sqlresultset.md
+++ b/docs/jp/2.2.0/cordova/storage/sqlresultset/sqlresultset.md
@@ -76,7 +76,7 @@ Execute SQL の例
       <head>
         <title>Storage の使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/storage/sqlresultsetlist/sqlresultsetlist.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/storage/sqlresultsetlist/sqlresultsetlist.md b/docs/jp/2.2.0/cordova/storage/sqlresultsetlist/sqlresultsetlist.md
index 1f1ab37..a5ac18c 100644
--- a/docs/jp/2.2.0/cordova/storage/sqlresultsetlist/sqlresultsetlist.md
+++ b/docs/jp/2.2.0/cordova/storage/sqlresultsetlist/sqlresultsetlist.md
@@ -76,7 +76,7 @@ Execute SQL の例
       <head>
         <title>Storage の使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/storage/sqltransaction/sqltransaction.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/storage/sqltransaction/sqltransaction.md b/docs/jp/2.2.0/cordova/storage/sqltransaction/sqltransaction.md
index 553cfc8..06a2cc3 100644
--- a/docs/jp/2.2.0/cordova/storage/sqltransaction/sqltransaction.md
+++ b/docs/jp/2.2.0/cordova/storage/sqltransaction/sqltransaction.md
@@ -70,7 +70,7 @@ Execute SQL の例
       <head>
         <title>Storage の使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/storage/storage.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/storage/storage.md b/docs/jp/2.2.0/cordova/storage/storage.md
index 58e9de9..64cf936 100644
--- a/docs/jp/2.2.0/cordova/storage/storage.md
+++ b/docs/jp/2.2.0/cordova/storage/storage.md
@@ -52,7 +52,7 @@ Storage
 
 ### Android
 
-#### app/res/xml/plugins.xml
+#### app/res/xml/config.xml
 
     <plugin name="Storage" value="org.apache.cordova.Storage" />
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2f0283ba/docs/jp/2.2.0/cordova/storage/storage.opendatabase.md
----------------------------------------------------------------------
diff --git a/docs/jp/2.2.0/cordova/storage/storage.opendatabase.md b/docs/jp/2.2.0/cordova/storage/storage.opendatabase.md
index f6fb169..4957a62 100644
--- a/docs/jp/2.2.0/cordova/storage/storage.opendatabase.md
+++ b/docs/jp/2.2.0/cordova/storage/storage.opendatabase.md
@@ -53,7 +53,7 @@ window.openDatabase メソッドは新しい Database オブジェクトを返
       <head>
         <title>Storage の使用例</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Cordova の読み込み完了まで待機


Mime
View raw message