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 2012/07/25 00:50:37 UTC

[29/29] Copy docs/jp/1.8.1 to docs/jp/1.9.0

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/48e92da7/docs/jp/1.9.0/guide/upgrading/blackberry/index.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.9.0/guide/upgrading/blackberry/index.md b/docs/jp/1.9.0/guide/upgrading/blackberry/index.md
new file mode 100644
index 0000000..c538b34
--- /dev/null
+++ b/docs/jp/1.9.0/guide/upgrading/blackberry/index.md
@@ -0,0 +1,66 @@
+---
+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 BlackBerry
+============================
+
+これは、 Cordova を古いバージョンから新しいバージョンにアップグレードする必要がある人のためのドキュメントです。
+
+- 1.8.0 にアップグレードするには、 1.7.0 からアップグレードしてください
+
+## 1.7.0 から 1.8.0 へのアップグレード ##
+
+www フォルダーのアップデート:
+
+1. アプリの `www/` フォルダーを開きます
+2. `ext/` フォルダーにある .jar ファイルを削除し更新します
+3. `ext-air/` フォルダーの内容を更新します
+4. 新しい `cordova-1.8.0.js` をプロジェクトにコピーします
+    - playbook の場合は `playbook/` フォルダーの中の .js ファイルを更新します
+5. HTML を、新しい cordova-1.8.0.js を使って更新します
+6. `www/plugins.xml` ファイルを更新します。2つのプラグインの namespace/service ラベルが変更されています。 Capture と Contact の項目を次から:
+
+        <plugin name="Capture" value="org.apache.cordova.media.MediaCapture"/>
+        <plugin name="Contact" value="org.apache.cordova.pim.Contact"/>
+
+   次に変更します:
+
+        <plugin name="Capture" value="org.apache.cordova.capture.MediaCapture"/>
+        <plugin name="Contacts" value="org.apache.cordova.pim.Contact"/>
+
+
+サンプルフォルダーのアップデート (例, ant ツールを使ったアップデート):
+
+1. `sample/lib/` フォルダーを開きます
+2. `cordova.1.7.0/ext/` フォルダーにある .jar ファイルを更新します
+3. `cordova.1.7.0/ext-air/` フォルダーの内容を更新します
+4. `cordova.1.7.0/javascript/` フォルダーにある .js ファイルを更新します
+5. `sample/lib/` フォルダーを開き、 `cordova.1.7.0/` フォルダーを `cordova.1.8.0/` へリネームします
+6. `www/` フォルダーを新しい Cordova でアップデートするため、 `ant blackberry build` または `ant playbook build` とタイプします
+7. `www/` フォルダーを開き、HTML を、新しい `cordova-1.8.0.js` を使って更新します
+8. `www/` フォルダーを開き、 `plugins.xml` ファイルを更新します。2つのプラグインの namespace/service ラベルが変更されています。 Capture と Contact の項目を次から:
+
+         <plugin name="Capture" value="org.apache.cordova.media.MediaCapture"/>
+         <plugin name="Contact" value="org.apache.cordova.pim.Contact"/>
+
+   次に変更します:
+
+         <plugin name="Capture" value="org.apache.cordova.capture.MediaCapture"/>
+         <plugin name="Contacts" value="org.apache.cordova.pim.Contact"/>
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/48e92da7/docs/jp/1.9.0/guide/upgrading/index.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.9.0/guide/upgrading/index.md b/docs/jp/1.9.0/guide/upgrading/index.md
new file mode 100644
index 0000000..5df894a
--- /dev/null
+++ b/docs/jp/1.9.0/guide/upgrading/index.md
@@ -0,0 +1,31 @@
+---
+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 にアップグレードする方法を解説します。
+
+- Upgrading Cordova Android
+- Upgrading Cordova Bada
+- Upgrading Cordova BlackBerry
+- Upgrading Cordova iOS
+- Upgrading Cordova Symbian
+- Upgrading Cordova webOS
+- Upgrading Cordova Windows Phone

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/48e92da7/docs/jp/1.9.0/guide/upgrading/ios/index.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.9.0/guide/upgrading/ios/index.md b/docs/jp/1.9.0/guide/upgrading/ios/index.md
new file mode 100644
index 0000000..9d0ab36
--- /dev/null
+++ b/docs/jp/1.9.0/guide/upgrading/ios/index.md
@@ -0,0 +1,34 @@
+---
+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
+=====================
+
+## 1.7.0 から 1.8.0 へのアップグレード ##
+
+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** ラジオボタンを選択します

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/48e92da7/docs/jp/1.9.0/guide/upgrading/symbian/index.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.9.0/guide/upgrading/symbian/index.md b/docs/jp/1.9.0/guide/upgrading/symbian/index.md
new file mode 100644
index 0000000..77c3d0e
--- /dev/null
+++ b/docs/jp/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/incubator-cordova-docs/blob/48e92da7/docs/jp/1.9.0/guide/upgrading/webos/index.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.9.0/guide/upgrading/webos/index.md b/docs/jp/1.9.0/guide/upgrading/webos/index.md
new file mode 100644
index 0000000..7e892e6
--- /dev/null
+++ b/docs/jp/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.0 から 1.8.1 へのアップグレード ##
+
+1. cordova-1.8.0.js をプロジェクトから削除します
+
+2. index.html から次の行を更新します:
+
+    次から:
+    <script type="text/javascript" src="cordova-1.8.0.js"></script>
+
+    次に変更します:
+    <script type="text/javascript" src="cordova-1.8.1.js"></script>
+
+3. makefile を実行し、新しいバージョンの cordova-1.8.1.js ファイルを生成します

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/48e92da7/docs/jp/1.9.0/guide/upgrading/windows-phone/index.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.9.0/guide/upgrading/windows-phone/index.md b/docs/jp/1.9.0/guide/upgrading/windows-phone/index.md
new file mode 100644
index 0000000..6072141
--- /dev/null
+++ b/docs/jp/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/incubator-cordova-docs/blob/48e92da7/docs/jp/1.9.0/guide/whitelist/index.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.9.0/guide/whitelist/index.md b/docs/jp/1.9.0/guide/whitelist/index.md
new file mode 100644
index 0000000..6870ba7
--- /dev/null
+++ b/docs/jp/1.9.0/guide/whitelist/index.md
@@ -0,0 +1,164 @@
+---
+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 仕様書。しかしながら、現在は各プラットフォームは各々のドメインホワイトリストを実装する必要があります。
+Domain whitelisting lays the ground work for the [W3C Widget Access][1] specification. In the Widget Access specification, the `<access>` element is used to declare access to specific network domains. In the future, Apache Cordova will abstract the platform whitelisting implementations to the W3C Widget Access specification. However, for now each platform must implement it's own domain whitelisting.
+
+シンタックス
+------
+
+[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/incubator-cordova-docs/blob/48e92da7/docs/jp/1.9.0/index.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.9.0/index.md b/docs/jp/1.9.0/index.md
new file mode 100644
index 0000000..db7c257
--- /dev/null
+++ b/docs/jp/1.9.0/index.md
@@ -0,0 +1,95 @@
+---
+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>アプリケーションを最新の Cordova にアップグレードします。</span>
+        </li>
+        <li>
+            <h2>ドメインホワイトリストガイド</h2>
+            <span>アプリケーションに外部ドメインへのアクセス権を与えます。</span>
+        </li>
+        <li>
+            <h2><a href="_index.html">索引</a></h2>
+            <span>Cordova ドキュメントの索引を見ます。</span>
+        </li>
+    </ul>
+</div>