cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From victo...@apache.org
Subject cordova-plugin-device-motion git commit: CB-9128 cordova-plugin-device-motion documentation translation: cordova-plugin-device-motion
Date Fri, 12 Jun 2015 14:40:04 GMT
Repository: cordova-plugin-device-motion
Updated Branches:
  refs/heads/master 1fc07d39b -> d0607c0c3


CB-9128 cordova-plugin-device-motion documentation translation: cordova-plugin-device-motion


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/commit/d0607c0c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/d0607c0c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/d0607c0c

Branch: refs/heads/master
Commit: d0607c0c30eb3b816cce556c26cba0c1c024353a
Parents: 1fc07d3
Author: Victor Sosa <victorsh@apache.org>
Authored: Fri Jun 12 09:39:49 2015 -0500
Committer: Victor Sosa <victorsh@apache.org>
Committed: Fri Jun 12 09:39:49 2015 -0500

----------------------------------------------------------------------
 doc/de/README.md | 163 ++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/es/README.md | 159 ++++++++++++++++++++++++++++++++++++++++++++++++
 doc/fr/README.md | 141 +++++++++++++++++++++++++++++++++++++++++++
 doc/it/README.md | 163 ++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/ja/README.md | 163 ++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/ko/README.md | 163 ++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/pl/README.md | 163 ++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/zh/README.md | 163 ++++++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 1278 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/d0607c0c/doc/de/README.md
