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/12 19:02:41 UTC

[29/50] [abbrv] Added German and Russian languages

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/camera/camera.getPicture.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/camera/camera.getPicture.md b/docs/ru/edge/cordova/camera/camera.getPicture.md
new file mode 100644
index 0000000..340ef75
--- /dev/null
+++ b/docs/ru/edge/cordova/camera/camera.getPicture.md
@@ -0,0 +1,214 @@
+---
+
+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-кодировке `String` , или как URI для файла образа. Сам метод возвращает `CameraPopoverHandle` объект, который может использоваться для перемещения инструмента выбора файла.
+
+    navigator.camera.getPicture( cameraSuccess, cameraError, [ cameraOptions ] );
+    
+
+## Описание
+
+`camera.getPicture`Функция открывает приложение камеры по умолчанию устройства, которое позволяет привязать фотографии. Это происходит по умолчанию, когда `Camera.sourceType` равно `Camera.PictureSourceType.CAMERA` . Как только пользователь прикрепляет фото, закрывает приложение камеры и приложение восстанавливается.
+
+Если `Camera.sourceType` является `Camera.PictureSourceType.PHOTOLIBRARY` или `Camera.PictureSourceType.SAVEDPHOTOALBUM` , то диалоговое окно показывает, что позволяет пользователям выбрать существующее изображение. `camera.getPicture`Функция возвращает `CameraPopoverHandle` объект, который может использоваться для перемещения диалога выбора изображения, например, при изменении ориентации устройства.
+
+Возвращаемое значение отправляется в `cameraSuccess` в одном из следующих форматов, в зависимости от указанной функции обратного вызова `cameraOptions` :
+
+*   A `String` содержащий изображение base64-кодировке фото.
+
+*   A `String` представляющая расположение файла изображения на локальное хранилище (по умолчанию).
+
+Вы можете сделать все, что угодно вы хотите с кодированного изображения или URI, например:
+
+*   Отрисовывает изображение в `<img>` тег, как показано в примере ниже
+
+*   Сохранять данные локально ( `LocalStorage` , [Lawnchair][1], и т.д.)
+
+*   Сообщение данных на удаленном сервере
+
+ [1]: http://brianleroux.github.com/lawnchair/
+
+**Примечание:** Фоторазрешение на более новых приборах является достаточно хорошим. Фотографии из галереи устройства не ослабленные для более низкого качества, даже если `quality` указан параметр. Чтобы избежать общих проблем памяти, установите `Camera.destinationType` к `FILE_URI` вместо`DATA_URL`.
+
+## Поддерживаемые платформы
+
+*   Андроид
+*   WebWorks ежевики (OS 5.0 и выше)
+*   iOS
+*   Tizen
+*   Windows Phone 7 и 8
+*   ОС Windows 8
+
+## Андроид причуды
+
+Android для запуска камеры деятельность на устройстве для захвата изображений использует намерений, а на телефонах с низкой памяти, могут быть убиты Cordova деятельность. В этом случае изображение не может появиться при восстановлении деятельности cordova.
+
+## iOS причуды
+
+Включая JavaScript `alert()` в любом из обратного вызова функции может вызвать проблемы. Оберните оповещения в пределах `setTimeout()` Разрешить выбора изображений iOS или инструмента полностью закрыть перед оповещения отображает:
+
+    setTimeout(function() {/ / ваши вещи!}, 0);
+    
+
+## Windows Phone 7 причуды
+
+Вызов приложения родной камеры в то время как ваше устройство подключено через Zune не работает и инициирует обратный вызов для ошибки.
+
+## Tizen причуды
+
+Tizen поддерживает только `destinationType` из `Camera.DestinationType.FILE_URI` и `sourceType` из`Camera.PictureSourceType.PHOTOLIBRARY`.
+
+## Быстрый пример
+
+Сделайте фотографию и получить его как изображение 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('Failed because: ' + message);
+    }
+    
+
+Сделайте фотографию и получить расположение файла изображения:
+
+    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('Failed because: ' + message);
+    }
+    
+
+## Полный пример
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Capture Photo</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        var pictureSource;   // picture source
+        var destinationType; // sets the format of returned value
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready",onDeviceReady,false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            pictureSource=navigator.camera.PictureSourceType;
+            destinationType=navigator.camera.DestinationType;
+        }
+    
+        // Called when a photo is successfully retrieved
+        //
+        function onPhotoDataSuccess(imageData) {
+          // Uncomment to view the base64-encoded image data
+          // console.log(imageData);
+    
+          // Get image handle
+          //
+          var smallImage = document.getElementById('smallImage');
+    
+          // Unhide image elements
+          //
+          smallImage.style.display = 'block';
+    
+          // Show the captured photo
+          // The inline CSS rules are used to resize the image
+          //
+          smallImage.src = "data:image/jpeg;base64," + imageData;
+        }
+    
+        // Called when a photo is successfully retrieved
+        //
+        function onPhotoURISuccess(imageURI) {
+          // Uncomment to view the image file URI
+          // console.log(imageURI);
+    
+          // Get image handle
+          //
+          var largeImage = document.getElementById('largeImage');
+    
+          // Unhide image elements
+          //
+          largeImage.style.display = 'block';
+    
+          // Show the captured photo
+          // The inline CSS rules are used to resize the image
+          //
+          largeImage.src = imageURI;
+        }
+    
+        // A button will call this function
+        //
+        function capturePhoto() {
+          // Take picture using device camera and retrieve image as base64-encoded string
+          navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 50,
+            destinationType: destinationType.DATA_URL });
+        }
+    
+        // A button will call this function
+        //
+        function capturePhotoEdit() {
+          // Take picture using device camera, allow edit, and retrieve image as base64-encoded string
+          navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 20, allowEdit: true,
+            destinationType: destinationType.DATA_URL });
+        }
+    
+        // A button will call this function
+        //
+        function getPhoto(source) {
+          // Retrieve image file location from specified source
+          navigator.camera.getPicture(onPhotoURISuccess, onFail, { quality: 50,
+            destinationType: destinationType.FILE_URI,
+            sourceType: source });
+        }
+    
+        // Called if something bad happens.
+        //
+        function onFail(message) {
+          alert('Failed because: ' + message);
+        }
+    
+        </script>
+      </head>
+      <body>
+        <button onclick="capturePhoto();">Capture Photo</button> <br>
+        <button onclick="capturePhotoEdit();">Capture Editable Photo</button> <br>
+        <button onclick="getPhoto(pictureSource.PHOTOLIBRARY);">From Photo Library</button><br>
+        <button onclick="getPhoto(pictureSource.SAVEDPHOTOALBUM);">From Photo Album</button><br>
+        <img style="display:none;width:60px;height:60px;" id="smallImage" src="" />
+        <img style="display:none;" id="largeImage" src="" />
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/camera/camera.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/camera/camera.md b/docs/ru/edge/cordova/camera/camera.md
new file mode 100644
index 0000000..96edfda
--- /dev/null
+++ b/docs/ru/edge/cordova/camera/camera.md
@@ -0,0 +1,92 @@
+---
+
+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`Объект предоставляет доступ к приложение камеры устройства по умолчанию.
+
+**Важных конфиденциальности Примечание:** Сбор и использование изображений с камеры устройства поднимает вопросы, важные конфиденциальности. Политика конфиденциальности вашего приложения должна обсудить, как приложение использует камеру и ли изображения, записанные используются совместно с другими сторонами. Кроме того если app использование камеры не является очевидной в пользовательском интерфейсе, необходимо предоставить уведомление just-in-time до вашего приложения доступа к камере (если операционной системы устройства не так уже). Эт
 о уведомление должно обеспечивать ту же информацию, отметили выше, а также получения разрешения пользователя (например, путем представления выбора **OK** и **Нет, спасибо**). Для получения дополнительной информации пожалуйста, смотрите в руководстве конфиденциальности.
+
+## Методы
+
+*   camera.getPicture
+*   Camera.Cleanup
+
+## Доступ к функции
+
+Начиная с версии 3.0 Кордова реализует интерфейсы API уровень устройства как *плагины*. Использование CLI `plugin` команды, описанные в интерфейс командной строки, чтобы добавить или удалить эту функцию для проекта:
+
+        $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git
+        $ cordova plugin rm org.apache.cordova.core.camera
+    
+
+Эти команды применяются для всех целевых платформ, но изменить параметры конфигурации платформы, описанные ниже:
+
+*   Андроид
+    
+        (in app/res/xml/config.xml)
+        <feature name="Camera">
+            <param name="android-package" value="org.apache.cordova.CameraLauncher" />
+        </feature>
+        
+        (in app/AndroidManifest)
+        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+        
+
+*   Ежевика WebWorks
+    
+        (in www/plugins.xml)
+        <feature name="Camera">
+            <param name="blackberry-package" value="org.apache.cordova.camera.Camera" />
+        </feature>
+        
+        (in www/config.xml)
+        <feature id="blackberry.media.camera" />
+        
+        <rim:permissions>
+            <rim:permit>use_camera</rim:permit>
+        </rim:permissions>
+        
+
+*   iOS (в`config.xml`)
+    
+        <feature name="Camera">
+            <param name="ios-package" value="CDVCamera" />
+        </feature>
+        
+
+*   Windows Phone (в`Properties/WPAppManifest.xml`)
+    
+        <Capabilities>
+            <Capability Name="ID_CAP_ISV_CAMERA" />
+            <Capability Name="ID_HW_FRONTCAMERA" />
+        </Capabilities>
+        
+    
+    Ссылка: [манифест приложения для Windows Phone][1]
+
+*   Tizen (в`config.xml`)
+    
+        <feature name="http://tizen.org/api/application" required="true"/>
+        <feature name="http://tizen.org/api/application.launch" required="true"/>
+        
+    
+    Ссылка: [манифест приложения для Tizen веб-приложения][2]
+
+ [1]: http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx
+ [2]: https://developer.tizen.org/help/topic/org.tizen.help.gs/Creating%20a%20Project.html?path=0_1_1_3#8814682_CreatingaProject-EditingconfigxmlFeatures
+
+Некоторые платформы могут поддерживать эту функцию без необходимости специальной настройки. Смотрите поддержку платформы обзор.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/camera/parameter/CameraPopoverHandle.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/camera/parameter/CameraPopoverHandle.md b/docs/ru/edge/cordova/camera/parameter/CameraPopoverHandle.md
new file mode 100644
index 0000000..312c694
--- /dev/null
+++ b/docs/ru/edge/cordova/camera/parameter/CameraPopoverHandle.md
@@ -0,0 +1,61 @@
+---
+
+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.
+---
+
+# CameraPopoverHandle
+
+Дескриптор диалогового окна инструмента, созданного`camera.getPicture`.
+
+## Методы
+
+*   **setPosition**: Задайте положение инструмента.
+
+## Поддерживаемые платформы
+
+*   iOS
+
+## setPosition
+
+Задайте положение инструмента.
+
+**Параметры:**
+
+*   `cameraPopoverOptions`: `CameraPopoverOptions` , укажите новое положение
+
+## Быстрый пример
+
+     var cameraPopoverOptions = new CameraPopoverOptions(300, 300, 100, 100, Camera.PopoverArrowDirection.ARROW_ANY);
+     cameraPopoverHandle.setPosition(cameraPopoverOptions);
+    
+
+## Полный пример
+
+     function onSuccess(imageData) {
+          // Do stuff with the image!
+     }
+    
+     function onFail(message) {
+         alert('Failed to get the picture: ' + message);
+     }
+    
+     var cameraPopoverHandle = navigator.camera.getPicture(onSuccess, onFail,
+         { destinationType: Camera.DestinationType.FILE_URI,
+           sourceType: Camera.PictureSourceType.PHOTOLIBRARY });
+    
+     // Reposition the popover if the orientation changes.
+     window.onorientationchange = function() {
+         var cameraPopoverOptions = new CameraPopoverOptions(0, 0, 100, 100, 0);
+         cameraPopoverHandle.setPosition(cameraPopoverOptions);
+     }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/camera/parameter/CameraPopoverOptions.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/camera/parameter/CameraPopoverOptions.md b/docs/ru/edge/cordova/camera/parameter/CameraPopoverOptions.md
new file mode 100644
index 0000000..e8cd044
--- /dev/null
+++ b/docs/ru/edge/cordova/camera/parameter/CameraPopoverOptions.md
@@ -0,0 +1,60 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# CameraPopoverOptions
+
+только для iOS параметры, указывающие якорь элемент расположение и стрелкой направление инструмента при выборе изображений из библиотеки или альбома iPad.
+
+    {x: 0, y: 32, ширина: 320, высота: 480, arrowDir: Camera.PopoverArrowDirection.ARROW_ANY};
+    
+
+## CameraPopoverOptions
+
+*   **x**: x координата пикселя элемента экрана, на котором для закрепления инструмента. *(Число)*
+
+*   **y**: y координата пикселя элемента экрана, на котором для закрепления инструмента. *(Число)*
+
+*   **Ширина**: ширина в пикселях экрана элемента, на который для закрепления инструмента. *(Число)*
+
+*   **Высота**: высота в пикселях экрана элемента, на который для закрепления инструмента. *(Число)*
+
+*   **arrowDir**: стрелка на инструмента следует указывать направление. Определено в `Camera.PopoverArrowDirection` *(число)* 
+    
+            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);
+     }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/camera/parameter/cameraError.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/camera/parameter/cameraError.md b/docs/ru/edge/cordova/camera/parameter/cameraError.md
new file mode 100644
index 0000000..11ff870
--- /dev/null
+++ b/docs/ru/edge/cordova/camera/parameter/cameraError.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.
+---
+
+# cameraError
+
+Функция обратного вызова onError, который предоставляет сообщение об ошибке.
+
+    function(message) {
+        // Show a helpful message
+    }
+    
+
+## Параметры
+
+*   **сообщение**: сообщение обеспечивается машинного кода устройства. *(Строка)*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/camera/parameter/cameraOptions.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/camera/parameter/cameraOptions.md b/docs/ru/edge/cordova/camera/parameter/cameraOptions.md
new file mode 100644
index 0000000..412b13c
--- /dev/null
+++ b/docs/ru/edge/cordova/camera/parameter/cameraOptions.md
@@ -0,0 +1,109 @@
+---
+
+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.
+---
+
+# cameraOptions
+
+Необязательные параметры для настройки параметров камеры.
+
+    {качество: 75, destinationType: Camera.DestinationType.DATA_URL, тип источника: Camera.PictureSourceType.CAMERA, allowEdit: Правда, Тип_шифрования: Camera.EncodingType.JPEG, targetWidth: 100, targetHeight: 100, popoverOptions: CameraPopoverOptions, saveToPhotoAlbum: значение false};
+    
+
+## Параметры
+
+*   **качество**: качество сохраняемого изображения, выражается в виде диапазона 0-100, где 100 является обычно полное разрешение без потери от сжатия файлов. *(Число)* (Обратите внимание, что информация о разрешение камеры недоступна.)
+
+*   **destinationType**: Choose the format of the return value. Defined in `navigator.camera.DestinationType` *(Number)*
+    
+        Camera.DestinationType = {DATA_URL: 0, / / возвращение изображения в base64-кодировке строки FILE_URI: 1, / / возврат файла изображения URI NATIVE_URI: 2 / / возвращение образа собственного URI (например, Библиотека активов: / / на iOS или содержание: / / на андроиде)};
+        
+
+*   **sourceType**: Set the source of the picture. Defined in `navigator.camera.PictureSourceType` *(Number)*
+    
+        Camera.PictureSourceType = {PHOTOLIBRARY: 0, камеры: 1, SAVEDPHOTOALBUM: 2};
+        
+
+*   **allowEdit**: позволить простое редактирование изображения перед выбором. *(Логический)*
+
+*   **encodingType**: Choose the returned image file's encoding. Defined in `navigator.camera.EncodingType` *(Number)*
+    
+        Camera.EncodingType = {JPEG: 0, / / возвращение JPEG кодировке изображения PNG: 1 / / рисунок в формате PNG, возвращение};
+        
+
+*   **targetWidth**: ширина для масштабирование изображения в пикселях. Должна использоваться с **targetHeight**. Соотношение остается неизменным. *(Число)*
+
+*   **targetWidth**: ширина для масштабирование изображения в пикселях. Должна использоваться с **targetHeight**. Соотношение остается неизменным. *(Число)*
+
+*   **тип носителя**: Установите тип средств массовой информации, чтобы выбрать из. Работает только если `PictureSourceType` является `PHOTOLIBRARY` или `SAVEDPHOTOALBUM` . Определено в `nagivator.camera.MediaType` *(число)* 
+    
+        Camera.MediaType = {картинка: 0, / / разрешить выбор еще фотографии только. ЗНАЧЕНИЕ ПО УМОЛЧАНИЮ. Возвращает формат, указанный через DestinationType видео: 1, / / разрешить выбор видео только, будет всегда возвращать ALLMEDIA FILE_URI: 2 / / разрешить выбор со всех типов носителей
+        
+    
+    };
+
+*   **correctOrientation**: вращать изображение, чтобы исправить для ориентации устройства во время захвата. *(Логический)*
+
+*   **saveToPhotoAlbum**: сохранить изображение в фотоальбом на устройстве после захвата. *(Логический)*
+
+*   **popoverOptions**: только для iOS параметры, которые определяют местоположение инструмента в iPad. Определены в`CameraPopoverOptions`.
+
+*   **cameraDirection**: Choose the camera to use (front- or back-facing). Defined in `navigator.camera.Direction` *(Number)*
+    
+        Camera.Direction = {обратно: 0, / / использовать обратно, стоящих перед камерой фронт: 1 / / использовать фронтальная камера};
+        
+
+## Андроид причуды
+
+*   Игнорирует `allowEdit` параметр.
+
+*   `Camera.PictureSourceType.PHOTOLIBRARY`и `Camera.PictureSourceType.SAVEDPHOTOALBUM` оба отображения же фотоальбом.
+
+## Причуды ежевики
+
+*   Игнорирует `quality` параметр.
+
+*   Игнорирует `sourceType` параметр.
+
+*   Игнорирует `allowEdit` параметр.
+
+*   Приложение должно иметь разрешения ключевых инъекции закрыть приложение, предназначенное для камеры после того, как пользователь прикрепляет фото.
+
+*   Использование размеров больших изображений может привести к невозможности кодирования изображений на поздней модели устройств (например, факел 9800) что функция камер высокого разрешения.
+
+*   `Camera.MediaType`не поддерживается.
+
+*   Игнорирует `correctOrientation` параметр.
+
+*   Игнорирует `cameraDirection` параметр.
+
+## iOS причуды
+
+*   Задать `quality` ниже 50, чтобы избежать ошибок памяти на некоторых устройствах.
+
+*   При использовании `destinationType.FILE_URI` , фотографии сохраняются во временном каталоге приложения. Вы можете удалить содержимое этого каталога с использованием `navigator.fileMgr` API-интерфейсы если пространство является проблемой.
+
+## Tizen причуды
+
+*   параметры, не поддерживаемые
+
+*   всегда возвращает URI файла
+
+## Windows Phone 7 и 8 причуды
+
+*   Игнорирует `allowEdit` параметр.
+
+*   Игнорирует `correctOrientation` параметр.
+
+*   Игнорирует `cameraDirection` параметр.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/camera/parameter/cameraSuccess.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/camera/parameter/cameraSuccess.md b/docs/ru/edge/cordova/camera/parameter/cameraSuccess.md
new file mode 100644
index 0000000..0dc3d92
--- /dev/null
+++ b/docs/ru/edge/cordova/camera/parameter/cameraSuccess.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.
+---
+
+# cameraSuccess
+
+Функция обратного вызова onSuccess, предоставляющий данные изображения.
+
+    function(imageData) {
+        // Do something with the image
+    }
+    
+
+## Параметры
+
+*   **imageData**: Base64 кодирование данных изображения, *или* URI, в зависимости от файла изображения `cameraOptions` в силу. *(Строка)*
+
+## Пример
+
+    // Show image
+    //
+    function cameraCallback(imageData) {
+        var image = document.getElementById('myImage');
+        image.src = "data:image/jpeg;base64," + imageData;
+    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/compass/compass.clearWatch.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/compass/compass.clearWatch.md b/docs/ru/edge/cordova/compass/compass.clearWatch.md
new file mode 100644
index 0000000..1cafe3e
--- /dev/null
+++ b/docs/ru/edge/cordova/compass/compass.clearWatch.md
@@ -0,0 +1,106 @@
+---
+
+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.
+---
+
+# compass.clearWatch
+
+Перестать смотреть компас, на которую ссылается параметр ID часы.
+
+    navigator.compass.clearWatch(watchID);
+    
+
+*   **watchID**: возвращенный идентификатор`compass.watchHeading`.
+
+## Поддерживаемые платформы
+
+*   Андроид
+*   Ежевика 10
+*   iOS
+*   Tizen
+*   Windows Phone 7 и 8 (при наличии в аппаратной)
+*   ОС Windows 8
+
+## Быстрый пример
+
+    var watchID = navigator.compass.watchHeading(onSuccess, onError, options);
+    
+    // ... later on ...
+    
+    navigator.compass.clearWatch(watchID);
+    
+
+## Полный пример
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Compass Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // The watch id references the current `watchHeading`
+        var watchID = null;
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            startWatch();
+        }
+    
+        // Start watching the compass
+        //
+        function startWatch() {
+    
+            // Update compass every 3 seconds
+            var options = { frequency: 3000 };
+    
+            watchID = navigator.compass.watchHeading(onSuccess, onError, options);
+        }
+    
+        // Stop watching the compass
+        //
+        function stopWatch() {
+            if (watchID) {
+                navigator.compass.clearWatch(watchID);
+                watchID = null;
+            }
+        }
+    
+        // onSuccess: Get the current heading
+        //
+        function onSuccess(heading) {
+            var element = document.getElementById('heading');
+            element.innerHTML = 'Heading: ' + heading.magneticHeading;
+        }
+    
+        // onError: Failed to get the heading
+        //
+        function onError(compassError) {
+            alert('Compass error: ' + compassError.code);
+        }
+    
+        </script>
+      </head>
+      <body>
+        <div id="heading">Waiting for heading...</div>
+        <button onclick="startWatch();">Start Watching</button>
+        <button onclick="stopWatch();">Stop Watching</button>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/compass/compass.clearWatchFilter.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/compass/compass.clearWatchFilter.md b/docs/ru/edge/cordova/compass/compass.clearWatchFilter.md
new file mode 100644
index 0000000..a0d5c59
--- /dev/null
+++ b/docs/ru/edge/cordova/compass/compass.clearWatchFilter.md
@@ -0,0 +1,19 @@
+---
+
+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.
+---
+
+# compass.clearWatchFilter
+
+Больше не поддерживается начиная с 1.6. См.`compass.clearWatch`.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/compass/compass.getCurrentHeading.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/compass/compass.getCurrentHeading.md b/docs/ru/edge/cordova/compass/compass.getCurrentHeading.md
new file mode 100644
index 0000000..b857044
--- /dev/null
+++ b/docs/ru/edge/cordova/compass/compass.getCurrentHeading.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.
+---
+
+# compass.getCurrentHeading
+
+Получите текущий курс.
+
+    navigator.compass.getCurrentHeading(compassSuccess, compassError, compassOptions);
+    
+
+## Описание
+
+Компас является датчик, который определяет направление или заголовок, что устройство указал, обычно из верхней части устройства. Он измеряет направление в градусах от 0 до 359,99 градусов, где 0 — север.
+
+Курс информация возвращается через `CompassHeading` объект с помощью `compassSuccess` функции обратного вызова.
+
+## Поддерживаемые платформы
+
+*   Андроид
+*   Ежевика 10
+*   iOS
+*   Tizen
+*   Windows Phone 7 и 8 (при наличии в аппаратной)
+*   ОС Windows 8
+
+## Быстрый пример
+
+    function onSuccess(heading) {
+        alert('Heading: ' + heading.magneticHeading);
+    };
+    
+    function onError(error) {
+        alert('CompassError: ' + error.code);
+    };
+    
+    navigator.compass.getCurrentHeading(onSuccess, onError);
+    
+
+## Полный пример
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Compass Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            navigator.compass.getCurrentHeading(onSuccess, onError);
+        }
+    
+        // onSuccess: Get the current heading
+        //
+        function onSuccess(heading) {
+            alert('Heading: ' + heading.magneticHeading);
+        }
+    
+        // onError: Failed to get the heading
+        //
+        function onError(compassError) {
+            alert('Compass Error: ' + compassError.code);
+        }
+    
+        </script>
+      </head>
+      <body>
+        <h1>Example</h1>
+        <p>getCurrentHeading</p>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/compass/compass.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/compass/compass.md b/docs/ru/edge/cordova/compass/compass.md
new file mode 100644
index 0000000..28c97d7
--- /dev/null
+++ b/docs/ru/edge/cordova/compass/compass.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.
+---
+
+# Компас
+
+> Получает направление, указывая устройство.
+
+## Методы
+
+*   compass.getCurrentHeading
+*   compass.watchHeading
+*   compass.clearWatch
+*   compass.watchHeadingFilter (устаревший)
+*   compass.clearWatchFilter (устаревший)
+
+## Аргументы
+
+*   compassSuccess
+*   compassError
+*   compassOptions
+*   compassHeading
+
+## Доступ к функции
+
+Начиная с версии 3.0 Кордова реализует интерфейсы API уровень устройства как *плагины*. Использование CLI `plugin` команды, описанные в интерфейс командной строки, чтобы добавить или удалить эту функцию для проекта:
+
+        $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation.git
+        $ cordova plugin rm org.apache.cordova.core.device-orientation
+    
+
+Эти команды применяются для всех целевых платформ, но изменить параметры конфигурации платформы, описанные ниже:
+
+*   Android (в`app/res/xml/config.xml`)
+    
+        <feature name="Compass">
+            <param name="android-package" value="org.apache.cordova.CompassListener" />
+        </feature>
+        
+
+*   iOS (в`config.xml`)
+    
+        <feature name="Compass">
+            <param name="ios-package" value="CDVLocation" />
+        </feature>
+        
+
+*   Windows Phone (в`Properties/WPAppManifest.xml`)
+    
+        <Capabilities>
+            <Capability Name="ID_CAP_SENSORS" />
+        </Capabilities>
+        
+    
+    Ссылка: [манифест приложения для Windows Phone][1]
+
+ [1]: http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx
+
+Некоторые платформы могут поддерживать эту функцию без необходимости специальной настройки. Смотрите поддержку платформы обзор.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/compass/compass.watchHeading.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/compass/compass.watchHeading.md b/docs/ru/edge/cordova/compass/compass.watchHeading.md
new file mode 100644
index 0000000..b519b83
--- /dev/null
+++ b/docs/ru/edge/cordova/compass/compass.watchHeading.md
@@ -0,0 +1,128 @@
+---
+
+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.
+---
+
+# compass.watchHeading
+
+На регулярные промежутки времени получите компаса направление в градусах.
+
+    var watchID = navigator.compass.watchHeading(compassSuccess, compassError, [compassOptions]);
+    
+
+## Описание
+
+Компас является датчик, который определяет направление или заголовок, что устройство является острый. Он измеряет направление в градусах от 0 до 359,99 градусов.
+
+`compass.watchHeading`Получает текущий заголовок устройства в регулярном интервале. Каждый раз, когда извлекается заголовок, `headingSuccess` выполняется функция обратного вызова. Задайте интервал в миллисекундах через `frequency` параметр в `compassOptions` объект.
+
+Идентификатор возвращаемой смотреть ссылается на компас смотреть интервал. Часы, идентификатор может быть использован с `compass.clearWatch` чтобы остановить смотреть компас.
+
+## Поддерживаемые платформы
+
+*   Андроид
+*   Ежевика 10
+*   iOS
+*   Tizen
+*   Windows Phone 7 и 8 (при наличии в аппаратной)
+*   ОС Windows 8
+
+## Быстрый пример
+
+    function onSuccess(heading) {
+        var element = document.getElementById('heading');
+        element.innerHTML = 'Heading: ' + heading.magneticHeading;
+    };
+    
+    function onError(compassError) {
+        alert('Compass error: ' + compassError.code);
+    };
+    
+    var options = {
+        frequency: 3000
+    }; // Update every 3 seconds
+    
+    var watchID = navigator.compass.watchHeading(onSuccess, onError, options);
+    
+
+## Полный пример
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Compass Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // The watch id references the current `watchHeading`
+        var watchID = null;
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            startWatch();
+        }
+    
+        // Start watching the compass
+        //
+        function startWatch() {
+    
+            // Update compass every 3 seconds
+            var options = { frequency: 3000 };
+    
+            watchID = navigator.compass.watchHeading(onSuccess, onError, options);
+        }
+    
+        // Stop watching the compass
+        //
+        function stopWatch() {
+            if (watchID) {
+                navigator.compass.clearWatch(watchID);
+                watchID = null;
+            }
+        }
+    
+        // onSuccess: Get the current heading
+        //
+        function onSuccess(heading) {
+            var element = document.getElementById('heading');
+            element.innerHTML = 'Heading: ' + heading.magneticHeading;
+        }
+    
+        // onError: Failed to get the heading
+        //
+        function onError(compassError) {
+            alert('Compass error: ' + compassError.code);
+        }
+    
+        </script>
+      </head>
+      <body>
+        <div id="heading">Waiting for heading...</div>
+        <button onclick="startWatch();">Start Watching</button>
+        <button onclick="stopWatch();">Stop Watching</button>
+      </body>
+    </html>
+    
+
+## iOS причуды
+
+В iOS `compass.watchHeading` также можете получить заголовок текущего устройства, когда она меняется на указанное число градусов. Каждый раз изменения заголовка на указанное число градусов или больше, `headingSuccess` выполняет функции обратного вызова. Укажите степень изменения через `filter` параметр в `compassOptions` объект. Снимите часы как обычно, передав идентификатор возвращаемый часы, чтобы `compass.clearWatch` . Эта функция заменяет ранее разрозненные, iOS только `watchHeadingFilter` и `clearWatchFilter` функции, которые были удалены в версии 1.6.
+
+Только один `watchHeading` может быть в силе в одно время в iOS. Если `watchHeading` использует фильтр, вызов `getCurrentHeading` или `watchHeading` для указания изменения заголовка используется существующее значение фильтра. Наблюдая изменения заголовка с помощью фильтра является более эффективным, чем с интервалами времени.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/compass/compass.watchHeadingFilter.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/compass/compass.watchHeadingFilter.md b/docs/ru/edge/cordova/compass/compass.watchHeadingFilter.md
new file mode 100644
index 0000000..a8c9726
--- /dev/null
+++ b/docs/ru/edge/cordova/compass/compass.watchHeadingFilter.md
@@ -0,0 +1,19 @@
+---
+
+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.
+---
+
+# compass.watchHeadingFilter
+
+Больше не поддерживается начиная с 1.6, см `compass.watchHeading` для эквивалентной функциональности.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/compass/compassError/compassError.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/compass/compassError/compassError.md b/docs/ru/edge/cordova/compass/compassError/compassError.md
new file mode 100644
index 0000000..bd4a0a6
--- /dev/null
+++ b/docs/ru/edge/cordova/compass/compassError/compassError.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.
+---
+
+# CompassError
+
+A `CompassError` объект возвращается к `compassError` функции обратного вызова при возникновении ошибки.
+
+## Свойства
+
+*   **код**: один из кодов стандартных ошибок, перечисленные ниже.
+
+## Константы
+
+*   `CompassError.COMPASS_INTERNAL_ERR`
+*   `CompassError.COMPASS_NOT_SUPPORTED`
+
+## Описание
+
+Когда возникает ошибка, `CompassError` объект передается как параметр `compassError` функции обратного вызова.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/compass/parameters/compassError.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/compass/parameters/compassError.md b/docs/ru/edge/cordova/compass/parameters/compassError.md
new file mode 100644
index 0000000..e69a955
--- /dev/null
+++ b/docs/ru/edge/cordova/compass/parameters/compassError.md
@@ -0,0 +1,25 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# compassError
+
+Функция обратного вызова в onError для компас функций.
+
+## Пример
+
+    function(CompassError) {
+        // Handle the error
+    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/compass/parameters/compassHeading.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/compass/parameters/compassHeading.md b/docs/ru/edge/cordova/compass/parameters/compassHeading.md
new file mode 100644
index 0000000..f3ceddb
--- /dev/null
+++ b/docs/ru/edge/cordova/compass/parameters/compassHeading.md
@@ -0,0 +1,45 @@
+---
+
+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.
+---
+
+# compassHeading
+
+A `CompassHeading` объект возвращается к `compassSuccess` функции обратного вызова.
+
+## Свойства
+
+*   **magneticHeading**: направление в градусах от 0-359,99 в один момент времени. *(Число)*
+
+*   **trueHeading**: заголовок относительно географического Северного полюса в градусах 0-359,99 в один момент времени. Отрицательное значение указывает, что истинный заголовок не может быть определено. *(Число)*
+
+*   **headingAccuracy**: отклонение в градусах между сообщил заголовок и заголовок верно. *(Число)*
+
+*   **отметка времени**: время, на котором был определен этот заголовок. *(в миллисекундах)*
+
+## Описание
+
+`CompassHeading`Объект возвращается к `compassSuccess` функции обратного вызова.
+
+## Андроид причуды
+
+*   `trueHeading`не поддерживается, но сообщает то же значение`magneticHeading`
+
+*   `headingAccuracy`Это всегда 0 потому, что нет никакой разницы между `magneticHeading` и`trueHeading`.
+
+## iOS причуды
+
+*   `trueHeading` is only returned when location services are enabled via `navigator.geolocation.watchLocation()`
+
+*   Для устройств iOS 4 и выше, заголовок факторов в текущей ориентации устройства, не со ссылкой на свою абсолютную позицию для приложений, который поддерживает что ориентация.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/compass/parameters/compassOptions.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/compass/parameters/compassOptions.md b/docs/ru/edge/cordova/compass/parameters/compassOptions.md
new file mode 100644
index 0000000..1cc16ac
--- /dev/null
+++ b/docs/ru/edge/cordova/compass/parameters/compassOptions.md
@@ -0,0 +1,39 @@
+---
+
+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.
+---
+
+# compassOptions
+
+Необязательный параметр для настройки поиска компаса.
+
+## Параметры
+
+*   **Частота**: как часто получить курс в миллисекундах. *(Число)* (По умолчанию: 100)
+
+*   **Фильтр**: изменения в градусах, требуемых для инициирования обратного вызова успех watchHeading. *(Число)*
+
+Андроид причуды
+
+---
+
+*   `filter`не поддерживается.
+
+## Tizen причуды
+
+*   `filter`не поддерживается.
+
+## Windows Phone 7 и 8 причуды
+
+*   `filter`не поддерживается.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/compass/parameters/compassSuccess.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/compass/parameters/compassSuccess.md b/docs/ru/edge/cordova/compass/parameters/compassSuccess.md
new file mode 100644
index 0000000..f9c3a5a
--- /dev/null
+++ b/docs/ru/edge/cordova/compass/parameters/compassSuccess.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.
+---
+
+# compassSuccess
+
+Функция обратного вызова onSuccess, предоставляет информацию курс через `compassHeading` объект.
+
+    function(heading) {
+        // Do something
+    }
+    
+
+## Параметры
+
+*   **заголовок**: сведения заголовка. *(compassHeading)*
+
+## Пример
+
+    function onSuccess(heading) {
+        alert('Heading: ' + heading.magneticHeading);
+    };
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/connection/connection.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/connection/connection.md b/docs/ru/edge/cordova/connection/connection.md
new file mode 100644
index 0000000..57a82c9
--- /dev/null
+++ b/docs/ru/edge/cordova/connection/connection.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.
+---
+
+# Connection
+
+> `connection`Объектов, через `navigator.connection` , предоставляет информацию о сотовых и wifi подключение устройства.
+
+## Свойства
+
+*   connection.type
+
+## Константы
+
+*   Connection.UNKNOWN
+*   Connection.ETHERNET
+*   Connection.WIFI
+*   Connection.CELL_2G
+*   Connection.CELL_3G
+*   Connection.CELL_4G
+*   Connection.CELL
+*   Connection.NONE
+
+## Доступ к функции
+
+Начиная с версии 3.0 Кордова реализует интерфейсы API уровень устройства как *плагины*. Использование CLI `plugin` команды, описанные в интерфейс командной строки, чтобы добавить или удалить эту функцию для проекта:
+
+        $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git
+        $ cordova plugin rm org.apache.cordova.core.network-information
+    
+
+Эти команды применяются для всех целевых платформ, но изменить параметры конфигурации платформы, описанные ниже:
+
+*   Андроид
+    
+        (in app/res/xml/config.xml)
+        <feature name="NetworkStatus">
+            <param name="android-package" value="org.apache.cordova.NetworkManager" />
+        </feature>
+        
+        (in app/AndroidManifest.xml)
+        <uses-permission android:name="android.permission.INTERNET" />
+        <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+        <uses-permission android:name="android.permission.READ_PHONE_STATE" />
+        
+
+*   Ежевика WebWorks
+    
+        (in www/plugins.xml)
+        <feature name="Network Status">
+            <param name="blackberry-package" value="org.apache.cordova.network.Network" />
+        </feature>
+        
+
+*   iOS (в`config.xml`)
+    
+        <feature name="NetworkStatus">
+            <param name="ios-package" value="CDVConnection" />
+        </feature>
+        
+
+*   Windows Phone (в`Properties/WPAppManifest.xml`)
+    
+        <Capabilities>
+            <Capability Name="ID_CAP_NETWORKING" />
+        </Capabilities>
+        
+    
+    Ссылка: [манифест приложения для Windows Phone][1]
+
+*   Tizen (в`config.xml`)
+    
+        <feature name="http://tizen.org/api/systeminfo" required="true"/>
+        
+    
+    Ссылка: [манифест приложения для Tizen веб-приложения][2]
+
+ [1]: http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx
+ [2]: https://developer.tizen.org/help/topic/org.tizen.help.gs/Creating%20a%20Project.html?path=0_1_1_3#8814682_CreatingaProject-EditingconfigxmlFeatures
+
+Некоторые платформы могут поддерживать эту функцию без необходимости специальной настройки. Смотрите поддержку платформы обзор.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/240a1005/docs/ru/edge/cordova/connection/connection.type.md
----------------------------------------------------------------------
diff --git a/docs/ru/edge/cordova/connection/connection.type.md b/docs/ru/edge/cordova/connection/connection.type.md
new file mode 100644
index 0000000..36fafe3
--- /dev/null
+++ b/docs/ru/edge/cordova/connection/connection.type.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.
+---
+
+# connection.type
+
+Проверяет в настоящее время активное сетевое подключение.
+
+## Описание
+
+Это свойство предоставляет быстрый способ для определения состояния подключения устройства сети и тип подключения.
+
+## Поддерживаемые платформы
+
+*   iOS
+*   Андроид
+*   WebWorks ежевики (OS 5.0 и выше)
+*   Tizen
+*   Windows Phone 7 и 8
+*   ОС Windows 8
+
+## Быстрый пример
+
+    function checkConnection() {
+        var networkState = navigator.connection.type;
+    
+        var states = {};
+        states[Connection.UNKNOWN]  = 'Unknown connection';
+        states[Connection.ETHERNET] = 'Ethernet connection';
+        states[Connection.WIFI]     = 'WiFi connection';
+        states[Connection.CELL_2G]  = 'Cell 2G connection';
+        states[Connection.CELL_3G]  = 'Cell 3G connection';
+        states[Connection.CELL_4G]  = 'Cell 4G connection';
+        states[Connection.CELL]     = 'Cell generic connection';
+        states[Connection.NONE]     = 'No network connection';
+    
+        alert('Connection type: ' + states[networkState]);
+    }
+    
+    checkConnection();
+    
+
+## Полный пример
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>navigator.connection.type Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            checkConnection();
+        }
+    
+            function checkConnection() {
+                var networkState = navigator.connection.type;
+    
+                var states = {};
+                states[Connection.UNKNOWN]  = 'Unknown connection';
+                states[Connection.ETHERNET] = 'Ethernet connection';
+                states[Connection.WIFI]     = 'WiFi connection';
+                states[Connection.CELL_2G]  = 'Cell 2G connection';
+                states[Connection.CELL_3G]  = 'Cell 3G connection';
+                states[Connection.CELL_4G]  = 'Cell 4G connection';
+                states[Connection.CELL]     = 'Cell generic connection';
+                states[Connection.NONE]     = 'No network connection';
+    
+                alert('Connection type: ' + states[networkState]);
+            }
+    
+        </script>
+      </head>
+      <body>
+        <p>A dialog box will report the network state.</p>
+      </body>
+    </html>
+    
+
+## Изменения API
+
+До Кордова 2.3.0 `Connection` был доступ к объекту через `navigator.network.connection` , после которого оно было изменено на `navigator.connection` в соответствии со спецификацией консорциума W3C. Он все еще доступен в его исходном расположении, но является устаревшим и в конечном итоге будут удалены.
+
+## iOS причуды
+
+*   iOS не может определить тип подключения к сотовой сети. 
+    *   `navigator.connection.type` is set to `Connection.CELL` for all cellular data.
+
+## Windows Phone причуды
+
+*   When running in the emulator, always detects `navigator.connection.type` as `Connection.UNKNOWN`.
+
+*   Windows Phone не может определить тип подключения к сотовой сети.
+    
+    *   `navigator.connection.type` is set to `Connection.CELL` for all cellular data.
+
+## Tizen причуды
+
+*   Tizen может только обнаружить Wi-Fi или сотовой связи. 
+    *   `navigator.connection.type` is set to `Connection.CELL_2G` for all cellular data.
\ No newline at end of file