You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mw...@apache.org on 2013/09/10 19:36:47 UTC

[02/51] [abbrv] [partial] Move Japanese to docs/ja and Korean to docs/ko.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/2.2.0/guide/upgrading/ios/index.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.2.0/guide/upgrading/ios/index.md b/docs/ja/2.2.0/guide/upgrading/ios/index.md
new file mode 100644
index 0000000..ac0c297
--- /dev/null
+++ b/docs/ja/2.2.0/guide/upgrading/ios/index.md
@@ -0,0 +1,310 @@
+---
+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.
+---
+
+Upgrading Cordova iOS
+=====================
+
+**Xcode 4.5 が必須** であることに注意してください。 Apple App Store に提出するためには、最新バージョンの iOS SDK (iOS 6) を使用する必要があります。 iOS 6 は Xcode 4.5 を必要とします。
+
+## 2.1.0 から 2.2.0 へのアップグレード ##
+
+1. ハードディスクの**恒久的なフォルダー** (例: ~/Documents/Cordova-2.2.0) に **Cordova 2.2.0 をダウンロードし解凍**します
+2. Xcode が起動している場合、 **終了** します
+3. **Terminal.app** を使用して、Cordova をダウンロードしたディレクトリまで **移動**します
+4. コマンドラインツールから [**新規プロジェクトを作成**](guide_command-line_index.md.html#Command-Line%20Usage_ios) します - この新規プロジェクトからアセットを持っていきます
+5. 新規プロジェクトから **www/cordova-2.2.0.js** ファイルを **www** フォルダーに **コピー** し、 **www/cordova-2.1.0.js** ファイルを削除します
+6. **www/index.html** ファイル (また、他に Cordova script を参照しているファイル) の Cordova script 参照部分を、新しい **cordova-2.2.0.js** ファイルを参照するように **更新** します
+7. **MainViewController.m** を新規プロジェクトから更新 (または、もしファイルを変更してなかった場合は置換) します:
+    - 追加されたもの -> viewWillAppear
+8. **"cordova"** フォルダーを新しいプロジェクトから既存プロジェクトのルートフォルダーにコピーします **(2.2.0 では、 'emulate' スクリプトのアップデートがあります)**
+9. 次に、 CordovaLib のサブプロジェクトの参照を更新します。 Cordova 2.1.0 から、 CordovaLib がどこに存在するかを示す CORDOVALIB という Xcode の変数は使用しなくなり、絶対ファイル参照となりました。
+    1. **Terminal.app** を起動します
+    2. **ステップ 1** で Cordova をインストールした位置の、 **bin** サブフォルダーに移動します
+    3. 以下のスクリプトを走らせます。パラメーターは、プロジェクトの **.xcodeproj** ファイルへのパスです
+
+        `update_cordova_subproject path/to/your/project/xcodeproj`
+
+**注意** 2.2.0 では、 **bin/create** スクリプトが プロジェクトの CordovaLib サブプロジェクト内にコピーされるようになります。同じようなセットアップを保持するためにも、正しい CordovaLib をプロジェクトのフォルダーにコピーして、 CordovaLib サブプロジェクトの位置情報 (プロジェクトに関係) を Xcode File Inspector で更新してください。
+
+## 2.0.0 から 2.1.0 へのアップグレード ##
+
+**Cordova 2.1.0** では、 CordovaLib は **Automatic Reference Counting (ARC)** を使用するようにアップグレードされました。 CordovaLib を使用するにあたって **ARC** にアップグレードする必要はありませんが、もしプロジェクトを **ARC** を使用するようにアップグレードしたい場合は、メニューから Xcode migration wizard : **Edit -> Refactor -> Convert to Objective-C ARC…** を使用して、 **libCordova.a を選択解除** し、ウィザードを完了してください。
+
+1. ハードディスクの**恒久的なフォルダー** (例: ~/Documents/Cordova-2.1.0) に **Cordova 2.1.0 をダウンロードし解凍**します
+2. Xcode が起動している場合、 **終了** します
+3. **Terminal.app** を使用して、Cordova をダウンロードしたディレクトリまで **移動**します
+4. コマンドラインツールから [**新規プロジェクトを作成**](guide_command-line_index.md.html#Command-Line%20Usage_ios) します - この新規プロジェクトからアセットを持っていきます
+5. 新規プロジェクトから **www/cordova-2.1.0.js** ファイルを **www** フォルダーに **コピー** し、 **www/cordova-2.0.0.js** ファイルを削除します
+6. **www/index.html** ファイル (また、他に Cordova script を参照しているファイル) の Cordova script 参照部分を、新しい **cordova-2.1.0.js** ファイルを参照するように **更新** します
+7. **AppDelegate.m** を新規プロジェクトから更新 (または、もしファイルを変更してなかった場合は置換) します:
+    - 編集されたもの -> application:didFinishLaunchingWithOptions:
+    - 追加されたもの -> application:supportedInterfaceOrientationsForWindow:
+8. **MainViewController.m** を新規プロジェクトから更新 (または、もしファイルを変更してなかった場合は置換) します:
+    - 追加されたもの -> viewWillAppear
+9. **"cordova"** フォルダーを新しいプロジェクトから既存プロジェクトのルートフォルダーにコピーします **(2.1.0 では、スペースを含むパスをサポートするようになりました)**
+10. **プロジェクト** から **VERSION** ファイルの参照を削除します (CordovaLib にあるものでは**ありません**)
+11. 次に、 CordovaLib のサブプロジェクトの参照を更新します。 Cordova 2.1.0 から、 CordovaLib がどこに存在するかを示す CORDOVALIB という Xcode の変数は使用しなくなり、絶対ファイル参照となりました。
+    1. **Terminal.app** を起動します
+    2. **ステップ 1** で Cordova をインストールした位置の、 **bin** サブフォルダーに移動します
+    3. 以下のスクリプトを走らせます。パラメーターは、プロジェクトの **.xcodeproj** ファイルへのパスです
+
+        `update_cordova_subproject path/to/your/project/xcodeproj`
+
+## 1.9.0 から 2.0.0 へのアップグレード ##
+
+1. Cordova 2.0.0 を **インストール** します
+2. コマンドラインツールから [**新規プロジェクトを作成**](guide_command-line_index.md.html#Command-Line%20Usage_ios) します - この新規プロジェクトからアセットを持っていきます
+3. 新規プロジェクトから **www/cordova-2.0.0.js** ファイルを **www** フォルダーに **コピー** し、 **www/cordova-1.9.0.js** ファイルを削除します
+4. **www/index.html** ファイル (また、他に Cordova script を参照しているファイル) の Cordova script 参照部分を、新しい **cordova-2.0.0.js** ファイルを参照するように **更新** します
+5. 新規プロジェクトから **"cordova"** フォルダーを、 root フォルダーにコピーします (もしコマンドラインツールを使用したい場合)
+6. **Cordova.plist** ファイル (**Supporting Files** グループの下) の中の **Plugins** 以下に新しいエントリーを **追加** します - キーは **Device** で値は **CDVDevice** です
+7. **Cordova.framework** を削除します
+8. **Supporting Files** グループから **verify.sh** を削除します
+9. Project Navigator の **Project アイコン** をクリックし、 **Target** を選択し、 **"Build Settings"** タブを選択します
+10.  **"Preprocessor Macros"** を検索し、すべての **"CORDOVA_FRAMEWORK=1"** の値を削除します
+11. ハードドライブのホームディレクトリの下の **Documents** フォルダーにインストールされた **CordovaLib** フォルダーを開きます
+12. **CordovaLib** フォルダーの中にある **CordovaLib.xcodeproj** ファイルを見つけ、ファイルをプロジェクトに **ドラッグアンドドロップ** します - このフォルダは **サブプロジェクト** として表示されるはずです
+13. プロジェクトを **ビルド** します。いくつかの **#import** ディレクティブに関する **エラー** が検出されるはずです
+14. **#import に関するエラー** に対しては、すべての **引用符ベースの** import 文を、次から:
+
+        #import "CDV.h"
+
+    次の **山括弧ベース** のスタイルに変更します:
+
+        #import <Cordova/CDV.h>
+
+    そして、 **#ifdef** で囲まれたすべての Cordova に関する import を削除します。これらはもう必要ありません (import は **統合** されました)
+15. プロジェクトを再び **ビルド** します。ここでは、 **#import** エラーが検出されないはずです
+16. Project Navigator の **Project アイコン** をクリックし、 **Target** を選択し、 **"Build Phases"** タブを選択します
+17. **"Target Dependencies"** phase を展開し、 **"+"** ボタンを選択します
+18. **"CordovaLib"** target を選択し、 **"Add"** ボタンを選択します
+19. 一番上の **"Link Binary with Libraries"** phase (既に多くの framework が入っているはずです) を展開し、 **"+"** ボタンを選択します
+20. **libCordova.a** static library を選択し、 **"Add"** ボタンを選択します
+21. **"Ran Script"** phase を削除します
+22. Project Navigator の **Project アイコン** をクリックし、 **Target** を選択し、 **"Build Settings"** タブを選択します
+23. **"Other Linker Flags"** を探し、 **-all_load** と **-Obj-C** を値に追加します
+24. **"CordovaLib" sub-project** を展開します
+25. **"VERSION"** ファイルを見つけ、メインプロジェクトにドラッグします (ここではコピーではなくリンクを作成します)
+26. **"Create groups for any added folders"** ラジオボタンを選択し、 **"Finish"** ボタンを選択します
+27. 前のステップでドラッグした **"VERSION"** ファイルを選択します
+28. **File Inspector** を開くため、 **Option-Command-1** キーを押します (または、メニューから **View -> Utilities -> Show File Inspector**)
+29. **Location** のドロップダウンメニューのため、 **File Inspector** から **"Relative to CORDOVALIB"** を選択します
+30. プロジェクトを **ビルド** します。 **問題なく** コンパイルされるはずです
+31. **Scheme** ドロップダウンから **プロジェクトを選択** し、 **"iPhone 5.1 Simulator"** を選択します
+32. **Run** ボタンを選択します
+
+**注意1:**
+もしプロジェクトがシミュレーターで期待通りに **動かない** 場合は、 **Xcode のコンソールログ** にある **すべてのエラーに注意して** 原因を探ってください。
+
+**注意2:**
+**統合した #import ヘッダー** が機能するために、ビルドプロダクトは **同じビルドディレクトリでビルドする** 必要があります。 **"Xcode Preferences -> Locations -> Derived Data -> Advanced…"** の設定を **"Unique"** に変更する必要があるかもしれません。
+
+## 1.8.x から 1.9.0 へのアップグレード ##
+
+1. Cordova 1.9.0 を **インストール** します
+2. **新規プロジェクトを作成します** - この新規プロジェクトからアセットを持っていきます
+3. 新規プロジェクトから **www/cordova-1.9.0.js** ファイルを **www** フォルダーに **コピー** し、 **www/cordova-1.8.x.js** ファイルを削除します
+4. **www/index.html** ファイル (また、他に Cordova script を参照しているファイル) の Cordova script 参照部分を、新しい **cordova-1.9.0.js** ファイルを参照するように **更新** します
+
+**注意:**
+
+1.9.0 は、 Cordova.plist で新しい boolean の **"BackupWebStorage"** 設定値をサポートします。デフォルトでは、これは有効に設定されています。 "false" と設定することで無効にすることができます (特に iOS 6 のため) 。詳しくは [Release Notes - Safari and UIKit Section](https://developer.apple.com/library/prerelease/ios/#releasenotes/General/RN-iOSSDK-6_0/_index.html) を参照してください
+
+
+## 1.7.0 から 1.8.x へのアップグレード ##
+
+1. Cordova 1.8.0 を **インストール** します
+2. **新規プロジェクトを作成します** - この新規プロジェクトからアセットを持っていきます
+3. 新規プロジェクトから **www/cordova-1.8.0.js** ファイルを **www** フォルダーに **コピー** し、 **www/cordova-1.7.x.js** ファイルを削除します
+4. **www/index.html** ファイル (また、他に Cordova script を参照しているファイル) の Cordova script 参照部分を、新しい **cordova-1.8.0.js** ファイルを参照するように **更新** します
+
+もし **Capture API** を使う場合は、新しい **iPad retina-display** アセットが必要です:
+
+1.  新規プロジェクトから **Resources/Capture.bundle** を既存プロジェクトの **Resources/Capture.bundle** に上書きコピーします
+2.  既存プロジェクトで、 Xcode の Project Navigator の中の **Capture.bundle** を選択し、 **Delete** キーを押します。ポップアップダイアログで、 **Remove Reference** を選択します
+3.  ステップ1から新しい **Capture.bundle** を Xcode の Project Navigator 上にドラッグし、 **Create groups for any added folders** ラジオボタンを選択します
+
+## 1.6.x から 1.7.0 へのアップグレード ##
+
+1. Cordova 1.7.0 を **インストール** します
+2. **新規プロジェクトを作成します** - この新規プロジェクトからアセットを持っていきます
+3. 新規プロジェクトから **www/cordova-1.7.0.js** ファイルを **www** フォルダーに **コピー** し、 **www/cordova-1.6.0.js** ファイルを削除します
+4. **www/index.html** ファイル (また、他に Cordova script を参照しているファイル) の Cordova script 参照部分を、新しい **cordova-1.7.0.js** ファイルを参照するように **更新** します
+
+## 1.5.0 から 1.6.x へのアップグレード ##
+
+1. Cordova 1.6.1 を **インストール** します
+2. プロジェクト内の **AppDelegate.m**, **AppDelegate.h**, **MainViewController.m**, **MainViewController.h**, **Cordova.plist** の **バックアップを作成します**
+3. **新規プロジェクトを作成します** - この新規プロジェクトからアセットを持って行きます
+4. 以下のファイルを **新しい** プロジェクトから1.5.0ベースのプロジェクトのフォルダーにコピーし、古いファイルは **置き換え** ます (上のステップ2でファイルを **バックアップ** します):
+
+        AppDelegate.h
+        AppDelegate.m
+        MainViewController.h
+        MainViewController.m
+        Cordova.plist
+5. すべての新しい **MainViewController** と **AppDelegate** ファイルを Xcode プロジェクトに **追加** します
+6. 新規プロジェクトから **www/cordova-1.6.1.js** ファイルを **www** フォルダーに **コピー** し、 **www/cordova-1.5.0.js** ファイルを削除します
+7.  **www/index.html** ファイル (また、他に Cordova script を参照しているファイル) の Cordova script 参照部分を、新しい **cordova-1.6.1.js** ファイルを参照するように **更新** します
+8. 新しい **Cordova.plist** ファイルをプロジェクトに **追加** します - これは、 Android や Blackberry のものと一致するような、統一した Cordova JavaScript ファイル (cordova-js) にするよう、コアプラグインサービス名を変更するためです
+9. **バックアップした Cordova.plist** にあった各設定, **Plugins**, **ExternalHosts** を新しい **Cordova.plist** に **統合** します
+10. **バックアップした AppDelegate.h 及び AppDelegate.m** にあったプロジェクト固有のコードを新しい AppDelegate ファイルに **統合** します。 **AppDelegate.m** の中の **UIWebViewDelegate** または **CDVCommandDelegate** にあったコードは MainViewController.m に移動します (詳しくはファイル中のコメントアウトされた箇所を参照してください)
+11. **バックアップした MainViewController.h 及び MainViewController.m** にあったプロジェクト固有のコードを新しい MainViewController ファイルに **統合** します
+12. Project Navigator の **Project アイコン** をクリックし、 **Project** を選択し、 **"Build Settings"** タブを選択します
+13. 検索フィールドに **"Compiler for C/C++/Objective-C"** と入力します
+14. **"Apple LLVM Compiler 3.1"** を選択します
+
+
+## 1.4.x から 1.5.0 へのアップグレード ##
+
+1. Cordova 1.5.0 を **インストール** します
+2. **新規プロジェクトを作成し** 一度実行します - この新規プロジェクトからアセットを持って行きます
+3. 新規プロジェクトから **www/cordova-1.5.0.js** ファイルを **www** フォルダーに **コピー** し、 **www/cordova-1.5.x.js** ファイルを削除します
+4. **www/index.html** ファイル (また、他に Cordova script を参照しているファイル) の Cordova script 参照部分を、新しい **cordova-1.5.0.js** ファイルを参照するように **更新** します
+5. Project Navigator から **"PhoneGap.framework"** を探し、選択します
+6. **Delete** キーを押して、 Project Navigator の中の **"PhoneGap.framework"** の参照を削除します
+7. **Option-Command-A** キーを押します。ファイルをプロジェクトに追加するためのドロップダウン画面 (**"Add Files.." 画面**) が開きます。 **"Created groups for any added folders"** のラジオボタンが選択されていることを確認します
+8. **Shift-Command-G** キーを押します。フォルダー移動のための別のドロップダウン画面 (**"Go to the folder:" 画面**) が開きます
+9. **"/Users/Shared/Cordova/Frameworks/Cordova.framework"** と入力し、 **"Go"** ボタンをクリックします
+10. **"Add Files.." 画面** で **"Add"** ボタンをクリックします
+11. Project Navigator で **"Cordova.framework" を選択** します
+12. **File Inspector** を開くため、 **Option-Command-1** キーを押します
+13. **Location** のドロップダウンメニューのため、 **File Inspector** から **"Absolute Path"** を選択します
+14. **Option-Command-A** キーを押します。ファイルをプロジェクトに追加するためのドロップダウン画面 (**"Add Files.." 画面**) が開きます。 **"Created groups for any added folders"** のラジオボタンが選択されていることを確認します
+15. **Shift-Command-G** キーを押します。フォルダー移動のための別のドロップダウン画面 (**"Go to the folder:" 画面**) が開きます
+16. **"~/Documents/CordovaLib/Classes/deprecated"** と入力し、 **"Go"** ボタンをクリックします
+17. **"Add Files.." 画面** で **"Add"** ボタンをクリックします
+18. **AppDelegate.h, AppDelegate.m, MainViewController.h** ファイルの **#ifdef PHONEGAP_FRAMEWORK** の部分を以下に置き換えます:
+
+        #import "CDVDeprecated.h"
+19. Project Navigator の **Project アイコン** をクリックし、 **Target** を選択し、 **"Build Settings"** タブを選択します
+20. **"Framework Search Paths"** を探します
+21. 値を **"/Users/Shared/Cordova/Frameworks"** に置き換えます
+22. **"Preprocessor Macros"** を探します
+23. 最初の (複合の) 値を **"CORDOVA_FRAMEWORK=YES"** に置き換えます
+24. **"Build Phases"** タブを選択します
+25. **"Run Script"** を展開します
+26. すべての **PhoneGap** を **Cordova** に置き換えます
+27. Project Navigator から **"PhoneGap.plist"** を探し、ファイル名をクリックしてファイル名が編集可能な状態にします
+28. ファイル名の **"PhoneGap.plist"** を **"Cordova.plist"** に変更します
+29. **"Cordova.plist"** を右クリックし、**"Open As" --> "Source Code"** を選択します
+30. **Option-Command-F** キーを押し、 Source ウィンドウ左上のドロップダウンから **"Replace"** を選択します
+31. 検索文字に **com.phonegap** 、置換文字に **org.apache.cordova** を入力します。 **"Replace All"** ボタンをクリックします
+32. 検索文字に **PG** 、置換文字に **CDV** を入力します。 **"Replace All"** ボタンをクリックします
+33. **Command-B** キーを押してビルドします。まだいくつかの非推奨コードが残っていますが、これらは取り除くことができます (**CDVDeprecated.h** を参照してください。ソースコードの中のクラスを、 PG* から CDV* に変更するなどが方法として挙げられます)
+
+## 1.4.0 から 1.4.1 へのアップグレード ##
+
+1. Cordova 1.4.1 を **インストール** します
+2. **MainViewController.m** の **バックアップを作成します**
+3. **新規プロジェクトを作成します** - この新規プロジェクトからアセットを持って行きます
+4. **MainViewController.m** を **新しい** プロジェクトから1.4.0ベースのプロジェクトのフォルダーにコピーし、古いファイルは **置き換え** ます (上のステップ2でファイルを **バックアップ** します)
+5. **MainViewController.m** を Xcode プロジェクトに **追加** します
+6. **バックアップした MainViewController.m** にあったプロジェクト固有のコードを新しいファイルに **統合** します
+7. phonegap-X.X.X.js ファイルは任意で更新してください。 JavaScript の中身は、1.4.0と1.4.1で違いがありません
+
+## 1.3.0 から 1.4.0 へのアップグレード ##
+
+1. Cordova 1.4.0 を **インストール** します
+2. **AppDelegate.m** と **AppDelegate.h** の **バックアップを作成します**
+3. **新規プロジェクトを作成します** - この新規プロジェクトからアセットを持って行きます
+4. 以下のファイルを **新しい** プロジェクトから1.3.0ベースのプロジェクトのフォルダーにコピーし、古いファイルは **置き換え** ます (上のステップ2でファイルを **バックアップ** します):
+
+        AppDelegate.h
+        AppDelegate.m
+        MainViewController.h
+        MainViewController.m
+        MainViewController.xib
+5. すべての新しい **MainViewController** ファイルを Xcode プロジェクトに **追加** します
+6. 新規プロジェクトから **www/phonegap-1.4.0.js** ファイルを **www** フォルダーに **コピー** し、 **www/phonegap-1.3.0.js** ファイルを削除します
+7.  **www/index.html** ファイル (また、他に Cordova script を参照しているファイル) の Cordova script 参照部分を、新しい **phonegap-1.4.0.js** ファイルを参照するように **更新** します
+8. **PhoneGap.plist** ファイルの **Plugins** の下に新しい要素を **追加** します - キーは **com.phonegap.battery** で値は **PGBattery** です
+9. **バックアップした AppDelegate.h 及び AppDelegate.m** にあったプロジェクト固有のコードを新しい AppDelegate ファイルに **統合** します
+
+## 1.2.0 から 1.3.0 へのアップグレード ##
+
+1. Cordova 1.3.0 を **インストール** します
+2. **AppDelegate.m** と **AppDelegate.h** の **バックアップを作成します**
+3. **新規プロジェクトを作成します** - この新規プロジェクトからアセットを持って行きます
+4. 以下のファイルを **新しい** プロジェクトから1.2.0ベースのプロジェクトのフォルダーにコピーし、古いファイルは **置き換え** ます (上のステップ2でファイルを **バックアップ** します):
+
+        AppDelegate.h
+        AppDelegate.m
+        MainViewController.h
+        MainViewController.m
+        MainViewController.xib
+5. すべての新しい **MainViewController** ファイルを Xcode プロジェクトに **追加** します
+6. 新規プロジェクトから **www/phonegap-1.3.0.js** ファイルを **www** フォルダーに **コピー** し、 **www/phonegap-1.2.0.js** ファイルを削除します
+7.  **www/index.html** ファイル (また、他に Cordova script を参照しているファイル) の Cordova script 参照部分を、新しい **phonegap-1.3.0.js** ファイルを参照するように **更新** します
+8. **PhoneGap.plist** ファイルの **Plugins** の下に新しい要素を **追加** します - キーは **com.phonegap.battery** で値は **PGBattery** です
+9. **バックアップした AppDelegate.h 及び AppDelegate.m** にあったプロジェクト固有のコードを新しい AppDelegate ファイルに **統合** します
+
+## 1.1.0 から 1.2.0 へのアップグレード ##
+
+1. Cordova 1.2.0 を **インストール** します
+2. **AppDelegate.m** と **AppDelegate.h** の **バックアップを作成します**
+3. **新規プロジェクトを作成します** - この新規プロジェクトからアセットを持って行きます
+4. 以下のファイルを **新しい** プロジェクトから1.1.0ベースのプロジェクトのフォルダーにコピーし、古いファイルは **置き換え** ます (上のステップ2でファイルを **バックアップ** します):
+
+        AppDelegate.h
+        AppDelegate.m
+        MainViewController.h
+        MainViewController.m
+        MainViewController.xib
+5. すべての新しい **MainViewController** ファイルを Xcode プロジェクトに **追加** します
+6. 新規プロジェクトから **www/phonegap-1.2.0.js** ファイルを **www** フォルダーに **コピー** し、 **www/phonegap-1.1.0.js** ファイルを削除します
+7.  **www/index.html** ファイル (また、他に Cordova script を参照しているファイル) の Cordova script 参照部分を、新しい **phonegap-1.2.0.js** ファイルを参照するように **更新** します
+8. **PhoneGap.plist** ファイルの **Plugins** の下に新しい要素を **追加** します - キーは **com.phonegap.battery** で値は **PGBattery** です
+9. **バックアップした AppDelegate.h 及び AppDelegate.m** にあったプロジェクト固有のコードを新しい AppDelegate ファイルに **統合** します
+
+## 1.0.0 から 1.1.0 へのアップグレード ##
+
+1. Cordova 1.1.0 を **インストール** します
+2. **AppDelegate.m** と **AppDelegate.h** の **バックアップを作成します**
+3. **新規プロジェクトを作成します** - この新規プロジェクトからアセットを持って行きます
+4. 以下のファイルを **新しい** プロジェクトから1.1.0ベースのプロジェクトのフォルダーにコピーし、古いファイルは **置き換え** ます (上のステップ2でファイルを **バックアップ** します):
+
+        AppDelegate.h
+        AppDelegate.m
+        MainViewController.h
+        MainViewController.m
+        MainViewController.xib
+5. すべての新しい **MainViewController** ファイルを Xcode プロジェクトに **追加** します
+6. 新規プロジェクトから **www/phonegap-1.2.0.js** ファイルを **www** フォルダーに **コピー** し、 **www/phonegap-1.1.0.js** ファイルを削除します
+7.  **www/index.html** ファイル (また、他に Cordova script を参照しているファイル) の Cordova script 参照部分を、新しい **phonegap-1.2.0.js** ファイルを参照するように **更新** します
+8. **PhoneGap.plist** ファイルの **Plugins** の下に新しい要素を **追加** します - キーは **com.phonegap.battery** で値は **PGBattery** です
+9. **バックアップした AppDelegate.h 及び AppDelegate.m** にあったプロジェクト固有のコードを新しい AppDelegate ファイルに **統合** します
+
+## 0.9.6 から 1.0.0 へのアップグレード ##
+
+1. Cordova 1.0.0 を **インストール** します
+2. **AppDelegate.m** と **AppDelegate.h** の **バックアップを作成します**
+3. **新規プロジェクトを作成します** - この新規プロジェクトからアセットを持って行きます
+4. 以下のファイルを **新しい** プロジェクトから0.9.6ベースのプロジェクトのフォルダーにコピーし、古いファイルは **置き換え** ます (上のステップ2でファイルを **バックアップ** します):
+
+        AppDelegate.h
+        AppDelegate.m
+        MainViewController.h
+        MainViewController.m
+        MainViewController.xib
+5. すべての新しい **MainViewController** ファイルを Xcode プロジェクトに **追加** します
+6. 新規プロジェクトから **www/phonegap-1.0.0.js** ファイルを **www** フォルダーに **コピー** し、 **www/phonegap-0.9.6.js** ファイルを削除します
+7.  **www/index.html** ファイル (また、他に Cordova script を参照しているファイル) の Cordova script 参照部分を、新しい **phonegap-1.0.0.js** ファイルを参照するように **更新** します
+8. **PhoneGap.plist** ファイルの **Plugins** の下に新しい要素を **追加** します - キーは **com.phonegap.battery** で値は **PGBattery** です
+9. **バックアップした AppDelegate.h 及び AppDelegate.m** にあったプロジェクト固有のコードを新しい AppDelegate ファイルに **統合** します

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/2.2.0/guide/upgrading/symbian/index.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.2.0/guide/upgrading/symbian/index.md b/docs/ja/2.2.0/guide/upgrading/symbian/index.md
new file mode 100644
index 0000000..77c3d0e
--- /dev/null
+++ b/docs/ja/2.2.0/guide/upgrading/symbian/index.md
@@ -0,0 +1,21 @@
+---
+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.
+---
+
+Upgrading Cordova Symbian
+=========================

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/2.2.0/guide/upgrading/tizen/index.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.2.0/guide/upgrading/tizen/index.md b/docs/ja/2.2.0/guide/upgrading/tizen/index.md
new file mode 100644
index 0000000..bea8495
--- /dev/null
+++ b/docs/ja/2.2.0/guide/upgrading/tizen/index.md
@@ -0,0 +1,23 @@
+---
+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.
+---
+
+Upgrading Cordova Tizen
+======================
+
+これは、 Cordova を古いバージョンから新しいバージョンにアップグレードする必要が>ある人のためのドキュメントです。

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/2.2.0/guide/upgrading/webos/index.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.2.0/guide/upgrading/webos/index.md b/docs/ja/2.2.0/guide/upgrading/webos/index.md
new file mode 100644
index 0000000..4e0914d
--- /dev/null
+++ b/docs/ja/2.2.0/guide/upgrading/webos/index.md
@@ -0,0 +1,38 @@
+---
+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.
+---
+
+Upgrading Cordova webOS
+=======================
+
+これは、 Cordova を古いバージョンから新しいバージョンにアップグレードする必要がある人のためのドキュメントです。
+
+## 2.0.0 から 2.1.0 へのアップグレード ##
+
+1. cordova-2.0.0.js をプロジェクトから削除します
+
+2. index.html から次の行を更新します:
+
+    次から:
+    <script type="text/javascript" src="cordova-2.0.0.js"></script>
+
+    次に変更します:
+    <script type="text/javascript" src="cordova-2.1.0.js"></script>
+
+3. makefile を実行し、新しいバージョンの cordova-2.1.0.js ファイルを生成します
+

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/2.2.0/guide/upgrading/windows-phone/index.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.2.0/guide/upgrading/windows-phone/index.md b/docs/ja/2.2.0/guide/upgrading/windows-phone/index.md
new file mode 100644
index 0000000..35af5aa
--- /dev/null
+++ b/docs/ja/2.2.0/guide/upgrading/windows-phone/index.md
@@ -0,0 +1,147 @@
+---
+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.
+---
+
+Upgrading Cordova Windows Phone
+===============================
+
+これは、 Cordova を古いバージョンから新しいバージョンにアップグレードする必要がある人のためのドキュメントです。
+
+## 1.9.0 から 2.0.0 へのアップグレード ##
+
+Apache Cordova 2.0.0 では WP7 プロジェクト構成に対してかなりの変更が加えられたので、アップグレードは他とは少し違います。厳密に言うとアップグレードではなく、新規プロジェクトを作成し、既存のソースファイルをコピーするといったような手順になります。
+
+### Visual Studio の Solution Explorer ウィンドウ内:
+1. 新しい Apache Cordova WP7 2.0 プロジェクトを作成します
+2. 'www' フォルダーの中身を新しいプロジェクトにコピーします。ここで、中身が VS のプロジェクトに追加されていることを確認して下さい
+3. 新しい cordova-2.0.0.js を使って HTML を更新します
+4. スプラッシュスクリーンやアイコン画像をコピーまたは上書きします
+5. プラグインフォルダーからすべてのプラグインを新しいプロジェクトにコピーします。ここで、プラグインが VS のプロジェクトに追加されていることを確認してください
+6. ビルドし、テストします
+
+
+## 1.8.0 から 1.9.0 へのアップグレード ##
+
+### Visual Studio の Solution Explorer ウィンドウ内:
+1. プロジェクトから GapLib/WP7CordovaClassLib.dll ファイルを削除します
+2. References フォルダー内の WP7CordovaClassLib への参照を削除します
+3. References を右クリックし、 'Add Reference' を選択します
+4. 新しいバージョンの 'WP7CordovaClassLib.dll' ファイルを追加します
+    - 注意: DLL のバージョンは、 reference を右クリックし Properties を選択することにより確認出来ます
+5. 新しい cordova-1.9.0.js をプロジェクトにコピーします (Content としてマークされていることを確認してください)
+6. 新しい cordova-1.9.0.js を使って HTML を更新します
+
+
+## 1.7.0 から 1.8.0 へのアップグレード ##
+
+### Visual Studio の Solution Explorer ウィンドウ内:
+1. プロジェクトから GapLib/WP7CordovaClassLib.dll ファイルを削除します
+2. References フォルダー内の WP7CordovaClassLib への参照を削除します
+3. References を右クリックし、 'Add Reference' を選択します
+4. 新しいバージョンの 'WP7CordovaClassLib.dll' ファイルを追加します
+    - 注意: DLL のバージョンは、 reference を右クリックし Properties を選択することにより確認出来ます
+5. 新しい cordova-1.8.0.js をプロジェクトにコピーします (Content としてマークされていることを確認してください)
+6. 新しい cordova-1.8.0.js を使って HTML を更新します
+
+## 1.6.0 から 1.7.0 へのアップグレード ##
+
+### Visual Studio の Solution Explorer ウィンドウ内:
+1. プロジェクトから GapLib/WP7CordovaClassLib.dll ファイルを削除します
+2. References フォルダー内の WP7CordovaClassLib への参照を削除します
+3. References を右クリックし、 'Add Reference' を選択します
+4. 新しいバージョンの 'WP7CordovaClassLib.dll' ファイルを追加します
+    - 注意: DLL のバージョンは、 reference を右クリックし Properties を選択することにより確認出来ます
+5. 新しい cordova-1.7.0.js をプロジェクトにコピーします (Content としてマークされていることを確認してください)
+6. 新しい cordova-1.7.0.js を使って HTML を更新します
+
+## 1.6.0 から 1.6.1 へのアップグレード ##
+
+### Visual Studio の Solution Explorer ウィンドウ内:
+1. プロジェクトから GapLib/WP7CordovaClassLib.dll ファイルを削除します
+2. References フォルダー内の WP7CordovaClassLib への参照を削除します
+3. References を右クリックし、 'Add Reference' を選択します
+4. 新しいバージョンの 'WP7CordovaClassLib.dll' ファイルを追加します
+    - 注意: DLL のバージョンは、 reference を右クリックし Properties を選択することにより確認出来ます
+5. 新しい cordova-1.6.1.js をプロジェクトにコピーします (Content としてマークされていることを確認してください)
+6. 新しい cordova-1.6.1.js を使って HTML を更新します
+
+## 1.5.0 から 1.6.0 へのアップグレード ##
+
+### Visual Studio の Solution Explorer ウィンドウ内:
+1. プロジェクトから GapLib/WP7CordovaClassLib.dll ファイルを削除します
+2. References フォルダー内の WP7CordovaClassLib への参照を削除します
+3. References を右クリックし、 'Add Reference' を選択します
+4. 新しいバージョンの 'WP7CordovaClassLib.dll' ファイルを追加します
+    - 注意: DLL のバージョンは、 reference を右クリックし Properties を選択することにより確認出来ます
+5. 新しい cordova-1.6.0.js をプロジェクトにコピーします (Content としてマークされていることを確認してください)
+6. 新しい cordova-1.6.0.js を使って HTML を更新します
+
+## 1.4.0 から 1.5.0 へのアップグレード ##
+
+### Visual Studio の Solution Explorer ウィンドウ内:
+1. プロジェクトから GapLib/WP7CordovaClassLib.dll ファイルを削除します
+2. References フォルダー内の WP7CordovaClassLib への参照を削除します
+3. References を右クリックし、 'Add Reference' を選択します
+4. 新しいバージョンの 'WP7CordovaClassLib.dll' ファイルを追加します
+    - 注意: DLL のバージョンは、 reference を右クリックし Properties を選択することにより確認出来ます
+5. 新しい cordova-1.5.0.js をプロジェクトにコピーします (Content としてマークされていることを確認してください)
+6. 新しい cordova-1.5.0.js を使って HTML を更新します
+
+## 1.3.0 から 1.4.0 へのアップグレード ##
+
+### Visual Studio の Solution Explorer ウィンドウ内:
+1. プロジェクトから GapLib/WP7CordovaClassLib.dll ファイルを削除します
+2. References フォルダー内の WP7CordovaClassLib への参照を削除します
+3. References を右クリックし、 'Add Reference' を選択します
+4. 新しいバージョンの 'WP7CordovaClassLib.dll' ファイルを追加します
+    - 注意: DLL のバージョンは、 reference を右クリックし Properties を選択することにより確認出来ます
+5. 新しい cordova-1.4.0.js をプロジェクトにコピーします (Content としてマークされていることを確認してください)
+6. 新しい cordova-1.4.0.js を使って HTML を更新します
+
+## 1.2.0 から 1.3.0 へのアップグレード ##
+
+### Visual Studio の Solution Explorer ウィンドウ内:
+1. プロジェクトから GapLib/WP7CordovaClassLib.dll ファイルを削除します
+2. References フォルダー内の WP7CordovaClassLib への参照を削除します
+3. References を右クリックし、 'Add Reference' を選択します
+4. 新しいバージョンの 'WP7CordovaClassLib.dll' ファイルを追加します
+    - 注意: DLL のバージョンは、 reference を右クリックし Properties を選択することにより確認出来ます
+5. 新しい cordova-1.3.0.js をプロジェクトにコピーします (Content としてマークされていることを確認してください)
+6. 新しい cordova-1.3.0.js を使って HTML を更新します
+
+## 1.1.0 から 1.2.0 へのアップグレード ##
+
+### Visual Studio の Solution Explorer ウィンドウ内:
+1. プロジェクトから GapLib/WP7CordovaClassLib.dll ファイルを削除します
+2. References フォルダー内の WP7CordovaClassLib への参照を削除します
+3. References を右クリックし、 'Add Reference' を選択します
+4. 新しいバージョンの 'WP7CordovaClassLib.dll' ファイルを追加します
+    - 注意: DLL のバージョンは、 reference を右クリックし Properties を選択することにより確認出来ます
+5. 新しい cordova-1.2.0.js をプロジェクトにコピーします (Content としてマークされていることを確認してください)
+6. 新しい cordova-1.2.0.js を使って HTML を更新します
+
+## 1.0.0 から 1.1.0 へのアップグレード ##
+
+### Visual Studio の Solution Explorer ウィンドウ内:
+1. プロジェクトから GapLib/WP7CordovaClassLib.dll ファイルを削除します
+2. References フォルダー内の WP7CordovaClassLib への参照を削除します
+3. References を右クリックし、 'Add Reference' を選択します
+4. 新しいバージョンの 'WP7CordovaClassLib.dll' ファイルを追加します
+    - 注意: DLL のバージョンは、 reference を右クリックし Properties を選択することにより確認出来ます
+5. 新しい cordova-1.1.0.js をプロジェクトにコピーします (Content としてマークされていることを確認してください)
+6. 新しい cordova-1.1.0.js を使って HTML を更新します

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/2.2.0/guide/whitelist/index.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.2.0/guide/whitelist/index.md b/docs/ja/2.2.0/guide/whitelist/index.md
new file mode 100644
index 0000000..15aee5f
--- /dev/null
+++ b/docs/ja/2.2.0/guide/whitelist/index.md
@@ -0,0 +1,191 @@
+---
+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.
+---
+
+ドメインホワイトリストガイド
+=====================
+
+概要
+--------
+
+Apache Cordova のドメインホワイトリストは、 `http://google.com` などの外部ドメインへのアクセスを制御するセキュリティモデルです。デフォルトのセキュリティポリシーは全てのネットワークアクセスをブロックします。アプリケーション開発者は、特定のネットワークのドメインやサブドメインへのアクセスを宣言して許可できます。
+
+仕様
+-------------
+
+ドメインホワイトリストは [W3C Widget Access][1] の仕様に基づいています。 Widget Access 仕様の中で、 `<access>` 要素はネットワークドメインへのアクセス許可を指定するために使われています。将来、 Apache Cordova はホワイトリスト実装のプラットフォームの W3C Widget Access 仕様書。しかしながら、現在は各プラットフォームは各々のドメインホワイトリストを実装する必要があります。
+
+シンタックス
+------
+
+[google.com][2] へのアクセス:
+
+    http://google.com
+
+[google.com][3] へのセキュアアクセス (`https://`):
+
+    https://google.com
+
+[maps.google.com][4] サブドメインへのアクセス:
+
+    http://maps.google.com
+
+[google.com][2] のすべてのサブドメインへのアクセス (例: [mail.google.com][5] 及び [docs.google.com][6]):
+
+    http://*.google.com
+
+すべてのドメインへのアクセス (例: [google.com][2] 及び [developer.mozilla.org][7]):
+
+    *
+
+Android
+-------
+
+### 詳細
+
+ホワイトリストのルールは `res/xml/config.xml` で見つけることができ、 `<access origin="..." />` 要素によって宣言できます。
+
+Android はホワイトリストのシンタックスをフルサポートしています。
+
+### シンタックス
+
+[google.com][2] へのアクセス:
+
+    <access origin="http://google.com" />
+
+Bada
+----
+
+ドメインホワイトリストは Bada ではサポートされていません。デフォルトとして、全てのドメインにアクセス可能です。
+
+BlackBerry
+----------
+
+### 詳細
+
+ホワイトリストのルールは `www/config.xml` で見つけることができ、 `<access uri="..." />` 要素によって宣言できます。
+
+詳細については、 [BlackBerry WebWorks Access Element documentation][8] を参照してください。
+
+### シンタックス
+
+[google.com][2] へのアクセス:
+
+    <access uri="http://google.com" subdomains="false" />
+
+[maps.google.com][4] へのアクセス:
+
+    <access uri="http://maps.google.com" subdomains="false" />
+
+[google.com][2] のすべてのサブドメインへのアクセス:
+
+    <access uri="http://google.com" subdomains="true" />
+
+`file://` プロトコルを含むすべてのドメインへのアクセス:
+
+    <access uri="*" subdomains="true" />
+
+iOS
+---
+
+### 詳細
+
+1. `Cordova.plist` を開きます
+    - Xcode 内では `AppName/Supporting Files/Cordova.plist` で見つけられます
+    - ディレクトリ内では `AppName/Cordova.plist` で見つけられます
+2. `ExternalHosts` キー配下に新しい文字列を追加します
+    - XML の直接編集を避けるため、 Xcode を使用することを勧めます
+
+
+### シンタックス
+
+[google.com][2] のアクセス及び [google.com][3] へのセキュアアクセス (`https://`):
+
+    google.com
+
+[maps.google.com][4] サブドメインへのアクセス:
+
+    maps.google.com
+
+[google.com][2] のすべてのサブドメインへのアクセス (例: [mail.google.com][5] 及び [docs.google.com][6]):
+
+    *.google.com
+
+すべてのドメインへのアクセス (例: [google.com][2] 及び [developer.mozilla.org][7]):
+
+    *
+
+iOS のワイルドカード (`*`) は [W3C Widget Access][1] の仕様より柔軟です。
+
+すべてのサブドメインへ及び TLD (`.com`, `.net` など) へのアクセス:
+
+    *.google.*
+
+Symbian
+-------
+
+
+ドメインホワイトリストは Symbian ではサポートされていません。デフォルトとして、全てのドメインにアクセス可能です。
+
+webOS
+-----
+
+ドメインホワイトリストは webOS ではサポートされていません。デフォルトとして、全てのドメインにアクセス可能です。
+
+Windows Phone
+-------------
+
+ドメインホワイトリストは Windows Phone ではサポートされていません。デフォルトとして、全てのドメインにアクセス可能です。
+
+Tizen
+----------
+
+### 詳細
+
+ドメインホワイトリストのルールはアプリケーションのルートディレクトリにある `config.xml` で見つけることができます。
+これらは、 `<access origin="..." />` 要素によって宣言されています。
+詳細については、 [Tizen Accessing External Network Resources documentation][9] を参照してください。
+
+
+### シンタックス
+
+[google.com][2] のアクセス:
+
+    <access origin="http://google.com" subdomains="false" />
+
+[google.com][3] へのセキュアアクセス (`https://`):
+
+    <access origin="https://google.com" subdomains="false" />
+
+[google.com][2] のすべてのサブドメインへのアクセス:
+
+    <access origin="http://google.com" subdomains="true" />
+
+`file://` プロトコルを含むすべてのドメインへのアクセス:
+
+    <access origin="*" subdomains="true" />
+
+[1]: http://www.w3.org/TR/widgets-access/
+[2]: http://google.com
+[3]: https://google.com
+[4]: http://maps.google.com
+[5]: http://mail.google.com
+[6]: http://docs.google.com
+[7]: http://developer.mozilla.org
+[8]: https://developer.blackberry.com/html5/documentation/ww_developing/Access_element_834677_11.html
+[9]: https://developer.tizen.org/help/topic/org.tizen.help.gs/Creating%20a%20Project.html?path=0_1_1_4#8814682_CreatingaProject-AccessingExternalNetworkResources

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/2.2.0/index.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.2.0/index.md b/docs/ja/2.2.0/index.md
new file mode 100644
index 0000000..4f7958d
--- /dev/null
+++ b/docs/ja/2.2.0/index.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.
+---
+
+<div id="home">
+    <h1>API リファレンス</h1>
+    <ul>
+        <li>
+            <h2>Accelerometer</h2>
+            <span>デバイスの加速度センサー情報を取得します。</span>
+        </li>
+        <li>
+            <h2>Camera</h2>
+            <span>カメラを通じて写真を取得します。</span>
+        </li>
+        <li>
+            <h2>Capture</h2>
+            <span>デバイスのメディアキャプチャー機能を通じてメディアファイルを取得します。</span>
+        </li>
+        <li>
+            <h2>Compass</h2>
+            <span>コンパス方向を取得します。</span>
+        </li>
+        <li>
+            <h2>Connection</h2>
+            <span>ネットワークの状態および携帯電話ネットワークの情報を取得します。</span>
+        </li>
+        <li>
+            <h2>Contacts</h2>
+            <span>連絡先データベース情報を操作します。</span>
+        </li>
+        <li>
+            <h2>Device</h2>
+            <span>デバイス特有の情報を取得します。</span>
+        </li>
+        <li>
+            <h2>Events</h2>
+            <span>JavaScript を通じてネイティブイベントを操作します。</span>
+        </li>
+        <li>
+            <h2>File</h2>
+            <span>JavaScript を通じてネイティブファイルシステムを操作します。</span>
+        </li>
+        <li>
+            <h2>Geolocation</h2>
+            <span>位置情報を取得します。</span>
+        </li>
+        <li>
+            <h2>Globalization</h2>
+            <span>ロケール固有のオブジェクトの表現を可能にします。</span>
+        </li>
+        <li>
+            <h2>Media</h2>
+            <span>オーディオの録音と再生を行います。</span>
+        </li>
+        <li>
+            <h2>Notification</h2>
+            <span>視覚、聴覚、触覚を用いたデバイス通知機能を提供します。</span>
+        </li>
+        <li>
+            <h2>Splashscreen</h2>
+            <span>アプリケーションのスプラッシュスクリーンを表示・非表示します。</span>
+        </li>
+        <li>
+            <h2>Storage</h2>
+            <span>デバイスのネイティブストレージを操作します。</span>
+        </li>
+    </ul>
+    <h1>Guides</h1>
+    <ul>
+        <li>
+            <h2>入門ガイド</h2>
+            <span>SDK をセットアップして、最初の Cordova アプリケーションを作ります。</span>
+        </li>
+        <li>
+            <h2>コマンドライン使用ガイド</h2>
+            <span>コマンドラインからアプリケーションの作成、ビルド、デプロイ、デバッグを行います。</span>
+        </li>
+        <li>
+            <h2>アップグレードガイド</h2>
+            <span>アプリケーションを最新の Cordova にアップグレードします。</span>
+        </li>
+        <li>
+            <h2>プロジェクトの設定</h2>
+            <span>アプリケーションの設定をカスタマイズします。</span>
+        </li>
+        <li>
+            <h2>プラグイン開発ガイド</h2>
+            <span>最初の Cordova プラグインを作ります。</span>
+        </li>
+        <li>
+            <h2>ドメインホワイトリストガイド</h2>
+            <span>アプリケーションに外部ドメインへのアクセス権を与えます。</span>
+        </li>
+        <li>
+            <h2>WebView の埋め込み</h2>
+            <span>Cordova WebView をプロジェクトで実装します。</span>
+        </li>
+        <li>
+            <h2><a href="_index.html">索引</a></h2>
+            <span>Cordova ドキュメントの索引を見ます。</span>
+        </li>
+    </ul>
+</div>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/jp/1.7.0/config.json
----------------------------------------------------------------------
diff --git a/docs/jp/1.7.0/config.json b/docs/jp/1.7.0/config.json
deleted file mode 100644
index 4d5854a..0000000
--- a/docs/jp/1.7.0/config.json
+++ /dev/null
@@ -1,170 +0,0 @@
-{
-    "language": "Japanese",
-    "merge": {
-        "accelerometer.md": [
-            "cordova/accelerometer/accelerometer.md",
-            "cordova/accelerometer/accelerometer.getCurrentAcceleration.md",
-            "cordova/accelerometer/accelerometer.watchAcceleration.md",
-            "cordova/accelerometer/accelerometer.clearWatch.md",
-            "cordova/accelerometer/acceleration/acceleration.md",
-            "cordova/accelerometer/parameters/accelerometerSuccess.md",
-            "cordova/accelerometer/parameters/accelerometerError.md",
-            "cordova/accelerometer/parameters/accelerometerOptions.md"
-        ],
-        "camera.md": [
-            "cordova/camera/camera.md",
-            "cordova/camera/camera.getPicture.md",
-            "cordova/camera/parameter/cameraSuccess.md",
-            "cordova/camera/parameter/cameraError.md",
-            "cordova/camera/parameter/cameraOptions.md"
-        ],
-        "capture.md": [
-            "cordova/media/capture/capture.md",
-            "cordova/media/capture/captureAudio.md",
-            "cordova/media/capture/captureAudioOptions.md",
-            "cordova/media/capture/captureImage.md",
-            "cordova/media/capture/captureImageOptions.md",
-            "cordova/media/capture/captureVideo.md",
-            "cordova/media/capture/captureVideoOptions.md",
-            "cordova/media/capture/CaptureError.md",
-            "cordova/media/capture/CaptureCB.md",
-            "cordova/media/capture/CaptureErrorCB.md",
-            "cordova/media/capture/ConfigurationData.md",
-            "cordova/media/capture/MediaFile.md",
-            "cordova/media/capture/MediaFile.getFormatData.md",
-            "cordova/media/capture/MediaFileData.md"
-        ],
-        "compass.md": [
-            "cordova/compass/compass.md",
-            "cordova/compass/compass.getCurrentHeading.md",
-            "cordova/compass/compass.watchHeading.md",
-            "cordova/compass/compass.clearWatch.md",
-            "cordova/compass/compass.watchHeadingFilter.md",
-            "cordova/compass/compass.clearWatchFilter.md",
-            "cordova/compass/parameters/compassSuccess.md",
-            "cordova/compass/parameters/compassError.md",
-            "cordova/compass/parameters/compassOptions.md",
-            "cordova/compass/parameters/compassHeading.md",
-            "cordova/compass/compassError/compassError.md"
-        ],
-        "contacts.md": [
-            "cordova/contacts/contacts.md",
-            "cordova/contacts/contacts.create.md",
-            "cordova/contacts/contacts.find.md",
-            "cordova/contacts/Contact/contact.md",
-            "cordova/contacts/ContactAddress/contactaddress.md",
-            "cordova/contacts/ContactField/contactfield.md",
-            "cordova/contacts/ContactFindOptions/contactfindoptions.md",
-            "cordova/contacts/ContactName/contactname.md",
-            "cordova/contacts/ContactOrganization/contactorganization.md",
-            "cordova/contacts/ContactError/contactError.md",
-            "cordova/contacts/parameters/contactSuccess.md",
-            "cordova/contacts/parameters/contactError.md",
-            "cordova/contacts/parameters/contactFields.md",
-            "cordova/contacts/parameters/contactFindOptions.md"
-        ],
-        "device.md": [
-            "cordova/device/device.md",
-            "cordova/device/device.name.md",
-            "cordova/device/device.cordova.md",
-            "cordova/device/device.platform.md",
-            "cordova/device/device.uuid.md",
-            "cordova/device/device.version.md"
-        ],
-        "events.md": [
-            "cordova/events/events.md",
-            "cordova/events/events.deviceready.md",
-            "cordova/events/events.pause.md",
-            "cordova/events/events.resume.md",
-            "cordova/events/events.online.md",
-            "cordova/events/events.offline.md",
-            "cordova/events/events.backbutton.md",
-            "cordova/events/events.batterycritical.md",
-            "cordova/events/events.batterylow.md",
-            "cordova/events/events.batterystatus.md",
-            "cordova/events/events.menubutton.md",
-            "cordova/events/events.searchbutton.md",
-            "cordova/events/events.startcallbutton.md",
-            "cordova/events/events.endcallbutton.md",
-            "cordova/events/events.volumedownbutton.md",
-            "cordova/events/events.volumeupbutton.md"
-        ],
-        "file.md": [
-            "cordova/file/file.md",
-            "cordova/file/fileobj/fileobj.md",
-            "cordova/file/filereader/filereader.md",
-            "cordova/file/filewriter/filewriter.md",
-            "cordova/file/filesystem/filesystem.md",
-            "cordova/file/fileentry/fileentry.md",
-            "cordova/file/directoryentry/directoryentry.md",
-            "cordova/file/directoryreader/directoryreader.md",
-            "cordova/file/filetransfer/filetransfer.md",
-            "cordova/file/fileuploadoptions/fileuploadoptions.md",
-            "cordova/file/fileuploadresult/fileuploadresult.md",
-            "cordova/file/flags/flags.md",
-            "cordova/file/localfilesystem/localfilesystem.md",
-            "cordova/file/metadata/metadata.md",
-            "cordova/file/fileerror/fileerror.md",
-            "cordova/file/filetransfererror/filetransfererror.md"
-        ],
-        "geolocation.md": [
-            "cordova/geolocation/geolocation.md",
-            "cordova/geolocation/geolocation.getCurrentPosition.md",
-            "cordova/geolocation/geolocation.watchPosition.md",
-            "cordova/geolocation/geolocation.clearWatch.md",
-            "cordova/geolocation/Coordinates/coordinates.md",
-            "cordova/geolocation/Position/position.md",
-            "cordova/geolocation/PositionError/positionError.md",
-            "cordova/geolocation/parameters/geolocationSuccess.md",
-            "cordova/geolocation/parameters/geolocationError.md",
-            "cordova/geolocation/parameters/geolocation.options.md"
-        ],
-        "media.md": [
-            "cordova/media/media.md",
-            "cordova/media/media.getCurrentPosition.md",
-            "cordova/media/media.getDuration.md",
-            "cordova/media/media.pause.md",
-            "cordova/media/media.play.md",
-            "cordova/media/media.release.md",
-            "cordova/media/media.seekTo.md",
-            "cordova/media/media.startRecord.md",
-            "cordova/media/media.stop.md",
-            "cordova/media/media.stopRecord.md",
-            "cordova/media/MediaError/mediaError.md",
-            "cordova/media/Parameters/mediaError.md"
-        ],
-        "network.md": [
-            "cordova/network/network.md",
-            "cordova/network/network.isReachable.md",
-            "cordova/network/NetworkStatus/NetworkStatus.md",
-            "cordova/network/parameters/reachableCallback.md",
-            "cordova/network/parameters/reachableHostname.md",
-            "cordova/network/parameters/reachableOptions.md"
-        ],
-        "connection.md": [
-            "cordova/connection/connection.md",
-            "cordova/connection/connection.type.md"
-        ],
-        "notification.md": [
-            "cordova/notification/notification.md",
-            "cordova/notification/notification.alert.md",
-            "cordova/notification/notification.confirm.md",
-            "cordova/notification/notification.beep.md",
-            "cordova/notification/notification.vibrate.md"
-        ],
-        "storage.md": [
-            "cordova/storage/storage.md",
-            "cordova/storage/storage.opendatabase.md",
-            "cordova/storage/parameters/name.md",
-            "cordova/storage/parameters/version.md",
-            "cordova/storage/parameters/display_name.md",
-            "cordova/storage/parameters/size.md",
-            "cordova/storage/database/database.md",
-            "cordova/storage/sqltransaction/sqltransaction.md",
-            "cordova/storage/sqlresultset/sqlresultset.md",
-            "cordova/storage/sqlresultsetlist/sqlresultsetlist.md",
-            "cordova/storage/sqlerror/sqlerror.md",
-            "cordova/storage/localstorage/localstorage.md"
-        ]
-    }
-}

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/jp/1.7.0/cordova/accelerometer/acceleration/acceleration.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.7.0/cordova/accelerometer/acceleration/acceleration.md b/docs/jp/1.7.0/cordova/accelerometer/acceleration/acceleration.md
deleted file mode 100644
index 6529523..0000000
--- a/docs/jp/1.7.0/cordova/accelerometer/acceleration/acceleration.md
+++ /dev/null
@@ -1,105 +0,0 @@
----
-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.
----
-
-Acceleration
-============
-
-ある時間軸上でキャプチャーされた加速度センサーのデータを保持します。
-
-プロパティー
-----------
-
-- __x:__  x 軸上での加速度を表します。 (単位 m/s^2) (`Number`)
-- __y:__  y 軸上での加速度を表します。 (単位 m/s^2) (`Number`)
-- __z:__  z 軸上での加速度を表します。 (単位 m/s^2) (`Number`)
-- __timestamp:__ ミリ秒単位のタイムスタンプ値を表します。 (`DOMTimeStamp`)
-
-概要
------------
-
-x, y, z の加速度は重力の影響 (9.81 m/s^2) を含みます。デバイスが机の上に表向きで置かれている場合、値はそれぞれ x=0, y=0, z=9.81 となります。
-
-サポートされているプラットフォーム
--------------------
-
-- Android
-- BlackBerry WebWorks (OS 5.0 以上)
-- iOS
-- Windows Phone 7 (Mango)
-- Bada 1.2 & 2.x
-
-使用例
--------------
-
-    function onSuccess(acceleration) {
-        alert('X 軸における加速度: ' + acceleration.x + '\n' +
-              'Y 軸における加速度: ' + acceleration.y + '\n' +
-              'Z 軸における加速度: ' + acceleration.z + '\n' +
-              'タイムスタンプ: '     + acceleration.timestamp + '\n');
-    };
-
-    function onError() {
-        alert('エラーが発生しました。');
-    };
-
-    navigator.accelerometer.getCurrentAcceleration(onSuccess, onError);
-
-詳細な使用例
-------------
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>加速度センサーの使用例</title>
-
-        <script type="text/javascript" charset="utf-8" src="cordova-1.7.0.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // Cordova の読み込み完了まで待機
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        // Cordova 準備完了
-        //
-        function onDeviceReady() {
-            navigator.accelerometer.getCurrentAcceleration(onSuccess, onError);
-        }
-
-        // onSuccess: 現在の加速度情報を取得
-        //
-        function onSuccess(acceleration) {
-            alert('X 軸における加速度: ' + acceleration.x + '\n' +
-                  'Y 軸における加速度: ' + acceleration.y + '\n' +
-                  'Z 軸における加速度: ' + acceleration.z + '\n' +
-                  'タイムスタンプ: '     + acceleration.timestamp + '\n');
-        }
-
-        // onError: 加速度情報の取得に失敗
-        //
-        function onError() {
-            alert('エラーが発生しました。');
-        }
-
-        </script>
-      </head>
-      <body>
-        <h1>使用例</h1>
-        <p>getCurrentAcceleration</p>
-      </body>
-    </html>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/jp/1.7.0/cordova/accelerometer/accelerometer.clearWatch.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.7.0/cordova/accelerometer/accelerometer.clearWatch.md b/docs/jp/1.7.0/cordova/accelerometer/accelerometer.clearWatch.md
deleted file mode 100644
index f87cc8e..0000000
--- a/docs/jp/1.7.0/cordova/accelerometer/accelerometer.clearWatch.md
+++ /dev/null
@@ -1,112 +0,0 @@
----
-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.
----
-
-accelerometer.clearWatch
-========================
-
-指定した watch ID の加速度情報の監視を停止します。
-
-    navigator.accelerometer.clearWatch(watchID);
-
-- __watchID__: `accelerometer.watchAcceleration`  によって返される ID。
-
-サポートされているプラットフォーム
--------------------
-
-- Android
-- BlackBerry WebWorks (OS 5.0 以上)
-- iPhone
-- Windows Phone 7 (Mango)
-- Bada 1.2 & 2.x
-
-使用例
--------------
-
-    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
-
-    // ... 後に続く ...
-
-    navigator.accelerometer.clearWatch(watchID);
-
-詳細な使用例
-------------
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>加速度センサーの使用例</title>
-
-        <script type="text/javascript" charset="utf-8" src="cordova-1.7.0.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // watch ID が現在の `watchAcceleration` を参照
-        var watchID = null;
-
-        // Cordova の読み込み完了まで待機
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        // Cordova 準備完了
-        //
-        function onDeviceReady() {
-            startWatch();
-        }
-
-        // 加速度情報の監視を開始
-        //
-        function startWatch() {
-
-            // 加速度情報を3秒ごとに更新
-            var options = { frequency: 3000 };
-
-            watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
-        }
-
-        // 加速度情報の監視を停止
-        //
-        function stopWatch() {
-            if (watchID) {
-                navigator.accelerometer.clearWatch(watchID);
-                watchID = null;
-            }
-        }
-
-        // onSuccess: 現在の加速度情報を取得
-        //
-        function onSuccess(acceleration) {
-            var element = document.getElementById('accelerometer');
-            element.innerHTML = 'X 軸における加速度: ' + acceleration.x + '<br />' +
-                                'Y 軸における加速度: ' + acceleration.y + '<br />' +
-                                'Z 軸における加速度: ' + acceleration.z + '<br />' +
-                                'タイムスタンプ: '     + acceleration.timestamp + '<br />';
-        }
-
-        // onError: 加速度情報の取得に失敗
-        //
-        function onError() {
-            alert('エラーが発生しました。');
-        }
-
-        </script>
-      </head>
-      <body>
-        <div id="accelerometer">加速度センサーを待機...</div>
-        <button onclick="stopWatch();">監視中止</button>
-      </body>
-    </html>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/jp/1.7.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.7.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md b/docs/jp/1.7.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md
deleted file mode 100644
index 2e3bbcb..0000000
--- a/docs/jp/1.7.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md
+++ /dev/null
@@ -1,108 +0,0 @@
----
-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.
----
-
-accelerometer.getCurrentAcceleration
-====================================
-
-デバイスの傾きの増加量を計測します。
-
-    navigator.accelerometer.getCurrentAcceleration(accelerometerSuccess, accelerometerError);
-
-概要
------------
-
-加速度センサーはデバイスの傾きの増加量を計測します。 加速度センサーでは x, y, z 軸の3次元の傾きを取得出来ます。
-
-加速度情報は `accelerometerSuccess` コールバック関数によって返されます。
-
-サポートされているプラットフォーム
--------------------
-
-- Android
-- BlackBerry WebWorks (OS 5.0 以上)
-- iPhone
-- Windows Phone 7 (Mango)
-- Bada 1.2 & 2.x
-
-使用例
--------------
-
-    function onSuccess(acceleration) {
-        alert('X 軸における加速度: ' + acceleration.x + '\n' +
-              'Y 軸における加速度: ' + acceleration.y + '\n' +
-              'Z 軸における加速度: ' + acceleration.z + '\n' +
-              'タイムスタンプ: '     + acceleration.timestamp + '\n');
-    };
-
-    function onError() {
-        alert('エラーが発生しました。');
-    };
-
-    navigator.accelerometer.getCurrentAcceleration(onSuccess, onError);
-
-詳細な使用例
-------------
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>加速度センサーの使用</title>
-
-        <script type="text/javascript" charset="utf-8" src="cordova-1.7.0.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // Cordova の読み込み完了まで待機
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        // Cordova 準備完了
-        //
-        function onDeviceReady() {
-            navigator.accelerometer.getCurrentAcceleration(onSuccess, onError);
-        }
-
-        // onSuccess: 現在の加速度情報を取得
-        //
-        function onSuccess(acceleration) {
-            alert('X 軸における加速度: ' + acceleration.x + '\n' +
-                  'Y 軸における加速度: ' + acceleration.y + '\n' +
-                  'Z 軸における加速度: ' + acceleration.z + '\n' +
-                  'タイムスタンプ: '     + acceleration.timestamp + '\n');
-        }
-
-        // onError: 加速度情報の取得に失敗
-        //
-        function onError() {
-            alert('エラーが発生しました。');
-        }
-
-        </script>
-      </head>
-      <body>
-        <h1>使用例</h1>
-        <p>getCurrentAcceleration</p>
-      </body>
-    </html>
-
-iPhone に関する注意点
--------------
-
-- iPhone はピンポイントで現在の加速度情報を得ることは出来ません。
-- 加速度情報を取得するには、一定の時間間隔で加速度データの変異を計測する必要があります。
-- そのため、 `getCurrentAcceleration` 関数は Cordova の `watchAccelerometer` 関数で取得した最新値を返します。

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/jp/1.7.0/cordova/accelerometer/accelerometer.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.7.0/cordova/accelerometer/accelerometer.md b/docs/jp/1.7.0/cordova/accelerometer/accelerometer.md
deleted file mode 100644
index ecafe1a..0000000
--- a/docs/jp/1.7.0/cordova/accelerometer/accelerometer.md
+++ /dev/null
@@ -1,42 +0,0 @@
----
-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.
----
-
-Accelerometer
-=============
-
-> デバイスの動きを (x, y, z) 軸で取得します。
-
-メソッド
--------
-
-- accelerometer.getCurrentAcceleration
-- accelerometer.watchAcceleration
-- accelerometer.clearWatch
-
-引数
----------
-
-- accelerometerSuccess
-- accelerometerError
-- accelerometerOptions
-
-オブジェクト (読み取り専用)
--------------------
-
-- Acceleration

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/jp/1.7.0/cordova/accelerometer/accelerometer.watchAcceleration.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.7.0/cordova/accelerometer/accelerometer.watchAcceleration.md b/docs/jp/1.7.0/cordova/accelerometer/accelerometer.watchAcceleration.md
deleted file mode 100644
index 987e3b2..0000000
--- a/docs/jp/1.7.0/cordova/accelerometer/accelerometer.watchAcceleration.md
+++ /dev/null
@@ -1,137 +0,0 @@
----
-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.
----
-
-accelerometer.watchAcceleration
-===============================
-
-ある時間間隔における x, y, z 軸上の加速度を返します。
-
-    var watchID = navigator.accelerometer.watchAcceleration(accelerometerSuccess,
-                                                           accelerometerError,
-                                                           [accelerometerOptions]);
-
-概要
------------
-
-加速度センサーはデバイスの傾きの増加量を計測します。加速度センサーでは x, y, z 軸の3次元の傾きを取得出来ます。
-
-`accelerometer.watchAcceleration` 関数を使うと、一定の間隔ごとにデバイスの加速度情報を取得できます。加速度情報を取得するたびに、 `accelerometerSuccess` コールバック関数が実行されます。加速度情報を取得する間隔は、 `acceleratorOptions` オブジェクトのパラメーター `frequency` を通じてミリ秒単位で指定できます。
-
-本関数の戻り値である watch ID は、実行中の加速度センサー測定への参照を表します。また、 `accelerometer.clearWatch` 関数に watch ID を渡すことで、加速度センサーの監視を停止できます。
-
-サポートされているプラットフォーム
--------------------
-
-- Android
-- BlackBerry WebWorks (OS 5.0 以上)
-- iPhone
-- Windows Phone 7 (Mango)
-- Bada 1.2 & 2.x
-
-
-使用例
--------------
-
-    function onSuccess(acceleration) {
-        alert('X 軸における加速度: ' + acceleration.x + '\n' +
-              'Y 軸における加速度: ' + acceleration.y + '\n' +
-              'Z 軸における加速度: ' + acceleration.z + '\n' +
-              'タイムスタンプ: '     + acceleration.timestamp + '\n');
-    };
-
-    function onError() {
-        alert('エラーが発生しました。');
-    };
-
-    var options = { frequency: 3000 };  // 3秒ごとに更新
-
-    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
-
-詳細な使用例
-------------
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>加速度センサーの使用例</title>
-
-        <script type="text/javascript" charset="utf-8" src="cordova-1.7.0.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // watch ID が現在の `watchAcceleration` を参照
-        var watchID = null;
-
-        // Cordova の読み込み完了まで待機
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        // Cordova 準備完了
-        //
-        function onDeviceReady() {
-            startWatch();
-        }
-
-        // 加速度情報の監視を開始
-        //
-        function startWatch() {
-
-            // 加速度情報を3秒ごとに更新
-            var options = { frequency: 3000 };
-
-            watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
-        }
-
-        // 加速度情報の監視を停止
-        //
-        function stopWatch() {
-            if (watchID) {
-                navigator.accelerometer.clearWatch(watchID);
-                watchID = null;
-            }
-        }
-
-        // onSuccess: 現在の加速度情報を取得
-        //
-        function onSuccess(acceleration) {
-            var element = document.getElementById('accelerometer');
-            element.innerHTML = 'X 軸における加速度: ' + acceleration.x + '<br />' +
-                                'Y 軸における加速度: ' + acceleration.y + '<br />' +
-                                'Z 軸における加速度: ' + acceleration.z + '<br />' +
-                                'タイムスタンプ: '     + acceleration.timestamp + '<br />';
-        }
-
-        // onError: 加速度情報の取得に失敗
-        //
-        function onError() {
-            alert('エラーが発生しました。');
-        }
-
-        </script>
-      </head>
-      <body>
-        <div id="accelerometer">加速度センサーを待機...</div>
-      </body>
-    </html>
-
- iPhone に関する注意点
--------------
-
-- 指定された時間間隔に対して、 Cordova はコールバック関数を呼び出し、加速度情報を渡します。
-- ただし、時間間隔は Cordova によって最低 40ms 、最高 1000ms に制限されています。
-- たとえば時間間隔として 3秒 (3000ms) を指定した場合、 Cordova は加速度情報を1秒で取得しますが、コールバック関数は3秒ごとに呼び出されます。