----------------------------------------------------------------------
diff --git a/doc/de/README.md b/doc/de/README.md
new file mode 100644
index 0000000..c8c8fca
--- /dev/null
+++ b/doc/de/README.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.
+-->
+
+# cordova-plugin-device-motion
+
+[![Build Status](https://travis-ci.org/apache/cordova-plugin-device-motion.svg)](https://travis-ci.org/apache/cordova-plugin-device-motion)
+
+Dieses Plugin ermöglicht den Zugriff auf das Gerät Beschleunigungsmesser. Der Beschleunigungsmesser ist ein Bewegungssensor, der die Änderung (*Delta*) erkennt Bewegung im Verhältnis zu der aktuellen Geräte-Orientierung, in drei Dimensionen entlang der *x-*, *y-*und *Z* -Achse.
+
+Der Zugang ist über eine globale `navigator.accelerometer`-Objekt.
+
+Obwohl das Objekt mit der globalen Gültigkeitsbereich `navigator` verbunden ist, steht es nicht bis nach dem `Deviceready`-Ereignis.
+
+    document.addEventListener("deviceready", onDeviceReady, false);
+    function onDeviceReady() {
+        console.log(navigator.accelerometer);
+    }
+    
+
+## Installation
+
+    cordova plugin add cordova-plugin-device-motion
+    
+
+## Unterstützte Plattformen
+
+  * Amazon Fire OS
+  * Android
+  * BlackBerry 10
+  * Browser
+  * Firefox OS
+  * iOS
+  * Tizen
+  * Windows Phone 8
+  * Windows
+
+## Methoden
+
+  * navigator.accelerometer.getCurrentAcceleration
+  * navigator.accelerometer.watchAcceleration
+  * navigator.accelerometer.clearWatch
+
+## Objekte
+
+  * Beschleunigung
+
+## navigator.accelerometer.getCurrentAcceleration
+
+Erhalten Sie die aktuelle Beschleunigung entlang der *x-*, *y-* und *z*-Achsen.
+
+Diese Beschleunigungswerte werden an die `accelerometerSuccess`-Callback-Funktion zurückgegeben.
+
+    navigator.accelerometer.getCurrentAcceleration(accelerometerSuccess, accelerometerError);
+    
+
+### Beispiel
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    navigator.accelerometer.getCurrentAcceleration(onSuccess, onError);
+    
+
+### Browser-Eigenheiten
+
+Werte für X, Y, Z-Bewegung sind alle zufällig generierten in Ordnung, den Beschleunigungsmesser zu simulieren.
+
+### iOS Macken
+
+  * iOS erkennt nicht das Konzept die aktuelle Beschleunigung zu einem bestimmten Zeitpunkt zu bekommen.
+
+  * Müssen Sie die Beschleunigung zu sehen und erfassen die Daten zu bestimmten Zeitintervallen.
+
+  * So die `getCurrentAcceleration` -Funktion führt zu den letzten Wert berichtet von einer `watchAccelerometer` rufen.
+
+## navigator.accelerometer.watchAcceleration
+
+Ruft das Gerät aktuelle `Accelerometer` in regelmäßigen Abständen, die `accelerometerSuccess`-Callback-Funktion jedes Mal ausgeführt. Gibt das Intervall in Millisekunden über das `AcceleratorOptions`-Objekt-`frequency`-Parameter.
+
+Die zurückgegebenen Watch-ID verweist der Beschleunigungsmesser Uhr Intervall und kann mit `navigator.accelerometer.clearWatch` um zu stoppen, beobachten den Beschleunigungsmesser verwendet werden.
+
+    var watchID = navigator.accelerometer.watchAcceleration(accelerometerSuccess,
+                                                           accelerometerError,
+                                                           accelerometerOptions);
+    
+
+  * **accelerometerOptions**: Ein Objekt mit den folgenden optionalen Elementen: 
+      * **Zeitraum**: gewünschten Zeitraum der Aufrufe von AccelerometerSuccess mit Beschleunigungsdaten in Millisekunden. *(Anzahl)* (Default: 10000)
+
+### Beispiel
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    var options = { frequency: 3000 };  // Update every 3 seconds
+    
+    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+    
+
+### iOS Macken
+
+Die API ruft die Erfolg-Callback-Funktion im Intervall angefordert, aber schränkt den Bereich der Anforderungen an das Gerät zwischen 40ms und 1000ms. Beispielsweise wenn Sie ein Intervall von 3 Sekunden, (3000ms), beantragen die API fordert Daten vom Gerät jede 1 Sekunde, aber nur den Erfolg-Rückruf führt alle 3 Sekunden.
+
+## navigator.accelerometer.clearWatch
+
+Hör auf, beobachten die `Beschleunigung` durch den `watchID`-Parameter verwiesen.
+
+    navigator.accelerometer.clearWatch(watchID);
+    
+
+  * **WatchID**: die ID von zurückgegeben`navigator.accelerometer.watchAcceleration`.
+
+### Beispiel
+
+    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+    
+    // ... later on ...
+    
+    navigator.accelerometer.clearWatch(watchID);
+    
+
+## Beschleunigung
+
+Zu einem bestimmten Zeitpunkt im Zeit erfasste `Accelerometer`-Daten enthält. Beschleunigungswerte sind die Auswirkungen der Schwerkraft (9.81 m/s ^ 2), so dass wenn ein Gerät flach und nach oben, *X*, *y liegt*, und *Z*-Werte zurückgegeben werden, ``, `` und `9.81 sollte`.
+
+### Eigenschaften
+
+  * **X**: Betrag der Beschleunigung auf der x-Achse. (in m/s ^ 2) *(Anzahl)*
+  * **y**: Betrag der Beschleunigung auf der y-Achse. (in m/s ^ 2) *(Anzahl)*
+  * **Z**: Betrag der Beschleunigung auf die z-Achse. (in m/s ^ 2) *(Anzahl)*
+  * **Timestamp**: Zeitstempel der Erstellung in Millisekunden. *(DOMTimeStamp)*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/d0607c0c/doc/es/README.md
----------------------------------------------------------------------
diff --git a/doc/es/README.md b/doc/es/README.md
new file mode 100644
index 0000000..1d8793d
--- /dev/null
+++ b/doc/es/README.md
@@ -0,0 +1,159 @@
+<!---
+# 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.
+-->
+
+# cordova-plugin-device-motion
+
+[![Build Status](https://travis-ci.org/apache/cordova-plugin-device-motion.svg)](https://travis-ci.org/apache/cordova-plugin-device-motion)
+
+Este plugin proporciona acceso a acelerómetro del dispositivo. El acelerómetro es un sensor de movimiento que detecta el cambio (*delta*) en movimiento con respecto a la orientación actual del dispositivo, en tres dimensiones sobre el eje *x*, *y*y *z* .
+
+El acceso es por un global `navigator.accelerometer` objeto.
+
+Aunque el objeto está unido al ámbito global `navigator` , no estará disponible hasta después de la `deviceready` evento.
+
+    document.addEventListener ("deviceready", onDeviceReady, false);
+    function onDeviceReady() {console.log(navigator.accelerometer)};
+    
+
+## Instalación
+
+    cordova plugin add cordova-plugin-device-motion
+    
+
+## Plataformas soportadas
+
+  * Amazon fire OS
+  * Android
+  * BlackBerry 10
+  * Explorador
+  * Firefox OS
+  * iOS
+  * Tizen
+  * Windows Phone 8
+  * Windows
+
+## Métodos
+
+  * navigator.accelerometer.getCurrentAcceleration
+  * navigator.accelerometer.watchAcceleration
+  * navigator.accelerometer.clearWatch
+
+## Objetos
+
+  * Acceleration
+
+## navigator.accelerometer.getCurrentAcceleration
+
+Tienes la aceleración actual a lo largo de los ejes *x*, *y*y *z* .
+
+Estos valores de aceleración son devueltos a la `accelerometerSuccess` función de callback.
+
+    navigator.accelerometer.getCurrentAcceleration(accelerometerSuccess, accelerometerError);
+    
+
+### Ejemplo
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    navigator.accelerometer.getCurrentAcceleration(onSuccess, onError);
+    
+
+### Navegador rarezas
+
+Los valores para X, Y, movimiento Z son todo generada aleatoriamente en orden para simular el acelerómetro.
+
+### iOS rarezas
+
+  * iOS no reconoce el concepto de conseguir la aceleración actual en cualquier momento dado.
+
+  * Debes ver la aceleración y capturar los datos en determinados intervalos de tiempo.
+
+  * Así, la función de `getCurrentAcceleration` rinde el último valor informado de una llamada de `watchAccelerometer`.
+
+## navigator.accelerometer.watchAcceleration
+
+Recupera el dispositivo actual de `Acceleration` a intervalos regulares, ejecutar el `accelerometerSuccess` función callback cada vez. Especificar el intervalo en milisegundos mediante la `acceleratorOptions` del objeto `frequency` parámetro.
+
+El vuelto ver referencias ID intervalo del acelerómetro reloj y puede ser utilizado con `navigator.accelerometer.clearWatch` para dejar de ver el acelerómetro.
+
+    var watchID = navigator.accelerometer.watchAcceleration (accelerometerSuccess, accelerometerError, accelerometerOptions);
+    
+
+  * **accelerometerOptions**: Un objeto con las llaves opcionales siguientes: 
+      * **periodo**: periodo solicitado de llamadas a accelerometerSuccess con los datos de aceleración en milisegundos. *(Número)* (Por defecto: 10000)
+
+### Ejemplo
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    var options = { frequency: 3000 };  // Update every 3 seconds
+    
+    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+    
+
+### iOS rarezas
+
+La API llama a la función de devolución de llamada de éxito en el intervalo solicitado, pero restringe la gama de solicitudes que el dispositivo entre 40ms y 1000ms. Por ejemplo, si usted solicita un intervalo de 3 segundos, (3000ms), la API solicita datos desde el dispositivo cada 1 segundo, pero sólo ejecuta el callback de éxito cada 3 segundos.
+
+## navigator.accelerometer.clearWatch
+
+Dejar de mirar el `Acceleration` referenciado por el `watchID` parámetro.
+
+    navigator.accelerometer.clearWatch(watchID);
+    
+
+  * **watchID**: el identificador devuelto por`navigator.accelerometer.watchAcceleration`.
+
+### Ejemplo
+
+    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+    
+    // ... later on ...
+    
+    navigator.accelerometer.clearWatch(watchID);
+    
+
+## Acceleration
+
+Contiene `Accelerometer` datos capturados en un punto específico en el tiempo. Valores de aceleración incluyen el efecto de la gravedad (9,81 m/s ^ 2), de modo que cuando se encuentra un dispositivo plano y hacia arriba, *x*, *y*, y *z* valores devueltos deben ser `` , `` , y`9.81`.
+
+### Propiedades
+
+  * **x**: Cantidad de aceleración en el eje X. (en m/s^2) *(Number)*
+  * **y**: Cantidad de aceleración en el eje Y. (en m/s^2) *(Number)*
+  * **z**: Cantidad de aceleración en el eje Z. (en m/s^2) *(Number)*
+  * **timestamp**: Momento de la captura en milisegundos.*(DOMTimeStamp)*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/d0607c0c/doc/fr/README.md
----------------------------------------------------------------------
diff --git a/doc/fr/README.md b/doc/fr/README.md
new file mode 100644
index 0000000..82f2488
--- /dev/null
+++ b/doc/fr/README.md
@@ -0,0 +1,141 @@
+<!---
+# 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.
+-->
+
+# cordova-plugin-device-motion
+
+[![Build Status](https://travis-ci.org/apache/cordova-plugin-device-motion.svg)](https://travis-ci.org/apache/cordova-plugin-device-motion)
+
+Ce plugin permet d'accéder à l'accéléromètre de l'appareil. L'accéléromètre est un capteur de mouvement qui détecte la modification (*delta*) en mouvement par rapport à l'orientation actuelle de l'appareil, en trois dimensions le long de l'axe *x*, *y*et *z* .
+
+Accès se fait par un global `navigator.accelerometer` objet.
+
+Bien que l'objet est attaché à la portée globale `navigator` , il n'est pas disponible jusqu'après la `deviceready` événement.
+
+    document.addEventListener (« deviceready », onDeviceReady, false) ;
+    function onDeviceReady() {console.log(navigator.accelerometer);}
+    
+
+## Installation
+
+    cordova plugin add cordova-plugin-device-motion
+    
+
+## Plates-formes supportées
+
+  * Amazon Fire OS
+  * Android
+  * BlackBerry 10
+  * Navigateur
+  * Firefox OS
+  * iOS
+  * Paciarelli
+  * Windows Phone 8
+  * Windows
+
+## Méthodes
+
+  * navigator.accelerometer.getCurrentAcceleration
+  * navigator.accelerometer.watchAcceleration
+  * navigator.accelerometer.clearWatch
+
+## Objets
+
+  * Acceleration
+
+## navigator.accelerometer.getCurrentAcceleration
+
+Obtenir l'accélération courante le long des axes *x*, *y*et *z* .
+
+Ces valeurs d'accélération sont retournés à la `accelerometerSuccess` fonction de rappel.
+
+    navigator.accelerometer.getCurrentAcceleration (accelerometerSuccess, accelerometerError) ;
+    
+
+### Exemple
+
+    function onSuccess(acceleration) {alert ("Accélération X:" + acceleration.x + « \n » + "Accélération Y:" + acceleration.y + « \n » + « Accélération Z: » + acceleration.z + « \n » + ' Timestamp: "+ acceleration.timestamp + « \n »);} ;
+    
+    fonction onError() {alert('onError!');} ;
+    
+    navigator.accelerometer.getCurrentAcceleration (onSuccess, onError) ;
+    
+
+### Bizarreries navigateur
+
+Les valeurs x, Y, motion de Z sont tous ordre généré de manière aléatoire dans pour simuler l'accéléromètre.
+
+### Notes au sujet d'iOS
+
+  * iOS ne permet pas d'obtenir l'accélération en cours à un instant donné.
+
+  * Vous devez observer l'accélération et capturer ses données à un intervalle de temps donné.
+
+  * De ce fait, la fonction `getCurrentAcceleration` renvoie la dernière valeur retournée par un appel à `watchAccelerometer`.
+
+## navigator.accelerometer.watchAcceleration
+
+Récupère le dispositif actuel de `Acceleration` à intervalle régulier, l'exécution de la `accelerometerSuccess` fonction de rappel chaque fois. Spécifiez l'intervalle, en millisecondes, via le `acceleratorOptions` de l'objet `frequency` paramètre.
+
+Le retourné regarder ID références intervalle de surveillance de l'accéléromètre et peut être utilisé avec `navigator.accelerometer.clearWatch` d'arrêter de regarder l'accéléromètre.
+
+    var watchID = navigator.accelerometer.watchAcceleration (accelerometerSuccess, accelerometerError, accelerometerOptions) ;
+    
+
+  * **accelerometerOptions**: Un objet avec les clés facultatives suivantes : 
+      * **période**: période demandée d'appels à accelerometerSuccess avec les données d'accélération en millisecondes. *(Nombre)* (Par défaut : 10000)
+
+### Exemple
+
+    function onSuccess(acceleration) {alert ("Accélération X:" + acceleration.x + « \n » + "Accélération Y:" + acceleration.y + « \n » + « Accélération Z: » + acceleration.z + « \n » + ' Timestamp: "+ acceleration.timestamp + « \n »);} ;
+    
+    fonction onError() {alert('onError!');} ;
+    
+    options de var = { frequency: 3000 } ;  Mise à jour chaque 3 secondes var watchID = navigator.accelerometer.watchAcceleration (onSuccess, onError, options) ;
+    
+
+### Notes au sujet d'iOS
+
+L'API appelle la fonction de rappel de succès à l'intervalle demandé, mais restreint l'éventail des demandes à l'appareil entre 40ms et 1000ms. Par exemple, si vous demandez un intervalle de 3 secondes, (3000ms), l'API demande des données de l'appareil toutes les 1 seconde, mais seulement exécute le rappel réussi toutes les 3 secondes.
+
+## navigator.accelerometer.clearWatch
+
+Arrêter de regarder le `Acceleration` référencé par le `watchID` paramètre.
+
+    navigator.accelerometer.clearWatch(watchID) ;
+    
+
+  * **watchID**: l'ID retourné par`navigator.accelerometer.watchAcceleration`.
+
+### Exemple
+
+    var watchID = navigator.accelerometer.watchAcceleration (onSuccess, onError, options) ;
+    
+    ... plus tard... navigator.accelerometer.clearWatch(watchID) ;
+    
+
+## Acceleration
+
+Contient `Accelerometer` données capturées à un point précis dans le temps. Valeurs d'accélération comprennent l'effet de la pesanteur (9,81 m/s ^ 2), de sorte que lorsqu'un périphérique se trouve plat et face vers le haut, *x*, *y*, et *z* valeurs retournées doivent être `` , `` , et`9.81`.
+
+### Propriétés
+
+  * **x**: Valeur de l'accélération sur l'axe des x. (en m/s^2) *(Number)*
+  * **y**: Valeur de l'accélération sur l'axe des y. (en m/s^2) *(Number)*
+  * **y**: Valeur de l'accélération sur l'axe des z. (en m/s^2) *(Number)*
+  * **timestamp**: Date de création en millisecondes. *(DOMTimeStamp)*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/d0607c0c/doc/it/README.md
----------------------------------------------------------------------
diff --git a/doc/it/README.md b/doc/it/README.md
new file mode 100644
index 0000000..b350c45
--- /dev/null
+++ b/doc/it/README.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.
+-->
+
+# cordova-plugin-device-motion
+
+[![Build Status](https://travis-ci.org/apache/cordova-plugin-device-motion.svg)](https://travis-ci.org/apache/cordova-plugin-device-motion)
+
+Questo plugin consente di accedere all'accelerometro del dispositivo. L'accelerometro è un sensore di movimento che rileva il cambiamento (*delta*) nel movimento relativo l'orientamento corrente del dispositivo, in tre dimensioni lungo l'asse *x*, *y*e *z* .
+
+L'accesso avviene tramite un oggetto globale `navigator.accelerometer`.
+
+Anche se l'oggetto è associato con ambito globale del `navigator`, non è disponibile fino a dopo l'evento `deviceready`.
+
+    document.addEventListener("deviceready", onDeviceReady, false);
+    function onDeviceReady() {
+        console.log(navigator.accelerometer);
+    }
+    
+
+## Installazione
+
+    cordova plugin add cordova-plugin-device-motion
+    
+
+## Piattaforme supportate
+
+  * Amazon fuoco OS
+  * Android
+  * BlackBerry 10
+  * Browser
+  * Firefox OS
+  * iOS
+  * Tizen
+  * Windows Phone 8
+  * Windows
+
+## Metodi
+
+  * navigator.accelerometer.getCurrentAcceleration
+  * navigator.accelerometer.watchAcceleration
+  * navigator.accelerometer.clearWatch
+
+## Oggetti
+
+  * Accelerazione
+
+## navigator.accelerometer.getCurrentAcceleration
+
+Ottenere l'attuale accelerazione lungo gli assi *x*, *y* e *z*.
+
+I valori di accelerazione vengono restituiti alla funzione di callback `accelerometerSuccess`.
+
+    navigator.accelerometer.getCurrentAcceleration(accelerometerSuccess, accelerometerError);
+    
+
+### Esempio
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    navigator.accelerometer.getCurrentAcceleration(onSuccess, onError);
+    
+
+### Stranezze browser
+
+I valori per X, Y, movimento Z sono tutti generati casualmente in ordine per simulare l'accelerometro.
+
+### iOS stranezze
+
+  * iOS non riconosce il concetto di ottenere l'accelerazione della corrente in un dato punto.
+
+  * Si deve guardare l'accelerazione e acquisire i dati di intervalli di tempo dato.
+
+  * Così, il `getCurrentAcceleration` funzione restituisce l'ultimo valore segnalato da un `watchAccelerometer` chiamare.
+
+## navigator.accelerometer.watchAcceleration
+
+Recupera corrente del dispositivo `Acceleration` a intervalli regolari, l'esecuzione della funzione di callback `accelerometerSuccess` ogni volta. Specificare l'intervallo in millisecondi tramite parametro `frequency` dell'oggetto `acceleratorOptions`.
+
+L'orologio restituito ID fa riferimento intervallo orologio di accelerometro e può essere utilizzato con `navigator.accelerometer.clearWatch` a smettere di guardare l'accelerometro.
+
+    var watchID = navigator.accelerometer.watchAcceleration(accelerometerSuccess,
+                                                           accelerometerError,
+                                                           accelerometerOptions);
+    
+
+  * **accelerometerOptions**: Un oggetto con le seguenti chiavi opzionali: 
+      * **periodo**: periodo richiesto di chiamate a accelerometerSuccess con i dati di accelerazione in millisecondi. *(Numero)* (Default: 10000)
+
+### Esempio
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    var options = { frequency: 3000 };  // Update every 3 seconds
+    
+    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+    
+
+### iOS stranezze
+
+L'API chiama la funzione di callback di successo nell'intervallo richiesto, ma limita la gamma di richieste alla periferica tra 40ms e 1000ms. Ad esempio, se si richiede un intervallo di 3 secondi, (3000ms), l'API richiede i dati dal dispositivo ogni secondo, ma esegue solo il callback di successo ogni 3 secondi.
+
+## navigator.accelerometer.clearWatch
+
+Smettere di guardare l' `Acceleration` a cui fa riferimento il parametro `watchID`.
+
+    navigator.accelerometer.clearWatch(watchID);
+    
+
+  * **watchID**: l'ID restituito da`navigator.accelerometer.watchAcceleration`.
+
+### Esempio
+
+    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+    
+    // ... later on ...
+    
+    navigator.accelerometer.clearWatch(watchID);
+    
+
+## Accelerazione
+
+Contiene i dati dell'`Accelerometer` catturati in un punto specifico nel tempo. I valori di accelerazione includono l'effetto della gravità (9,81 m/s ^ 2), in modo che quando un dispositivo si trova piatta e rivolto in su, *x*, *y*, e *z* valori restituiti dovrebbero essere ``, `` e `9,81`.
+
+### Proprietà
+
+  * **x**: quantità di accelerazione sull'asse x. (in m/s ^ 2) *(Numero)*
+  * **y**: quantità di accelerazione sull'asse y. (in m/s ^ 2) *(Numero)*
+  * **z**: quantità di accelerazione sull'asse z. (in m/s ^ 2) *(Numero)*
+  * **timestamp**: creazione timestamp in millisecondi. *(DOMTimeStamp)*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/d0607c0c/doc/ja/README.md
----------------------------------------------------------------------
diff --git a/doc/ja/README.md b/doc/ja/README.md
new file mode 100644
index 0000000..d6c66e7
--- /dev/null
+++ b/doc/ja/README.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.
+-->
+
+# cordova-plugin-device-motion
+
+[![Build Status](https://travis-ci.org/apache/cordova-plugin-device-motion.svg)](https://travis-ci.org/apache/cordova-plugin-device-motion)
+
+このプラグインは、デバイスの加速度計へのアクセスを提供します。 加速度計の現在のデバイスの向き、 *x* *y*、および*z*軸に沿って 3 つの次元の相対運動の変更 (*デルタ*) を検出するモーション センサーです。
+
+アクセスは、グローバル `navigator.accelerometer` オブジェクトを介して。
+
+オブジェクトは、グローバル スコープの `ナビゲーター` に添付、それがないまで `deviceready` イベントの後。
+
+    document.addEventListener("deviceready", onDeviceReady, false);
+    function onDeviceReady() {
+        console.log(navigator.accelerometer);
+    }
+    
+
+## インストール
+
+    cordova plugin add cordova-plugin-device-motion
+    
+
+## サポートされているプラットフォーム
+
+  * アマゾン火 OS
+  * アンドロイド
+  * ブラックベリー 10
+  * ブラウザー
+  * Firefox の OS
+  * iOS
+  * Tizen
+  * Windows Phone 8
+  * Windows
+
+## メソッド
+
+  * navigator.accelerometer.getCurrentAcceleration
+  * navigator.accelerometer.watchAcceleration
+  * navigator.accelerometer.clearWatch
+
+## オブジェクト
+
+  * 加速
+
+## navigator.accelerometer.getCurrentAcceleration
+
+*X* *y*、および *z* 軸に沿って現在の加速を取得します。
+
+これらの加速度値が `accelerometerSuccess` コールバック関数に返されます。
+
+    navigator.accelerometer.getCurrentAcceleration(accelerometerSuccess, accelerometerError);
+    
+
+### 例
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    navigator.accelerometer.getCurrentAcceleration(onSuccess, onError);
+    
+
+### ブラウザーの癖
+
+値 X、Y、Z モーションは、加速度計をシミュレートするためにすべてのランダムに生成される順序です。
+
+### iOS の癖
+
+  * iOS は、任意の時点で現在の加速度を得ることの概念を認識しません。
+
+  * 加速度を見るし、データをキャプチャする必要があります指定した時間間隔で。
+
+  * したがって、 `getCurrentAcceleration` 関数から報告された最後の値が生成されます、 `watchAccelerometer` を呼び出します。
+
+## navigator.accelerometer.watchAcceleration
+
+たびに `accelerometerSuccess` コールバック関数を実行する定期的な間隔で、デバイスの現在の `Acceleration` を取得します。 `acceleratorOptions` オブジェクトの `frquency` パラメーターを介してミリ秒単位で間隔を指定します。
+
+返される時計 ID、加速度計腕時計間隔を参照し、加速度計を見て停止する `navigator.accelerometer.clearWatch` を使用することができます。
+
+    var watchID = navigator.accelerometer.watchAcceleration(accelerometerSuccess,
+                                                           accelerometerError,
+                                                           accelerometerOptions);
+    
+
+  * **accelerometerOptions**: 次のオプションのキーを持つオブジェクト: 
+      * **期間**: ミリ秒単位での加速度データと accelerometerSuccess への呼び出しの要求された期間。*(数)*(デフォルト: 10000)
+
+### 例
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    var options = { frequency: 3000 };  // Update every 3 seconds
+    
+    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+    
+
+### iOS の癖
+
+API は、要求された間隔で、成功コールバック関数を呼び出しますが 40 ms の間デバイスへの要求の範囲を制限し、1000 ミリ秒になります。 たとえば、(ms) 3 秒の間隔を要求した場合、API 1 秒ごとに、デバイスからデータを要求がのみ成功コールバック 3 秒ごとを実行します。
+
+## navigator.accelerometer.clearWatch
+
+`watchID` パラメーターによって参照される `加速` を見て停止します。
+
+    navigator.accelerometer.clearWatch(watchID);
+    
+
+  * **watchID**: によって返される ID`navigator.accelerometer.watchAcceleration`.
+
+### 例
+
+    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+    
+    // ... later on ...
+    
+    navigator.accelerometer.clearWatch(watchID);
+    
+
+## 加速
+
+特定の時点でキャプチャした `Accelerometer` データが含まれています。 加速度値のとおり重力の効果 (9.81 m/s ^2) デバイスにあるフラットと *x* *y*、直面していると返された *z* 値は `` ``、および `9.81` をする必要がありますように、.
+
+### プロパティ
+
+  * **x**: x 軸の加速度の量です。(m/s ^2)*(数)*
+  * **y**: y 軸の加速度の量です。(m/s ^2)*(数)*
+  * **z**: z 軸の加速度の量です。(m/s ^2)*(数)*
+  * **タイムスタンプ**: 作成時のタイムスタンプ (ミリ秒単位)。*(,)*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/d0607c0c/doc/ko/README.md
----------------------------------------------------------------------
diff --git a/doc/ko/README.md b/doc/ko/README.md
new file mode 100644
index 0000000..a62c7ea
--- /dev/null
+++ b/doc/ko/README.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.
+-->
+
+# cordova-plugin-device-motion
+
+[![Build Status](https://travis-ci.org/apache/cordova-plugin-device-motion.svg)](https://travis-ci.org/apache/cordova-plugin-device-motion)
+
+이 플러그인 장치의 속도계에 대 한 액세스를 제공합니다. 가 속도계 3 차원 *x*, *y*및 *z* 축 따라 현재 장치 방향 기준으로 이동 (*델타*) 변경 내용을 감지 하는 모션 센서입니다.
+
+글로벌 `navigator.accelerometer` 개체를 통해 액세스가입니다.
+
+개체 `navigator` 글로벌 범위 첨부 아니에요 때까지 사용할 수 있는 `deviceready` 이벤트 후.
+
+    document.addEventListener("deviceready", onDeviceReady, false);
+    function onDeviceReady() {
+        console.log(navigator.accelerometer);
+    }
+    
+
+## 설치
+
+    cordova plugin add cordova-plugin-device-motion
+    
+
+## 지원 되는 플랫폼
+
+  * 아마존 화재 운영 체제
+  * 안 드 로이드
+  * 블랙베리 10
+  * 브라우저
+  * Firefox 운영 체제
+  * iOS
+  * Tizen
+  * Windows Phone 8
+  * 윈도우
+
+## 메서드
+
+  * navigator.accelerometer.getCurrentAcceleration
+  * navigator.accelerometer.watchAcceleration
+  * navigator.accelerometer.clearWatch
+
+## 개체
+
+  * 가속
+
+## navigator.accelerometer.getCurrentAcceleration
+
+*X*, *y* 및 *z* 축 따라 현재 가속도 얻을.
+
+이 가속도 값이 `accelerometerSuccess` 콜백 함수에 반환 됩니다.
+
+    navigator.accelerometer.getCurrentAcceleration(accelerometerSuccess, accelerometerError);
+    
+
+### 예를 들어
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    navigator.accelerometer.getCurrentAcceleration(onSuccess, onError);
+    
+
+### 브라우저 만지면
+
+X, Y 값 Z 모션은가 속도계 시뮬레이션 모든에 임의로 생성 된 순서입니다.
+
+### iOS 단점
+
+  * iOS는 어떤 주어진된 시점에서 현재 가속도의 개념을 인식 하지 못합니다.
+
+  * 가속을 감시 하며 데이터 캡처에 주어진 시간 간격.
+
+  * 따라서,는 `getCurrentAcceleration` 에서 보고 된 마지막 값을 생성 하는 함수는 `watchAccelerometer` 전화.
+
+## navigator.accelerometer.watchAcceleration
+
+때마다 `accelerometerSuccess` 콜백 함수를 실행 정기적 소자의 현재 `Acceleration`을 검색 합니다. `acceleratorOptions` 개체의 `frequency` 매개 변수를 통해 밀리초 단위로 간격을 지정 합니다.
+
+반환 된 시계 ID가 속도계의 시계 간격을 참조 하 고가 속도계를 보는 중지 하 `navigator.accelerometer.clearWatch`와 함께 사용할 수 있습니다.
+
+    var watchID = navigator.accelerometer.watchAcceleration(accelerometerSuccess,
+                                                           accelerometerError,
+                                                           accelerometerOptions);
+    
+
+  * **accelerometerOptions**: 다음 선택적 키 개체: 
+      * **기간**: 밀리초에서 가속 데이터와 accelerometerSuccess에 대 한 호출의 요청된 기간. *(수)* (기본: 10000)
+
+### 예를 들어
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    var options = { frequency: 3000 };  // Update every 3 seconds
+    
+    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+    
+
+### iOS 단점
+
+API 요청 간격 성공 콜백 함수를 호출 하지만 40ms 사이 장치에 요청의 범위를 제한 하 고 1000ms. 예를 들어 (3000ms) 3 초의 간격을 요청 하는 경우 API 마다 1 초 장치에서 데이터를 요청 하지만 성공 콜백을 3 초 마다 실행 됩니다.
+
+## navigator.accelerometer.clearWatch
+
+`watchID` 매개 변수에서 참조 `가속도` 보고 중지 합니다.
+
+    navigator.accelerometer.clearWatch(watchID);
+    
+
+  * **watchID**: ID 반환`navigator.accelerometer.watchAcceleration`.
+
+### 예를 들어
+
+    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+    
+    // ... later on ...
+    
+    navigator.accelerometer.clearWatch(watchID);
+    
+
+## 가속
+
+특정 시점에 캡처된 `Accelerometer` 데이터를 포함 합니다. 가속도 값 포함 중력의 효과 (9.81 m/s ^2) 때 장치 거짓말 평평 하 고 *x*, *y*, 최대 직면 하 고 반환 하는 *z* 값 ``, `` 및 `9.81` 이어야 한다,.
+
+### 속성
+
+  * **x**: x 축에 가속의 금액. (m/s에서 ^2) *(수)*
+  * **y**: y 축에 가속의 금액. (m/s에서 ^2) *(수)*
+  * **z**: z 축의 가속도의 금액. (m/s에서 ^2) *(수)*
+  * **타임 스탬프**: 생성 타임 스탬프 (밀리초)입니다. *(DOMTimeStamp)*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/d0607c0c/doc/pl/README.md
----------------------------------------------------------------------
diff --git a/doc/pl/README.md b/doc/pl/README.md
new file mode 100644
index 0000000..d2c6758
--- /dev/null
+++ b/doc/pl/README.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.
+-->
+
+# cordova-plugin-device-motion
+
+[![Build Status](https://travis-ci.org/apache/cordova-plugin-device-motion.svg)](https://travis-ci.org/apache/cordova-plugin-device-motion)
+
+Ten plugin umożliwia dostęp do akcelerometru. Akcelerometr jest czujnikiem ruchu, który wykrywa zmiany (*delta*) w ruchu względem bieżącej orientacji urządzenia, w trzech wymiarach na osi *x*, *y*i *z* .
+
+Dostęp odbywa się za pomocą obiektu globalnego `navigator.accelerometer`.
+
+Mimo, że obiekt jest dołączony do globalnego zakresu `navigator`, to nie dostępne dopiero po zdarzeniu `deviceready`.
+
+    document.addEventListener("deviceready", onDeviceReady, false);
+    function onDeviceReady() {
+        console.log(navigator.accelerometer);
+    }
+    
+
+## Instalacja
+
+    cordova plugin add cordova-plugin-device-motion
+    
+
+## Obsługiwane platformy
+
+  * Amazon Fire OS
+  * Android
+  * BlackBerry 10
+  * Przeglądarka
+  * Firefox OS
+  * iOS
+  * Tizen
+  * Windows Phone 8
+  * Windows
+
+## Metody
+
+  * navigator.accelerometer.getCurrentAcceleration
+  * navigator.accelerometer.watchAcceleration
+  * navigator.accelerometer.clearWatch
+
+## Obiekty
+
+  * Acceleration
+
+## navigator.accelerometer.getCurrentAcceleration
+
+Uzyskać aktualne przyspieszenie wzdłuż osi *x*, *y* i *z*.
+
+Te wartości przyspieszenia są zwracane do funkcji wywołania zwrotnego `accelerometerSuccess`.
+
+    navigator.accelerometer.getCurrentAcceleration(accelerometerSuccess, accelerometerError);
+    
+
+### Przykład
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    navigator.accelerometer.getCurrentAcceleration(onSuccess, onError);
+    
+
+### Quirks przeglądarki
+
+Wartości dla osi X, Y, Z ruchu są losowo generowane w celu symulacji akcelerometr.
+
+### Dziwactwa iOS
+
+  * W iOS nie wprowadzono możliwości zmierzenia aktualnego przyspieszenia w dowolnym punkcie.
+
+  * Musisz obserwować przyspieszenie i odbierać wyniki w określonych odstępach czasu.
+
+  * Podsumowując, funkcja `getCurrentAcceleration` zwraca ostatnią wartość zgłoszoną przez wywołanie `watchAccelerometer`.
+
+## navigator.accelerometer.watchAcceleration
+
+Pobiera bieżącego urządzenia `Acceleration` w regularnych odstępach czasu, wykonywanie funkcji wywołania zwrotnego `accelerometerSuccess` każdorazowe. Określ interwał w milisekundach przez parametr obiektu `acceleratorOptions` `frequency`.
+
+Identyfikator zwrócony zegarek odwołuje akcelerometr zegarek interwał i może być używany z `navigator.accelerometer.clearWatch`, aby zatrzymać obejrzeniu akcelerometru.
+
+    var watchID = navigator.accelerometer.watchAcceleration(accelerometerSuccess,
+                                                           accelerometerError,
+                                                           accelerometerOptions);
+    
+
+  * **accelerometerOptions**: Obiekt z następującymi opcjonalnymi kluczami: 
+      * **okres**: żądany okres wzywa do accelerometerSuccess z danych przyspieszenia w milisekundach. *(Liczba)* (Domyślnie: 10000)
+
+### Przykład
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    var options = { frequency: 3000 };  // Update every 3 seconds
+    
+    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+    
+
+### Dziwactwa iOS
+
+Interfejs API wymaga sukcesu funkcji wywołania zwrotnego w interwał żądana, ale ogranicza zakres żądania do urządzenia między 40ms i 1000ms. Na przykład jeśli poprosisz o odstępie 3 sekundy (3000ms), interfejs API żądania danych z urządzenia co 1 sekundę, ale tylko wykonuje wywołanie zwrotne sukces co 3 sekundy.
+
+## navigator.accelerometer.clearWatch
+
+Przestać oglądać `Acceleration` określany przez parametr `watchID`.
+
+    navigator.accelerometer.clearWatch(watchID);
+    
+
+  * **watchID**: Identyfikator zwrócony przez `navigator.accelerometer.watchAcceleration`.
+
+### Przykład
+
+    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+    
+    // ... later on ...
+    
+    navigator.accelerometer.clearWatch(watchID);
+    
+
+## Acceleration
+
+Zawiera `Accelerometer` dane przechwycone w określonym czasie. Wartości przyśpieszenia to efekt grawitacji (9.81 m/s ^ 2), tak, że kiedy urządzenie znajduje się płaska i górę, *x*, *y*, i *z* wartości zwracane powinno być ``, `` i `9.81`.
+
+### Właściwości
+
+  * **x**: Wartość przyśpieszenia na osi x. (w m/s^2) *(Liczba)*
+  * **y**: Wartość przyśpieszenia na osi y. (w m/s^2) *(Liczba)*
+  * **z**: Wartość przyśpieszenia na osi z. (w m/s^2) *(Liczba)*
+  * **timestamp**: Znacznik czasu w milisekundach. *(DOMTimeStamp)*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/d0607c0c/doc/zh/README.md
----------------------------------------------------------------------
diff --git a/doc/zh/README.md b/doc/zh/README.md
new file mode 100644
index 0000000..766e4de
--- /dev/null
+++ b/doc/zh/README.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.
+-->
+
+# cordova-plugin-device-motion
+
+[![Build Status](https://travis-ci.org/apache/cordova-plugin-device-motion.svg)](https://travis-ci.org/apache/cordova-plugin-device-motion)
+
+這個外掛程式提供了對設備的加速度計的訪問。 加速度計是動作感應器檢測到的更改 (*三角洲*) 在相對於當前的設備方向,在三個維度沿*x*、 *y*和*z*軸運動。
+
+訪問是通過一個全球 `navigator.accelerometer` 物件。
+
+雖然該物件附加到全球範圍內 `導航器`,它不可用直到 `deviceready` 事件之後。
+
+    document.addEventListener("deviceready", onDeviceReady, false);
+    function onDeviceReady() {
+        console.log(navigator.accelerometer);
+    }
+    
+
+## 安裝
+
+    cordova plugin add cordova-plugin-device-motion
+    
+
+## 支援的平臺
+
+  * 亞馬遜火 OS
+  * Android 系統
+  * 黑莓 10
+  * 瀏覽器
+  * 火狐瀏覽器作業系統
+  * iOS
+  * Tizen
+  * Windows Phone 8
+  * Windows
+
+## 方法
+
+  * navigator.accelerometer.getCurrentAcceleration
+  * navigator.accelerometer.watchAcceleration
+  * navigator.accelerometer.clearWatch
+
+## 物件
+
+  * 加速度
+
+## navigator.accelerometer.getCurrentAcceleration
+
+得到當前加速度沿 *x*、 *y* 和 *z* 軸。
+
+這些加速度值將返回到 `accelerometerSuccess` 回呼函數。
+
+    navigator.accelerometer.getCurrentAcceleration(accelerometerSuccess, accelerometerError);
+    
+
+### 示例
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    navigator.accelerometer.getCurrentAcceleration(onSuccess, onError);
+    
+
+### 瀏覽器的怪癖
+
+值 X、 Y、 Z 議案是所有中隨機生成的訂單來類比加速度感應器。
+
+### iOS 的怪癖
+
+  * iOS 不會認識到在任何給定的點獲取當前加速度的概念。
+
+  * 你必須看加速和捕獲的資料在特定的時間間隔。
+
+  * 因此, `getCurrentAcceleration` 收益率從報告的最後一個值的函數 `watchAccelerometer` 調用。
+
+## navigator.accelerometer.watchAcceleration
+
+在週期性時間間隔,執行 `accelerometerSuccess` 回呼函數每次檢索設備的當前 `Accelerometer`。 指定的間隔,以毫秒為單位通過 `acceleratorOptions` 物件的 `frequency` 參數。
+
+返回的表 ID 引用加速度計的手錶時間間隔,並且可以與 `navigator.accelerometer.clearWatch` 用來停止觀看了加速度計。
+
+    var watchID = navigator.accelerometer.watchAcceleration(accelerometerSuccess,
+                                                           accelerometerError,
+                                                           accelerometerOptions);
+    
+
+  * **accelerometerOptions**: 具有以下可選的鍵的物件: 
+      * **期間**: 請求的期間的調用的 accelerometerSuccess 與加速度資料以毫秒為單位。*(人數)*(預設值: 10000)
+
+### 示例
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    var options = { frequency: 3000 };  // Update every 3 seconds
+    
+    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+    
+
+### iOS 的怪癖
+
+API 呼叫成功的回呼函數在時間間隔的要求,但將請求的範圍限制為 40ms年之間裝置和 1000ms。 例如,如果您請求的時間間隔為 3 秒,(3000ms),API 請求資料從設備每隔 1 秒,但只是執行成功回檔每 3 秒。
+
+## navigator.accelerometer.clearWatch
+
+別看 `watchID` 參數所引用的 `Accelerometer`。
+
+    navigator.accelerometer.clearWatch(watchID);
+    
+
+  * **watchID**: 由返回的 ID`navigator.accelerometer.watchAcceleration`.
+
+### 示例
+
+    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+    
+    // ... later on ...
+    
+    navigator.accelerometer.clearWatch(watchID);
+    
+
+## 加速度
+
+包含在時間中捕獲的特定點的 `Accekerometer` 資料。 加速度值包括重力的作用 (9.81 m/s ^2),這樣當設備在於扁和朝上,*x*,*y*,*z* 返回的值應該是 ``、 `` 度和 `9.81`.
+
+### 屬性
+
+  * **x**: 在 X 軸上的加速度量。(在 m/s ^2)*(人數)*
+  * **y**: 在 y 軸上的加速度量。(在 m/s ^2)*(人數)*
+  * **z**: 在 Z 軸上的加速度量。(在 m/s ^2)*(人數)*
+  * **timestamp**: 創建時間戳記以毫秒為單位。*() DOMTimeStamp*
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message