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:37:14 UTC
[29/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/1.9.0/guide/upgrading/ios/index.md
----------------------------------------------------------------------
diff --git a/docs/ja/1.9.0/guide/upgrading/ios/index.md b/docs/ja/1.9.0/guide/upgrading/ios/index.md
new file mode 100644
index 0000000..0711aa8
--- /dev/null
+++ b/docs/ja/1.9.0/guide/upgrading/ios/index.md
@@ -0,0 +1,145 @@
+---
+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 が必須** であることに注意してください。 Apple App Store に提出するためには、最新バージョンの iOS SDK (iOS 5.1) を使用する必要があります。 iOS 5.1 は Xcode 4 を必要とします。
+
+## 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 ファイルに **統合** します
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/1.9.0/guide/upgrading/symbian/index.md
----------------------------------------------------------------------
diff --git a/docs/ja/1.9.0/guide/upgrading/symbian/index.md b/docs/ja/1.9.0/guide/upgrading/symbian/index.md
new file mode 100644
index 0000000..77c3d0e
--- /dev/null
+++ b/docs/ja/1.9.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/1.9.0/guide/upgrading/webos/index.md
----------------------------------------------------------------------
diff --git a/docs/ja/1.9.0/guide/upgrading/webos/index.md b/docs/ja/1.9.0/guide/upgrading/webos/index.md
new file mode 100644
index 0000000..82cc5a3
--- /dev/null
+++ b/docs/ja/1.9.0/guide/upgrading/webos/index.md
@@ -0,0 +1,37 @@
+---
+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 を古いバージョンから新しいバージョンにアップグレードする必要がある人のためのドキュメントです。
+
+## 1.8.1 から 1.9.0 へのアップグレード ##
+
+1. cordova-1.8.1.js をプロジェクトから削除します
+
+2. index.html から次の行を更新します:
+
+ 次から:
+ <script type="text/javascript" src="cordova-1.8.1.js"></script>
+
+ 次に変更します:
+ <script type="text/javascript" src="cordova-1.9.0.js"></script>
+
+3. makefile を実行し、新しいバージョンの cordova-1.9.0.js ファイルを生成します
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/1.9.0/guide/upgrading/windows-phone/index.md
----------------------------------------------------------------------
diff --git a/docs/ja/1.9.0/guide/upgrading/windows-phone/index.md b/docs/ja/1.9.0/guide/upgrading/windows-phone/index.md
new file mode 100644
index 0000000..6072141
--- /dev/null
+++ b/docs/ja/1.9.0/guide/upgrading/windows-phone/index.md
@@ -0,0 +1,36 @@
+---
+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.8.0 にアップグレードするには、 1.7.0 からアップグレードしてください
+
+## 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. HTML を、新しい cordova-1.8.0.js を使って更新します
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/1.9.0/guide/whitelist/index.md
----------------------------------------------------------------------
diff --git a/docs/ja/1.9.0/guide/whitelist/index.md b/docs/ja/1.9.0/guide/whitelist/index.md
new file mode 100644
index 0000000..3e5fa9b
--- /dev/null
+++ b/docs/ja/1.9.0/guide/whitelist/index.md
@@ -0,0 +1,163 @@
+---
+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/cordova.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 を使用することを勧めます
+
+ドメインのプロトコル (例: `http://` 及び `https://`) は iOS ではサポートされていません。
+
+### シンタックス
+
+[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 ではサポートされていません。デフォルトとして、全てのドメインにアクセス可能です。
+
+[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
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/1.9.0/index.md
----------------------------------------------------------------------
diff --git a/docs/ja/1.9.0/index.md b/docs/ja/1.9.0/index.md
new file mode 100644
index 0000000..8fdc5d7
--- /dev/null
+++ b/docs/ja/1.9.0/index.md
@@ -0,0 +1,103 @@
+---
+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>Media</h2>
+ <span>オーディオの録音と再生を行います。</span>
+ </li>
+ <li>
+ <h2>Notification</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>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/ja/2.0.0/config.json
----------------------------------------------------------------------
diff --git a/docs/ja/2.0.0/config.json b/docs/ja/2.0.0/config.json
new file mode 100644
index 0000000..903f2b2
--- /dev/null
+++ b/docs/ja/2.0.0/config.json
@@ -0,0 +1,171 @@
+{
+ "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",
+ "cordova/camera/parameter/CameraPopoverOptions.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/ja/2.0.0/cordova/accelerometer/acceleration/acceleration.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.0.0/cordova/accelerometer/acceleration/acceleration.md b/docs/ja/2.0.0/cordova/accelerometer/acceleration/acceleration.md
new file mode 100644
index 0000000..ef1b454
--- /dev/null
+++ b/docs/ja/2.0.0/cordova/accelerometer/acceleration/acceleration.md
@@ -0,0 +1,105 @@
+---
+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-2.0.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/ja/2.0.0/cordova/accelerometer/accelerometer.clearWatch.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.0.0/cordova/accelerometer/accelerometer.clearWatch.md b/docs/ja/2.0.0/cordova/accelerometer/accelerometer.clearWatch.md
new file mode 100644
index 0000000..050fba2
--- /dev/null
+++ b/docs/ja/2.0.0/cordova/accelerometer/accelerometer.clearWatch.md
@@ -0,0 +1,112 @@
+---
+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-2.0.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/ja/2.0.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.0.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md b/docs/ja/2.0.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md
new file mode 100644
index 0000000..e14b5be
--- /dev/null
+++ b/docs/ja/2.0.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md
@@ -0,0 +1,108 @@
+---
+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-2.0.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/ja/2.0.0/cordova/accelerometer/accelerometer.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.0.0/cordova/accelerometer/accelerometer.md b/docs/ja/2.0.0/cordova/accelerometer/accelerometer.md
new file mode 100644
index 0000000..db4c4be
--- /dev/null
+++ b/docs/ja/2.0.0/cordova/accelerometer/accelerometer.md
@@ -0,0 +1,90 @@
+---
+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
+
+パーミッション
+-----------
+
+### Android
+
+#### app/res/xml/plugins.xml
+
+ <plugin name="Accelerometer" value="org.apache.cordova.AccelListener" />
+
+### Bada
+
+ パーミッションの設定は必要ありません。
+
+### BlackBerry WebWorks
+
+#### www/plugins.xml
+
+ <plugin name="Accelerometer" value="org.apache.cordova.accelerometer.Accelerometer" />
+
+#### www/config.xml
+
+ <feature id="blackberry.system" required="true" version="1.0.0.0" />
+ <feature id="org.apache.cordova" required="true" version="1.0.0" />
+
+### iOS
+
+#### App/Supporting Files/Cordova.plist
+
+ <key>Plugins</key>
+ <dict>
+ <key>Accelerometer</key>
+ <string>CDVAccelerometer</string>
+ </dict>
+
+### webOS
+
+ パーミッションの設定は必要ありません。
+
+### Windows Phone
+
+#### Properties/WPAppManifest.xml
+
+ <Capabilities>
+ <Capability Name="ID_CAP_SENSORS" />
+ </Capabilities>
+
+参照: [Application Manifest for Windows Phone](http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx)
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/2.0.0/cordova/accelerometer/accelerometer.watchAcceleration.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.0.0/cordova/accelerometer/accelerometer.watchAcceleration.md b/docs/ja/2.0.0/cordova/accelerometer/accelerometer.watchAcceleration.md
new file mode 100644
index 0000000..b520eaf
--- /dev/null
+++ b/docs/ja/2.0.0/cordova/accelerometer/accelerometer.watchAcceleration.md
@@ -0,0 +1,137 @@
+---
+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-2.0.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秒ごとに呼び出されます。
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/2.0.0/cordova/accelerometer/parameters/accelerometerError.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.0.0/cordova/accelerometer/parameters/accelerometerError.md b/docs/ja/2.0.0/cordova/accelerometer/parameters/accelerometerError.md
new file mode 100644
index 0000000..737cac5
--- /dev/null
+++ b/docs/ja/2.0.0/cordova/accelerometer/parameters/accelerometerError.md
@@ -0,0 +1,27 @@
+---
+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.
+---
+
+accelerometerError
+==================
+
+加速度情報の取得に失敗したときに呼び出されるコールバック関数です。
+
+ function() {
+ // エラー処理
+ }
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/2.0.0/cordova/accelerometer/parameters/accelerometerOptions.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.0.0/cordova/accelerometer/parameters/accelerometerOptions.md b/docs/ja/2.0.0/cordova/accelerometer/parameters/accelerometerOptions.md
new file mode 100644
index 0000000..f88c89f
--- /dev/null
+++ b/docs/ja/2.0.0/cordova/accelerometer/parameters/accelerometerOptions.md
@@ -0,0 +1,28 @@
+---
+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.
+---
+
+accelerometerOptions
+====================
+
+加速度センサーを取得する際のパラメーターを表します。
+
+オプション
+-------
+
+- __frequency:__ 加速度情報の取得頻度をミリ秒単位で表します。 _(Number)_ (デフォルト: 10000)
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/2.0.0/cordova/accelerometer/parameters/accelerometerSuccess.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.0.0/cordova/accelerometer/parameters/accelerometerSuccess.md b/docs/ja/2.0.0/cordova/accelerometer/parameters/accelerometerSuccess.md
new file mode 100644
index 0000000..1488b13
--- /dev/null
+++ b/docs/ja/2.0.0/cordova/accelerometer/parameters/accelerometerSuccess.md
@@ -0,0 +1,42 @@
+---
+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.
+---
+
+accelerometerSuccess
+====================
+
+加速度情報を返す onSuccess コールバック関数です。
+
+ function(acceleration) {
+ // 任意のコード
+ }
+
+パラメーター
+----------
+
+- __acceleration:__ ある瞬間における加速度を表します。 (Acceleration)
+
+使用例
+-------
+
+ function onSuccess(acceleration) {
+ alert('X 軸における加速度: ' + acceleration.x + '\n' +
+ 'Y 軸における加速度: ' + acceleration.y + '\n' +
+ 'Z 軸における加速度: ' + acceleration.z + '\n' +
+ 'タイムスタンプ: ' + acceleration.timestamp + '\n');
+ };
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/2.0.0/cordova/camera/camera.cleanup.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.0.0/cordova/camera/camera.cleanup.md b/docs/ja/2.0.0/cordova/camera/camera.cleanup.md
new file mode 100644
index 0000000..73874f0
--- /dev/null
+++ b/docs/ja/2.0.0/cordova/camera/camera.cleanup.md
@@ -0,0 +1,50 @@
+---
+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.
+---
+
+camera.cleanup
+=================
+
+カメラで撮影され、ローカルストレージ temporary ディレクトリに保存された画像ファイルをクリーンアップします。
+
+ navigator.camera.cleanup( cameraSuccess, cameraError );
+
+概要
+-----------
+
+`camera.getPicture` が `Camera.sourceType = Camera.PictureSourceType.CAMERA` と `Camera.destinationType = Camera.DestinationType.FILE_URI` と一緒に使用されたとき、ローカルストレージ temporary ディレクトリに保存された画像ファイルをクリーンアップします。
+
+
+サポートされているプラットフォーム
+-------------------
+
+- iOS
+
+
+使用例
+-------------
+
+ navigator.camera.cleanup(onSuccess, onFail);
+
+ function onSuccess() {
+ console.log("クリーンアップに成功しました。")
+ }
+
+ function onFail(message) {
+ alert('クリーンアップに失敗: ' + message);
+ }
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/2.0.0/cordova/camera/camera.getPicture.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.0.0/cordova/camera/camera.getPicture.md b/docs/ja/2.0.0/cordova/camera/camera.getPicture.md
new file mode 100644
index 0000000..bc22f84
--- /dev/null
+++ b/docs/ja/2.0.0/cordova/camera/camera.getPicture.md
@@ -0,0 +1,207 @@
+---
+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.
+---
+
+camera.getPicture
+=================
+
+デバイスのカメラで写真を撮る、またはデバイスのアルバム内にある写真を検索します。 Base64 形式でエンコードされたフォトイメージを表す文字列、またはイメージファイルの URI が返されます。
+
+ navigator.camera.getPicture( cameraSuccess, cameraError, [ cameraOptions ] );
+
+概要
+-----------
+
+`camera.getPicture` 関数はユーザーが写真を撮れるように、デバイスが標準で備えるカメラアプリを起動します (もしデフォルト設定である `Camera.sourceType = Camera.PictureSourceType.CAMERA` の場合) 。写真の撮影が完了するとカメラアプリは終了し、アプリケーションに戻ります。
+
+もし `Camera.sourceType = Camera.PictureSourceType.PHOTOLIBRARY` もしくは `Camera.PictureSourceType.SAVEDPHOTOALBUM` が指定された場合、写真選択ダイアログが表示され、アルバムから写真を選択できるようになります。
+
+返り値は `cameraSuccess` 関数に送信されます。値は `cameraOptions` の設定に従い、以下のいずれかのフォーマットで送られます:
+
+- Base64 形式でエンコードされたフォトイメージを表す文字列 (デフォルト)
+- ローカルストレージ内に記録されたファイルの場所を表す文字列
+
+エンコードされたイメージや URI をもとに、以下のような処理の記述が可能です:
+
+- `<img>` タグで画像を表示 _(下記の使用例を参考にしてください)_
+- データをローカルに保存 (`LocalStorage` や [Lawnchair](http://brianleroux.github.com/lawnchair/) など)
+- データをリモートサーバーに送信
+
+注意: iPhone 4 や Black Berry Touch 9800 などの最新デバイスで撮影したイメージの画質は良好で、フォトアルバムから取得する画像はたとえ quality パラメーターで画質を指定したとしても、縮小されません。 _そのような画像を Base64 でエンコードすると、メモリーの問題が発生します。_ よって、 FILE_URI を 'Camera.destinationType' として使用することが推奨されます。
+
+サポートされているプラットフォーム
+-------------------
+
+- Android
+- BlackBerry WebWorks (OS 5.0 以上)
+- iOS
+- Windows Phone 7 (Mango)
+- Bada 1.2
+
+iOS に関する注意点
+----------
+
+JavaScript の alert() をコールバック関数に含めると、問題が生じる可能性があります。 alert を setTimeout() でラップすることで、 alert が表示される前に iOS の image picker または popover が完全に閉じるようにします: setTimeout("alert('message');", 0);
+
+
+Windows Phone 7 に関する注意点
+----------------------
+
+Zune とデバイスが接続している間は、ネイティブカメラアプリケーションは起動せずに、エラーコールバックが呼び出されます。
+
+
+使用例
+-------------
+
+写真を撮影し、 Base64 形式のイメージとして取得します。
+
+ navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
+ destinationType: Camera.DestinationType.DATA_URL
+ });
+
+ function onSuccess(imageData) {
+ var image = document.getElementById('myImage');
+ image.src = "data:image/jpeg;base64," + imageData;
+ }
+
+ function onFail(message) {
+ alert('エラーが発生しました: ' + message);
+ }
+
+撮影した写真の URI を取得します。
+
+ navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
+ destinationType: Camera.DestinationType.FILE_URI });
+
+ function onSuccess(imageURI) {
+ var image = document.getElementById('myImage');
+ image.src = imageURI;
+ }
+
+ function onFail(message) {
+ alert('エラーが発生しました: ' + message);
+ }
+
+
+詳細な使用例
+------------
+
+ <!DOCTYPE html>
+ <html>
+ <head>
+ <title>写真を撮ってみよう</title>
+
+ <script type="text/javascript" charset="utf-8" src="cordova-2.0.0.js"></script>
+ <script type="text/javascript" charset="utf-8">
+
+ var pictureSource; // 写真ソース
+ var destinationType; // 戻り値のフォーマット
+
+ // Cordova がデバイスと接続するまで待機
+ //
+ document.addEventListener("deviceready",onDeviceReady,false);
+
+ // Cordova 準備完了
+ //
+ function onDeviceReady() {
+ pictureSource=navigator.camera.PictureSourceType;
+ destinationType=navigator.camera.DestinationType;
+ }
+
+ // 写真の撮影に成功した場合 (URI 形式)
+ //
+ function onPhotoDataSuccess(imageData) {
+ // 下記のコメントを外すことで Base64 形式のデータをログに出力
+ // console.log(imageData);
+
+ // 画像ハンドルを取得
+ //
+ var smallImage = document.getElementById('smallImage');
+
+ // 画像要素を表示
+ //
+ smallImage.style.display = 'block';
+
+ // 取得した写真を表示
+ // 画像のリサイズにインライン CSS を使用
+ //
+ smallImage.src = "data:image/jpeg;base64," + imageData;
+ }
+
+ // 写真の撮影に成功した場合 (URI 形式)
+ //
+ function onPhotoURISuccess(imageURI) {
+ // 下記のコメントを外すことでファイル URI をログに出力
+ // console.log(imageURI);
+
+ // 画像ハンドルを取得
+ //
+ var largeImage = document.getElementById('largeImage');
+
+ // 画像要素を表示
+ //
+ largeImage.style.display = 'block';
+
+ // 取得した写真を表示
+ // 画像のリサイズにインライン CSS を使
+ //
+ largeImage.src = imageURI;
+ }
+
+ // ボタンがクリックされた場合の処理
+ //
+ function capturePhoto() {
+ // 編集が許可された写真を撮影し、 Base64 形式のイメージとして取得する場合
+ navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 50,
+ destinationType: destinationType.DATA_URL });
+ }
+
+ // ボタンがクリックされた場合の処理
+ //
+ function capturePhotoEdit() {
+ // 編集が許可された写真を撮影し、 Base64 形式のイメージとして取得する場合
+ navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 20, allowEdit: true,
+ destinationType: destinationType.DATA_URL });
+ }
+
+ // ボタンがクリックされた場合の処理
+ //
+ function getPhoto(source) {
+ // 写真をファイル URI として取得する場合
+ navigator.camera.getPicture(onPhotoURISuccess, onFail, { quality: 50,
+ destinationType: destinationType.FILE_URI,
+ sourceType: source });
+ }
+
+ // エラー発生時の処理
+ //
+ function onFail(message) {
+ alert('エラーが発生しました: ' + message);
+ }
+
+ </script>
+ </head>
+ <body>
+ <button onclick="capturePhoto();">写真を撮影</button> <br>
+ <button onclick="capturePhotoEdit();">写真を撮影して編集</button> <br>
+ <button onclick="getPhoto(pictureSource.PHOTOLIBRARY);">フォトライブラリから取得</button><br>
+ <button onclick="getPhoto(pictureSource.SAVEDPHOTOALBUM);">フォトアルバムから取得</button><br>
+ <img style="display:none;width:60px;height:60px;" id="smallImage" src="" />
+ <img style="display:none;" id="largeImage" src="" />
+ </body>
+ </html>
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/2.0.0/cordova/camera/camera.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.0.0/cordova/camera/camera.md b/docs/ja/2.0.0/cordova/camera/camera.md
new file mode 100644
index 0000000..47892e7
--- /dev/null
+++ b/docs/ja/2.0.0/cordova/camera/camera.md
@@ -0,0 +1,93 @@
+---
+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.
+---
+
+Camera
+======
+
+> `camera` オブジェクトは、デバイスのカメラアプリへの制御を提供します。
+
+メソッド
+-------
+
+- camera.getPicture
+- camera.cleanup
+
+パーミッション
+-----------
+
+### Android
+
+#### app/res/xml/plugins.xml
+
+ <plugin name="Camera" value="org.apache.cordova.CameraLauncher" />
+
+#### app/AndroidManifest
+
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+
+### Bada
+
+#### manifest.xml
+
+ <Privilege>
+ <Name>CAMERA</Name>
+ </Privilege>
+ <Privilege>
+ <Name>RECORDING</Name>
+ </Privilege>
+
+### BlackBerry WebWorks
+
+#### www/plugins.xml
+
+ <plugin name="Camera" value="org.apache.cordova.camera.Camera" />
+
+#### www/config.xml
+
+ <feature id="blackberry.media.camera" />
+
+ <rim:permissions>
+ <rim:permit>use_camera</rim:permit>
+ </rim:permissions>
+
+### iOS
+
+#### App/Supporting Files/Cordova.plist
+
+ <key>Plugins</key>
+ <dict>
+ <key>Camera</key>
+ <string>CDVCamera</string>
+ </dict>
+
+### webOS
+
+ パーミッションの設定は必要ありません。
+
+### Windows Phone
+
+#### Properties/WPAppManifest.xml
+
+ <Capabilities>
+ <Capability Name="ID_CAP_CAMERA" />
+ <Capability Name="ID_CAP_ISV_CAMERA" />
+ <Capability Name="ID_HW_FRONTCAMERA" />
+ </Capabilities>
+
+参照: [Application Manifest for Windows Phone](http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx)
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/2.0.0/cordova/camera/parameter/CameraPopoverOptions.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.0.0/cordova/camera/parameter/CameraPopoverOptions.md b/docs/ja/2.0.0/cordova/camera/parameter/CameraPopoverOptions.md
new file mode 100644
index 0000000..6a329d5
--- /dev/null
+++ b/docs/ja/2.0.0/cordova/camera/parameter/CameraPopoverOptions.md
@@ -0,0 +1,71 @@
+---
+license: Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+---
+
+CameraPopoverOptions
+====================
+
+画像をライブラリーもしくはアルバムから選択する際の、 iPad でのポップオーバーの位置や矢印の向きを指定するためのパラメーターです。 iOS のみのオプションです。
+
+ { x : 0,
+ y : 32,
+ width : 320,
+ height : 480,
+ arrowDir : Camera.PopoverArrowDirection.ARROW_ANY
+ };
+
+CameraPopoverOptions
+--------------------
+
+- __x:__ ポップオーバーの x 座標をピクセルで表します。 (`Number`)
+
+- __y:__ ポップオーバーの y 座標をピクセルで表します。 (`Number`)
+
+- __width:__ ポップオーバーの幅をピクセルで表します。 (`Number`)
+
+- __height:__ ポップオーバーの高さをピクセルで表します。 (`Number`)
+
+- __arrowDir:__ ポップオーバーの矢印の向きを表します。 Camera.PopoverArrowDirection で定義されます。 (`Number`)
+
+ Camera.PopoverArrowDirection = {
+ ARROW_UP : 1, // iOS の UIPopoverArrowDirection 定数に同じ
+ ARROW_DOWN : 2,
+ ARROW_LEFT : 4,
+ ARROW_RIGHT : 8,
+ ARROW_ANY : 15
+ };
+
+ポップオーバーのサイズは矢印の方向や画面の向きによって調節され、変わる可能性があることについて注意してください。アンカー要素の位置を特定するとき、画面の向きの変化を考慮に入れることを忘れないで下さい。
+
+使用例
+-------------
+
+ var popover = new CameraPopoverOptions(300,300,100,100,Camera.PopoverArrowDirection.ARROW_ANY);
+ var options = { quality: 50, destinationType: Camera.DestinationType.DATA_URL,sourceType: Camera.PictureSource.SAVEDPHOTOALBUM, popoverOptions : popover };
+
+ navigator.camera.getPicture(onSuccess, onFail, options);
+
+ function onSuccess(imageData) {
+ var image = document.getElementById('myImage');
+ image.src = "data:image/jpeg;base64," + imageData;
+ }
+
+ function onFail(message) {
+ alert('Failed because: ' + message);
+ }
+
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7168dd7/docs/ja/2.0.0/cordova/camera/parameter/cameraError.md
----------------------------------------------------------------------
diff --git a/docs/ja/2.0.0/cordova/camera/parameter/cameraError.md b/docs/ja/2.0.0/cordova/camera/parameter/cameraError.md
new file mode 100644
index 0000000..90b57f0
--- /dev/null
+++ b/docs/ja/2.0.0/cordova/camera/parameter/cameraError.md
@@ -0,0 +1,32 @@
+---
+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.
+---
+
+cameraError
+===========
+
+エラーが発生した場合に呼び出されるコールバック関数です。
+
+ function(message) {
+ // エラーメッセージを表示
+ }
+
+パラメーター
+----------
+
+- __message:__ デバイスのネイティブコードによって与えられたメッセージ (`String`)