Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E51D18C9F for ; Thu, 23 Jul 2015 22:20:11 +0000 (UTC) Received: (qmail 35778 invoked by uid 500); 23 Jul 2015 22:20:07 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 35721 invoked by uid 500); 23 Jul 2015 22:20:07 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 34357 invoked by uid 99); 23 Jul 2015 22:20:06 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2015 22:20:06 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 77A45E6810; Thu, 23 Jul 2015 22:20:06 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: dblotsky@apache.org To: commits@cordova.apache.org Date: Thu, 23 Jul 2015 22:20:54 -0000 Message-Id: <09c36f2d622843cd91828a03a83c100f@git.apache.org> In-Reply-To: <77e03c3543824ad08ea8ea0872583c4d@git.apache.org> References: <77e03c3543824ad08ea8ea0872583c4d@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [50/75] [partial] docs commit: Moved docs to www/docs. http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/config.json ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/config.json b/docs/de/3.1.0/config.json deleted file mode 100644 index c568379..0000000 --- a/docs/de/3.1.0/config.json +++ /dev/null @@ -1,200 +0,0 @@ -{ - "language": "German", - "merge": { - "accelerometer.md": [ - "cordova/accelerometer/accelerometer.md", - "cordova/accelerometer/accelerometer.getCurrentAcceleration.md", - "cordova/accelerometer/accelerometer.watchAcceleration.md", - "cordova/accelerometer/accelerometer.clearWatch.md", - "cordova/accelerometer/acceleration/acceleration.md", - "cordova/accelerometer/parameters/accelerometerSuccess.md", - "cordova/accelerometer/parameters/accelerometerError.md", - "cordova/accelerometer/parameters/accelerometerOptions.md" - ], - "camera.md": [ - "cordova/camera/camera.md", - "cordova/camera/camera.getPicture.md", - "cordova/camera/parameter/cameraSuccess.md", - "cordova/camera/parameter/cameraError.md", - "cordova/camera/parameter/cameraOptions.md", - "cordova/camera/parameter/CameraPopoverOptions.md", - "cordova/camera/parameter/CameraPopoverHandle.md" - ], - "capture.md": [ - "cordova/media/capture/capture.md", - "cordova/media/capture/captureAudio.md", - "cordova/media/capture/captureAudioOptions.md", - "cordova/media/capture/captureImage.md", - "cordova/media/capture/captureImageOptions.md", - "cordova/media/capture/captureVideo.md", - "cordova/media/capture/captureVideoOptions.md", - "cordova/media/capture/CaptureError.md", - "cordova/media/capture/CaptureCB.md", - "cordova/media/capture/CaptureErrorCB.md", - "cordova/media/capture/ConfigurationData.md", - "cordova/media/capture/MediaFile.md", - "cordova/media/capture/MediaFile.getFormatData.md", - "cordova/media/capture/MediaFileData.md" - ], - "compass.md": [ - "cordova/compass/compass.md", - "cordova/compass/compass.getCurrentHeading.md", - "cordova/compass/compass.watchHeading.md", - "cordova/compass/compass.clearWatch.md", - "cordova/compass/compass.watchHeadingFilter.md", - "cordova/compass/compass.clearWatchFilter.md", - "cordova/compass/parameters/compassSuccess.md", - "cordova/compass/parameters/compassError.md", - "cordova/compass/parameters/compassOptions.md", - "cordova/compass/parameters/compassHeading.md", - "cordova/compass/compassError/compassError.md" - ], - "contacts.md": [ - "cordova/contacts/contacts.md", - "cordova/contacts/contacts.create.md", - "cordova/contacts/contacts.find.md", - "cordova/contacts/Contact/contact.md", - "cordova/contacts/ContactAddress/contactaddress.md", - "cordova/contacts/ContactField/contactfield.md", - "cordova/contacts/ContactFindOptions/contactfindoptions.md", - "cordova/contacts/ContactName/contactname.md", - "cordova/contacts/ContactOrganization/contactorganization.md", - "cordova/contacts/ContactError/contactError.md", - "cordova/contacts/parameters/contactSuccess.md", - "cordova/contacts/parameters/contactError.md", - "cordova/contacts/parameters/contactFields.md", - "cordova/contacts/parameters/contactFindOptions.md" - ], - "device.md": [ - "cordova/device/device.md", - "cordova/device/device.name.md", - "cordova/device/device.cordova.md", - "cordova/device/device.platform.md", - "cordova/device/device.uuid.md", - "cordova/device/device.version.md" - ], - "events.md": [ - "cordova/events/events.md", - "cordova/events/events.deviceready.md", - "cordova/events/events.pause.md", - "cordova/events/events.resume.md", - "cordova/events/events.online.md", - "cordova/events/events.offline.md", - "cordova/events/events.backbutton.md", - "cordova/events/events.batterycritical.md", - "cordova/events/events.batterylow.md", - "cordova/events/events.batterystatus.md", - "cordova/events/events.menubutton.md", - "cordova/events/events.searchbutton.md", - "cordova/events/events.startcallbutton.md", - "cordova/events/events.endcallbutton.md", - "cordova/events/events.volumedownbutton.md", - "cordova/events/events.volumeupbutton.md" - ], - "file.md": [ - "cordova/file/file.md", - "cordova/file/fileobj/fileobj.md", - "cordova/file/filereader/filereader.md", - "cordova/file/filewriter/filewriter.md", - "cordova/file/filesystem/filesystem.md", - "cordova/file/fileentry/fileentry.md", - "cordova/file/directoryentry/directoryentry.md", - "cordova/file/directoryreader/directoryreader.md", - "cordova/file/filetransfer/filetransfer.md", - "cordova/file/fileuploadoptions/fileuploadoptions.md", - "cordova/file/fileuploadresult/fileuploadresult.md", - "cordova/file/flags/flags.md", - "cordova/file/localfilesystem/localfilesystem.md", - "cordova/file/metadata/metadata.md", - "cordova/file/fileerror/fileerror.md", - "cordova/file/filetransfererror/filetransfererror.md" - ], - "geolocation.md": [ - "cordova/geolocation/geolocation.md", - "cordova/geolocation/geolocation.getCurrentPosition.md", - "cordova/geolocation/geolocation.watchPosition.md", - "cordova/geolocation/geolocation.clearWatch.md", - "cordova/geolocation/Coordinates/coordinates.md", - "cordova/geolocation/Position/position.md", - "cordova/geolocation/PositionError/positionError.md", - "cordova/geolocation/parameters/geolocationSuccess.md", - "cordova/geolocation/parameters/geolocationError.md", - "cordova/geolocation/parameters/geolocation.options.md" - ], - "globalization.md": [ - "cordova/globalization/globalization.md", - "cordova/globalization/globalization.getPreferredLanguage.md", - "cordova/globalization/globalization.getLocaleName.md", - "cordova/globalization/globalization.dateToString.md", - "cordova/globalization/globalization.stringToDate.md", - "cordova/globalization/globalization.getDatePattern.md", - "cordova/globalization/globalization.getDateNames.md", - "cordova/globalization/globalization.isDayLightSavingsTime.md", - "cordova/globalization/globalization.getFirstDayOfWeek.md", - "cordova/globalization/globalization.numberToString.md", - "cordova/globalization/globalization.stringToNumber.md", - "cordova/globalization/globalization.getNumberPattern.md", - "cordova/globalization/globalization.getCurrencyPattern.md", - "cordova/globalization/GlobalizationError/globalizationerror.md" - ], - "media.md": [ - "cordova/media/media.md", - "cordova/media/media.getCurrentPosition.md", - "cordova/media/media.getDuration.md", - "cordova/media/media.pause.md", - "cordova/media/media.play.md", - "cordova/media/media.release.md", - "cordova/media/media.seekTo.md", - "cordova/media/media.setVolume.md", - "cordova/media/media.startRecord.md", - "cordova/media/media.stop.md", - "cordova/media/media.stopRecord.md", - "cordova/media/MediaError/mediaError.md", - "cordova/media/Parameters/mediaError.md" - ], - "network.md": [ - "cordova/network/network.md", - "cordova/network/network.isReachable.md", - "cordova/network/NetworkStatus/NetworkStatus.md", - "cordova/network/parameters/reachableCallback.md", - "cordova/network/parameters/reachableHostname.md", - "cordova/network/parameters/reachableOptions.md" - ], - "connection.md": [ - "cordova/connection/connection.md", - "cordova/connection/connection.type.md" - ], - "notification.md": [ - "cordova/notification/notification.md", - "cordova/notification/notification.alert.md", - "cordova/notification/notification.confirm.md", - "cordova/notification/notification.prompt.md", - "cordova/notification/notification.beep.md", - "cordova/notification/notification.vibrate.md" - ], - "splashscreen.md": [ - "cordova/splashscreen/splashscreen.md", - "cordova/splashscreen/splashscreen.show.md", - "cordova/splashscreen/splashscreen.hide.md" - ], - "storage.md": [ - "cordova/storage/storage.md", - "cordova/storage/storage.opendatabase.md", - "cordova/storage/parameters/name.md", - "cordova/storage/parameters/version.md", - "cordova/storage/parameters/display_name.md", - "cordova/storage/parameters/size.md", - "cordova/storage/database/database.md", - "cordova/storage/sqltransaction/sqltransaction.md", - "cordova/storage/sqlresultset/sqlresultset.md", - "cordova/storage/sqlresultsetrowlist/sqlresultsetrowlist.md", - "cordova/storage/sqlerror/sqlerror.md", - "cordova/storage/localstorage/localstorage.md" - ], - "inappbrowser.md": [ - "cordova/inappbrowser/inappbrowser.md", - "cordova/inappbrowser/window.open.md" - ] - - } -} http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/config_ref/images.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/config_ref/images.md b/docs/de/3.1.0/config_ref/images.md deleted file mode 100644 index b36e865..0000000 --- a/docs/de/3.1.0/config_ref/images.md +++ /dev/null @@ -1,134 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. Finden Sie verteilte mit dieser Arbeit für weitere Informationen bezüglich Urheberrecht und Datenschutz-Datei. Die ASF-Lizenzen-diese Datei, um Sie unter der Apache License, Version 2.0 (die "Lizenz"); Sie können diese Datei nur in Übereinstimmung mit der Lizenz. 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. ---- - -# Symbole und Splash-Screens - -In diesem Abschnitt veranschaulicht, wie einer app-Symbol und optionale Splash-Screen für verschiedene Plattformen, sowohl bei der Arbeit in Cordova CLI (beschrieben in The Command-Line Interface) konfigurieren oder mit plattformspezifischen SDK-Tools (ausführlich in den Plattform-Führern). - -## Symbole in der CLI konfigurieren - -Bei der Arbeit im CLI Icon-Quellcode-Dateien liegen in verschiedenen plattformspezifischen Unterverzeichnissen im Rahmen des Projektes `www/res/icons` Verzeichnis. Neu erstellte Projekte verfügen über einen Standardsatz von Cordova Symbole für Sie für die Plattformen ersetzen möchten Sie als Ziel. - -Android gibt Symbole für niedrige, mittlere, hohe und besonders hoher Auflösungen: - - android/icon-36-ldpi.png - android/icon-48-mdpi.png - android/icon-72-hdpi.png - android/icon-96-xhdpi.png - - -Die iOS-Plattform gibt 72 Pixel-quadratischen Icons für iPads und 57 Pixel Icons für iPhones und iPods, mit hochauflösenden *2 X* Varianten für Netzhaut zeigt: - - ios/icon-57-2x.png - ios/icon-57.png - ios/icon-72-2x.png - ios/icon-72.png - - -Windows Phone gibt ein Standardsymbol 48 Pixel, zusammen mit verschiedenen Geräten Hintergrund Fliesen Bilder beim Anwendungen darstellen: - - windows-phone/icon-48.png - windows-phone/icon-62-tile.png - windows-phone/icon-173-tile.png - - -BlackBerry erfordert ein 80-Pixel-Symbol: - - blackberry/icon-80.png - - -Tizen erfordert ein 128 Pixeln-Symbol: - - tizen/icon-128.png - - -## Splash-Screens in der CLI konfigurieren - -Verwenden Sie die Splashscreen-API, um die Anzeige von einer app einleitende Begrüßungsbildschirm auf vielen Plattformen ermöglichen. Bei der Arbeit im CLI Splash-Bildschirm-Quelldateien befinden sich im Rahmen des Projektes `www/res/screens` Unterverzeichnis. - -Android gibt sowohl Hochformat und Querformat Splash-Bildschirm-Images für niedrige, mittlere, hohe und besonders hoher Auflösungen: - - android/screen-hdpi-landscape.png - android/screen-hdpi-portrait.png - android/screen-ldpi-landscape.png - android/screen-ldpi-portrait.png - android/screen-mdpi-landscape.png - android/screen-mdpi-portrait.png - android/screen-xhdpi-landscape.png - android/screen-xhdpi-portrait.png - - -Die iOS-Plattform gibt Varianten für iPhone/iPod und iPad, mit Varianten für Retina-Displays und verschiedenen Ausrichtungen. Die *568 h* -Datei ist für das iPhone 5 größer Bildschirm angepasst: - - ios/screen-ipad-landscape-2x.png - ios/screen-ipad-landscape.png - ios/screen-ipad-portrait-2x.png - ios/screen-ipad-portrait.png - ios/screen-iphone-landscape-2x.png - ios/screen-iphone-landscape.png - ios/screen-iphone-portrait-2x.png - ios/screen-iphone-portrait.png - ios/screen-iphone-portrait-568h-2x.png - - -BlackBerry und Windows Phone geben Sie ein einzelnes Splash-Bildschirm-Image: - - blackberry/screen-225.png - windows-phone/screen-portrait.jpg - - -In den folgenden Abschnitten ausführlich auf Splash-Screens einrichten, beim Arbeiten mit SDKs und verwandte Befehlszeilentools in Plattform Leitfäden beschrieben. - -## Splash-Screens für die Android-Plattform - -Platz [9-Patch][1] Bilddateien im Android-Projekt `res/drawable` Verzeichnis. Für jeden sollte sein: - - [1]: https://developer.android.com/tools/help/draw9patch.html - -* XLarge (Xhdpi): mindestens 960 × 720 -* große (Hdpi): mindestens 640 × 480 -* Medium (Mdpi): mindestens 470 × 320 -* klein (Ldpi): mindestens 426 × 320 - -In `config.xml` , fügen Sie die folgenden Einstellungen: - - - - - -Die erste Zeile legt das Bild fest als den Begrüßungsbildschirm anzuzeigen. Wenn Sie Ihr Bild alles andere als nennen, `splash.png` , müssen Sie diese Zeile ändern. - -Der zweiten Zeile wird die Verzögerung der Splashscreen in Millisekunden wie lange angezeigt wird. Um den Begrüßungsbildschirm zu entlassen, sobald die app erhält der `deviceready` Veranstaltung, Aufruf der `navigator.splashscreen.hide()` Methode. - -## Splash-Screens für die iOS-Plattform - -Kopieren Sie Ihre Bildschirm-Splash-Images in des iOS-Projekts `Resources/splash` Verzeichnis. Fügen Sie nur die Bilder für die Geräte, wie iPad oder iPhone unterstützen möchten. Die Größe der einzelnen Bilder sollten sein: - -* Default-568h@2x~iphone.png (640x1136 pixels) -* Default-Landscape@2x~ipad.png (2048 x 1496 Pixel) -* Default-Landscape~ipad.png (1024x748 pixels) -* Default-Portrait@2x~ipad.png (1536x2008 pixels) -* Default-Portrait~ipad.png (768x1004 pixels) -* Default@2x~iphone.png (640x960 pixels) -* Default~iphone.png (320x480 pixels) - -## Splash-Screens für die BlackBerry 10-Plattform - -Kopieren Sie Ihre Bildschirm-Splash-Images in des Projekts `res/screen/blackberry10` Verzeichnis. Die Dateinamen sollten sein: - -* splash-1280x768.png (1280x768 pixels) -* splash-720x720.png (720x720 pixels) -* splash-768x1280.png (768x1280 pixels) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/config_ref/index.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/config_ref/index.md b/docs/de/3.1.0/config_ref/index.md deleted file mode 100644 index 8b0fda7..0000000 --- a/docs/de/3.1.0/config_ref/index.md +++ /dev/null @@ -1,132 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# Die Datei config.xml - -Zahlreiche Aspekte des Verhaltens einer app können mit einer globalen Konfigurationsdatei `config.xml` gesteuert werden, welche sich in der obersten Ebene des Web Asset Verzeichnisses zusammen mit der app-Homepage befindet. Diese plattformunabhängig XML-Datei wird basierend auf der W3C [Verpackt von Web-Anwendungen (Widgets)][1] Spezifikation formatiert, und erweitert, um die Kern-Cordova-API-Funktionen, Plugins und Plattform-spezifischen Einstellungen angeben. - - [1]: http://www.w3.org/TR/widgets/ - -Für Projekte, die mit dem Cordova-CLI (beschrieben in Die Kommandozeilen-Schnittstelle) erstellt wurden, finden Sie diese Datei im `www` Verzeichnis der obersten Ebene. Mit dem CLI zum Erstellen eines Projekts regeneriert Versionen dieser Datei in verschiedenen Unterverzeichnissen innerhalb `platforms` . Wenn Sie die CLI zum Erstellen eines Projekts, aber dann verlagern Ihren Workflow auf ein SDK verwenden, dient die Plattform-spezifische Datei als Quelle. - -Dieser Abschnitt beschreibt globale und Cross-Plattform-Konfigurationsoptionen. Finden Sie in den folgenden Abschnitten für Plattform-spezifische Optionen: - -* iOS Konfiguration -* Android Konfiguration -* BlackBerry Konfiguration - -Neben der verschiedenen Konfigurationsoptionen unten können Sie auch eine Anwendung Kernsatz von Bildern für jede Zielplattform konfigurieren. Weitere Informationen finden Sie unter Symbole und Splash-Screens. - -## Kern-Konfigurationselemente - -In diesem Beispiel wird den Standardwert `config.xml` erzeugt durch der CLI `create` Befehl, beschrieben in der Command-Line Interface: - - - HelloWorld - - A sample Apache Cordova application that responds to the deviceready event. - - - Apache Cordova Team - - - - - - - - - - -Die folgenden Konfigurationselemente in der obersten Ebene angezeigt `config.xml` Datei und werden auf allen unterstützten Cordova-Plattformen unterstützt: - -* Die `` des Elements `id` Attribut bietet die app-Reverse-Domänen-ID, und der `version` seine vollständige Versionsnummer in Major/Minor/Patch-Notation ausgedrückt. - -* Die `` Element gibt die app formalen Namen, wie er auf home-Bildschirm des Geräts und im app-Store-Schnittstellen erscheint. - -* Die `` und `` Elemente geben, Metadaten und Kontaktinformationen, die im app-Shop-Angebote angezeigt werden kann. - -* Der optionale `` -Element definiert die Anwendung Startseite in der obersten Ebene Webverzeichnis Vermögenswerte. Der Standardwert ist `index.html` , die üblicherweise in einem Projekt angezeigt wird, ist der obersten Ebene `www` Verzeichnis. - -* ``Elemente definieren den Satz der externen Domänen, die, denen die app erlaubt ist, zu kommunizieren. Der Standardwert, der oben gezeigten ermöglicht es, jeden beliebigen Server zugreifen. Finden Sie im Domain-Whitelist-Guide für Details. - -* Die `` Tag stellt verschiedene Optionen als Paare von `name` / `value` Attribute. Jede Vorliebe `name` ist case-insensitive. Viele Einstellungen sind nur für bestimmte Plattformen, wie oben auf dieser Seite aufgeführt. In den folgenden Abschnitten beschreiben die Einstellungen, die für mehrere Plattformen gelten. - -## Globale Voreinstellungen - -Die folgenden globalen Einstellungen gelten für alle Plattformen: - -* `Fullscreen`können Sie die Statusleiste am oberen Bildschirmrand ausblenden. Der Standardwert ist `false` . Beispiel: - - - - -* `Orientation`können Sie den lock Orientierung und verhindert, dass die Schnittstelle rotierend in Reaktion auf Änderungen in der Ausrichtung. Mögliche Werte sind `default` , `landscape` , oder `portrait` . Beispiel: - - - - - **Hinweis:** Die `default` Wert bedeutet *sowohl* quer- und Hochformat Ausrichtungen sind aktiviert. Wenn Sie Standardeinstellungen für jede Plattform (in der Regel Porträt nur) verwenden möchten, lassen Sie dieses Tag von der `config.xml` Datei. Verwendet außerdem BlackBerry `auto` anstelle von `default` in der `config.xml` Datei. Bei Angabe von `default` in der globalen `config.xml` , es übersetzt `auto` in den BlackBerry-Build. - -## Multi-Plattform-Einstellungen - -Die folgenden Einstellungen gelten für mehrere Plattformen, jedoch nicht auf alle von ihnen: - -* `DisallowOverscroll`(Boolean, wird standardmäßig auf `false` ): Legen Sie auf `true` Wenn Sie nicht möchten, dass die Schnittstelle jedes Feedback anzeigen, wenn Benutzer die Anfang oder Ende des Inhalts einen Bildlauf durchführen. - - - - - Gilt für Android und iOS. Auf iOS, Overscroll Gesten Ursache Inhalt zurück an seine ursprüngliche Position gut zu machen. Auf Android produzieren sie ein subtiler Glüheffekt am oberen oder unteren Rand des Inhalts. - -* `BackgroundColor`: Die app-Hintergrundfarbe festgelegt. Unterstützt eine 4-Byte hex-Wert, mit dem ersten Byte, die den Alphakanal und standard-RGB-Werte für die folgenden drei Bytes. In diesem Beispiel gibt blau: - - - - - Gilt für Android und BlackBerry. Überschreibt CSS anderweitig verfügbar auf *allen* Plattformen, zum Beispiel:`body{background-color:blue}`. - -* `HideKeyboardFormAccessoryBar`(Boolean, wird standardmäßig auf `false` ): Legen Sie auf `true` die zusätzliche Symbolleiste ausblenden, die oberhalb der Tastatur, wodurch angezeigt wird Benutzer aus einem Formulareingabe zum anderen navigieren. - - - - - Gilt für iOS und BlackBerry. - - **Hinweis:** Für BlackBerry, gültige Werte sind `enable` oder`disable`. - -## Die `` Element - -Wenn Sie die CLI verwenden, um Anwendungen zu erstellen, verwenden Sie den `plugin` Befehl Gerät APIs zu aktivieren. Dies ändert jedoch nicht die Top-Level- `config.xml` Datei, so dass die `` Element gilt nicht für Ihren Workflow. Wenn Sie direkt in ein SDK arbeiten und mit der Plattform-spezifischen `config.xml` Datei als Quelle, Sie verwenden die `` Tag auf Device-Ebene APIs und externe Plugins aktivieren. Sie werden in der Regel in dieser Form: - - - - -Sie erscheinen oft mit benutzerdefinierten Werte in plattformspezifischen `config.xml` Dateien. Hier ist beispielsweise die Device-API für Android Projekte angeben: - - - - - - -Hier ist, wie das Element für iOS-Projekte wird angezeigt: - - - - - - -Finden Sie die API-Referenz für Details zu einzelnen Funktionen angeben. Finden Sie im Plugin-Entwicklung-Handbuch weitere Informationen auf Plugins. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/accelerometer/acceleration/acceleration.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/accelerometer/acceleration/acceleration.md b/docs/de/3.1.0/cordova/accelerometer/acceleration/acceleration.md deleted file mode 100644 index d9a8bf7..0000000 --- a/docs/de/3.1.0/cordova/accelerometer/acceleration/acceleration.md +++ /dev/null @@ -1,98 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# Beschleunigung - -Zu einem bestimmten Zeitpunkt erfasste `Beschleunigungsmesser`-Daten. - -## 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)* - -## Beschreibung - -Ein `Acceleration` Objekt aufgefüllt und von jeder der APIs zurückgegebene `Accelerometer` Methoden. 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 sollte `` , `` , und`9.81`. - -## Unterstützte Plattformen - -* Android -* BlackBerry WebWorks (OS 5.0 und höher) -* iOS -* Tizen -* Windows Phone 7 und 8 -* Windows 8 - -## Kleines 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); - - -## Vollständiges Beispiel - - - - - Acceleration Example - - - - - -

Example

-

getCurrentAcceleration

- - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/accelerometer/accelerometer.clearWatch.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/accelerometer/accelerometer.clearWatch.md b/docs/de/3.1.0/cordova/accelerometer/accelerometer.clearWatch.md deleted file mode 100644 index acc202f..0000000 --- a/docs/de/3.1.0/cordova/accelerometer/accelerometer.clearWatch.md +++ /dev/null @@ -1,109 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# accelerometer.clearWatch - -Beenden, beobachten die `Acceleration` verwiesen wird, durch die `watchID` Parameter. - - navigator.accelerometer.clearWatch(watchID); - - -* **WatchID**: die ID zurückgegebener`accelerometer.watchAcceleration`. - -## Unterstützte Plattformen - -* Android -* BlackBerry WebWorks (OS 5.0 und höher) -* iOS -* Tizen -* Windows Phone 7 und 8 -* Windows 8 - -## Kleines Beispiel - - var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options); - - // ... later on ... - - navigator.accelerometer.clearWatch(watchID); - - -## Vollständiges Beispiel - - - - - Acceleration Example - - - - - -
Waiting for accelerometer...
- - - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md b/docs/de/3.1.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md deleted file mode 100644 index bfeecef..0000000 --- a/docs/de/3.1.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md +++ /dev/null @@ -1,105 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# accelerometer.getCurrentAcceleration - -Erhalten Sie die aktuelle Beschleunigung entlang der *x-*, *y-*und *Z* -Achsen. - - navigator.accelerometer.getCurrentAcceleration(accelerometerSuccess, accelerometerError); - - -## Beschreibung - -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. - -Diese Beschleunigungswerte werden zurückgegeben die `accelerometerSuccess` Callback-Funktion. - -## Unterstützte Plattformen - -* Android -* BlackBerry WebWorks (OS 5.0 und höher) -* iOS -* Tizen -* Windows Phone 7 und 8 -* Windows 8 - -## Kleines 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); - - -## Vollständiges Beispiel - - - - - Acceleration Example - - - - - -

Example

-

getCurrentAcceleration

- - - - -## 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. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/accelerometer/accelerometer.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/accelerometer/accelerometer.md b/docs/de/3.1.0/cordova/accelerometer/accelerometer.md deleted file mode 100644 index f7662ef..0000000 --- a/docs/de/3.1.0/cordova/accelerometer/accelerometer.md +++ /dev/null @@ -1,86 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# Beschleunigungsmesser - -> Erfasst die Bewegung des Geräts in der *x-*, *y-* und *Z*-Richtung. - -## Methoden - -* accelerometer.getCurrentAcceleration -* accelerometer.watchAcceleration -* accelerometer.clearWatch - -## Argumente - -* accelerometerSuccess -* accelerometerError -* accelerometerOptions - -## Objekte (schreibgeschützt) - -* Beschleunigung - -## Zugriff auf die Funktion - -Ab Version 3.0 implementiert Cordova Geräteebene APIs als *Plugins*. Verwenden Sie den CLI `plugin` Befehl, welche im Command-Line Interface beschrieben ist, zum hinzufügen oder entfernen dieses Features für ein Projekt: - - $ cordova plugin add org.apache.cordova.device-motion - $ cordova plugin ls - [ 'org.apache.cordova.device-motion' ] - $ cordova plugin rm org.apache.cordova.device-motion - - -Diese Befehle gelten für alle Zielplattformen, aber die plattformspezifischen Konfigurationseinstellungen müssen, wie unten beschrieben, geändert werden: - -* Android (in`app/res/xml/config.xml`) - - - - - - -* BlackBerry WebWorks - - (in www/plugins.xml) - - - - - (in www/config.xml) - - - - -* iOS (in`config.xml`) - - - - - - -* Windows Phone (in`Properties/WPAppManifest.xml`) - - - - - - - Bezug: [Anwendungsmanifest für Windows Phone][1] - - [1]: http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx - -Einige Plattformen können dieses Feature unterstützen ohne dass eine besondere Konfiguration notwendig ist. Siehe dazu *Plattform-Unterstützung* in der Übersicht. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/accelerometer/accelerometer.watchAcceleration.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/accelerometer/accelerometer.watchAcceleration.md b/docs/de/3.1.0/cordova/accelerometer/accelerometer.watchAcceleration.md deleted file mode 100644 index 7f7f2b4..0000000 --- a/docs/de/3.1.0/cordova/accelerometer/accelerometer.watchAcceleration.md +++ /dev/null @@ -1,129 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# accelerometer.watchAcceleration - -Erhalten Sie in regelmäßigen Abständen die Beschleunigung entlang der *x-*, *y-*und *Z* -Achse. - - var watchID = navigator.accelerometer.watchAcceleration(accelerometerSuccess, - accelerometerError, - [accelerometerOptions]); - - -## Beschreibung - -Der Beschleunigungsmesser ist ein Bewegungssensor, der die Änderung (Delta) erkennt Bewegung relativ zur aktuellen Position. Der Beschleunigungssensor erkennt 3D Bewegung entlang der *x-*, *y-*und *Z* -Achse. - -Die `accelerometer.watchAcceleration` -Methode ruft das Gerät an den aktuellen `Acceleration` in regelmäßigen Abständen, Ausführung der `accelerometerSuccess` Callback-Funktion jedes Mal. Gibt das Intervall in Millisekunden über die `acceleratorOptions` des Objekts `frequency` Parameter. - -Das zurückgegebene ID Referenzen der Beschleunigungsmesser Uhr Intervall zu sehen und kann mit verwendet werden `accelerometer.clearWatch` , beobachten den Beschleunigungsmesser zu stoppen. - -## Unterstützte Plattformen - -* Android -* BlackBerry WebWorks (OS 5.0 und höher) -* iOS -* Tizen -* Windows Phone 7 und 8 -* Windows 8 - -## Kleines 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); - - -## Vollständiges Beispiel - - - - - Acceleration Example - - - - - -
Waiting for accelerometer...
- - - - -## 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 Sekunde, aber nur den Erfolg-Rückruf führt alle 3 Sekunden. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/accelerometer/parameters/accelerometerError.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/accelerometer/parameters/accelerometerError.md b/docs/de/3.1.0/cordova/accelerometer/parameters/accelerometerError.md deleted file mode 100644 index 7a38eb5..0000000 --- a/docs/de/3.1.0/cordova/accelerometer/parameters/accelerometerError.md +++ /dev/null @@ -1,23 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# accelerometerError - -OnError Callback-Funktion für Beschleunigungsfunktionen. - - function() { - // Handle the error - } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/accelerometer/parameters/accelerometerOptions.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/accelerometer/parameters/accelerometerOptions.md b/docs/de/3.1.0/cordova/accelerometer/parameters/accelerometerOptions.md deleted file mode 100644 index 4e3579b..0000000 --- a/docs/de/3.1.0/cordova/accelerometer/parameters/accelerometerOptions.md +++ /dev/null @@ -1,23 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# accelerometerOptions - -Ein optionaler Parameter, um den Abruf der Beschleunigungswerte anzupassen. - -## Optionen - -* **Häufigkeit**: wie oft abgerufen werden die `Acceleration` in Millisekunden. *(Anzahl)* (Default: 10000) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/accelerometer/parameters/accelerometerSuccess.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/accelerometer/parameters/accelerometerSuccess.md b/docs/de/3.1.0/cordova/accelerometer/parameters/accelerometerSuccess.md deleted file mode 100644 index 2b7742a..0000000 --- a/docs/de/3.1.0/cordova/accelerometer/parameters/accelerometerSuccess.md +++ /dev/null @@ -1,37 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# accelerometerSuccess - -OnSuccess Callback-Funktion, die die `Beschleunigung` Informationen bereitstellt. - - function(acceleration) { - // Do something - } - - -## Parameter - -* **acceleration**: Die Beschleunigung in einem einzigen Moment der Zeit. (Beschleunigung) - -## Beispiel - - function onSuccess(acceleration) { - alert('Acceleration X: ' + acceleration.x + '\n' + - 'Acceleration Y: ' + acceleration.y + '\n' + - 'Acceleration Z: ' + acceleration.z + '\n' + - 'Timestamp: ' + acceleration.timestamp + '\n'); - }; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/camera/camera.cleanup.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/camera/camera.cleanup.md b/docs/de/3.1.0/cordova/camera/camera.cleanup.md deleted file mode 100644 index b325b7b..0000000 --- a/docs/de/3.1.0/cordova/camera/camera.cleanup.md +++ /dev/null @@ -1,42 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# camera.cleanup - -Entfernt Mittelstufe Fotos von der Kamera aus der vorübergehenden Verwahrung genommen. - - navigator.camera.cleanup( cameraSuccess, cameraError ); - - -## Beschreibung - -Entfernt Mittelstufe Image-Dateien, die nach der Berufung in vorübergehender Verwahrung gehalten werden `camera.getPicture` . Gilt nur, wenn der Wert des `Camera.sourceType` ist gleich `Camera.PictureSourceType.CAMERA` und der `Camera.destinationType` entspricht`Camera.DestinationType.FILE_URI`. - -## Unterstützte Plattformen - -* iOS - -## Beispiel - - navigator.camera.cleanup(onSuccess, onFail); - - function onSuccess() { - console.log("Camera cleanup success.") - } - - function onFail(message) { - alert('Failed because: ' + message); - } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/camera/camera.getPicture.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/camera/camera.getPicture.md b/docs/de/3.1.0/cordova/camera/camera.getPicture.md deleted file mode 100644 index 7c6a4a7..0000000 --- a/docs/de/3.1.0/cordova/camera/camera.getPicture.md +++ /dev/null @@ -1,214 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# camera.getPicture - -Nimmt ein Foto mit der Kamera, oder ein Foto aus dem Gerät Bildergalerie abgerufen. Das Bild wird an den Erfolg-Rückruf als eine base64-codierte übergeben `String` , oder als den URI für die Image-Datei. Die Methode selbst gibt ein `CameraPopoverHandle` -Objekt, das verwendet werden kann, um die Datei-Auswahl-Popover neu zu positionieren. - - navigator.camera.getPicture( cameraSuccess, cameraError, [ cameraOptions ] ); - - -## Beschreibung - -Die `camera.getPicture` -Funktion öffnet das Gerät Standard-Kamera-Anwendung, die Benutzern ermöglicht, Bilder ausrichten. Dieses Verhalten tritt standardmäßig, wenn `Camera.sourceType` gleich `Camera.PictureSourceType.CAMERA` . Sobald der Benutzer die Fotoschnäpper, die Kameraanwendung geschlossen wird und die Anwendung wird wiederhergestellt. - -Wenn `Camera.sourceType` ist `Camera.PictureSourceType.PHOTOLIBRARY` oder `Camera.PictureSourceType.SAVEDPHOTOALBUM` , dann ein Dialog-Displays, die Benutzern ermöglicht, ein vorhandenes Bild auszuwählen. Die `camera.getPicture` Funktion gibt ein `CameraPopoverHandle` -Objekt, das verwendet werden kann, um den Bild-Auswahl-Dialog, zum Beispiel beim ändert sich der Orientierung des Geräts neu positionieren. - -Der Rückgabewert wird gesendet, um die `cameraSuccess` Callback-Funktion in einem der folgenden Formate, je nach dem angegebenen `cameraOptions` : - -* A `String` mit dem base64-codierte Foto-Bild. - -* A `String` , die die Bild-Datei-Stelle auf lokalem Speicher (Standard). - -Sie können tun, was Sie wollen, mit dem codierten Bildes oder URI, zum Beispiel: - -* Rendern Sie das Bild in ein `` Tag, wie im folgenden Beispiel - -* Die Daten lokal zu speichern ( `LocalStorage` , [Lawnchair][1], etc..) - -* Post die Daten an einen entfernten server - - [1]: http://brianleroux.github.com/lawnchair/ - -**Hinweis:** Fotoauflösung auf neueren Geräten ist recht gut. Fotos aus dem Gerät Galerie ausgewählt sind nicht zu einer niedrigeren Qualität herunterskaliert auch wenn ein `quality` -Parameter angegeben wird. Um Speicherprobleme zu vermeiden, legen Sie `Camera.destinationType` auf `FILE_URI` statt`DATA_URL`. - -## Unterstützte Plattformen - -* Android -* BlackBerry WebWorks (OS 5.0 und höher) -* iOS -* Tizen -* Windows Phone 7 und 8 -* Windows 8 - -## Android Macken - -Android verwendet Absichten zum Starten von der Kamera-Aktivität auf dem Gerät, um Bilder zu erfassen und auf Handys mit wenig Speicher, Cordova Tätigkeit getötet werden kann. In diesem Szenario kann das Bild nicht angezeigt, wenn die Aktivität von Cordova wiederhergestellt wird. - -## iOS Macken - -Darunter eine JavaScript `alert()` entweder des Rückrufs Funktionen können Probleme verursachen. Wickeln Sie die Warnung innerhalb einer `setTimeout()` erlauben die iOS-Bild-Picker oder Popover vollständig zu schließen, bevor die Warnung angezeigt: - - setTimeout(function() {/ / Mach dein Ding hier!}, 0); - - -## Windows Phone 7 Macken - -Die native Kameraanwendung aufrufen, während Ihr Gerät über Zune angeschlossen ist funktioniert nicht und löst eine Fehler-Callback. - -## Tizen Macken - -Tizen unterstützt nur eine `destinationType` der `Camera.DestinationType.FILE_URI` und eine `sourceType` von`Camera.PictureSourceType.PHOTOLIBRARY`. - -## Kleines Beispiel - -Nehmen Sie ein Foto und rufen Sie sie als base64-codierte Bild: - - 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); - } - - -Nehmen Sie ein Foto und rufen Sie das Bild-Datei-Speicherort: - - 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); - } - - -## Vollständiges Beispiel - - - - - Capture Photo - - - - - -
-
-
-
- - - - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/camera/camera.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/camera/camera.md b/docs/de/3.1.0/cordova/camera/camera.md deleted file mode 100644 index ee6a18c..0000000 --- a/docs/de/3.1.0/cordova/camera/camera.md +++ /dev/null @@ -1,94 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# Kamera - -> Das `camera` Objekt bietet Zugriff auf das Gerät Standard-Kamera-Anwendung. - -**Wichtige Datenschutzhinweis:** Sammlung und Verwendung von Bildern von einem Gerät Kamera löst wichtige Datenschutzprobleme. Ihre app-Datenschutzerklärung sollten besprechen, wie die app die Kamera verwendet und ob die Bilder aufgenommen mit irgendwelchen anderen Parteien geteilt werden. Außerdem, wenn die app-Nutzung der Kamera in der Benutzeroberfläche nicht offensichtlich ist, sollten Sie bereitstellen eine just-in-Time-Bekanntmachung vor Ihrer Anwendung den Zugriff auf die Kamera (wenn das Betriebssystem des Geräts bereits tun nicht). Diese Benachrichtigung sollte der gleichen Informationen, die vorstehend, sowie die Zustimmung des Benutzers (z.B. durch Präsentation Entscheidungen für das **OK** und **Nein danke**). Weitere Informationen finden Sie in der Datenschutz-Guide. - -## Methoden - -* camera.getPicture -* Camera.Cleanup - -## Zugriff auf die Funktion - -Ab Version 3.0 implementiert Cordova Geräteebene APIs als *Plugins*. Verwenden Sie der CLI `plugin` Befehl, beschrieben in der Command-Line Interface, hinzufügen oder Entfernen dieses Feature für ein Projekt: - - $ cordova plugin add org.apache.cordova.camera - $ cordova plugin ls - [ 'org.apache.cordova.camera' ] - $ cordova plugin rm org.apache.cordova.camera - - -Diese Befehle gelten für alle Zielplattformen, aber die unten beschriebenen Plattform-spezifische Konfigurationseinstellungen ändern: - -* Android - - (in app/res/xml/config.xml) - - - - - (in app/AndroidManifest) - - - -* BlackBerry WebWorks - - (in www/plugins.xml) - - - - - (in www/config.xml) - - - - use_camera - - - -* iOS (in`config.xml`) - - - - - - -* Windows Phone (in`Properties/WPAppManifest.xml`) - - - - - - - - Bezug: [Anwendungsmanifest für Windows Phone][1] - -* Tizen (in`config.xml`) - - - - - - Bezug: [Anwendungsmanifest für Tizen Webanwendung][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 - -Einige Plattformen können dieses Feature unterstützen, ohne dass eine besondere Konfiguration. Finden Sie unter *Plattform-Unterstützung* in der Übersicht. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/camera/parameter/CameraPopoverHandle.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/camera/parameter/CameraPopoverHandle.md b/docs/de/3.1.0/cordova/camera/parameter/CameraPopoverHandle.md deleted file mode 100644 index aa357fb..0000000 --- a/docs/de/3.1.0/cordova/camera/parameter/CameraPopoverHandle.md +++ /dev/null @@ -1,61 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# CameraPopoverHandle - -Ein Handle für das Dialogfeld "Popover" erstellt von`camera.getPicture`. - -## Methoden - -* **SetPosition**: Legen Sie die Position der Popover. - -## Unterstützte Plattformen - -* iOS - -## setPosition - -Legen Sie die Position von der Popover. - -**Parameter:** - -* `cameraPopoverOptions`: die `CameraPopoverOptions` angeben, dass die neue Position - -## Kleines Beispiel - - var cameraPopoverOptions = new CameraPopoverOptions(300, 300, 100, 100, Camera.PopoverArrowDirection.ARROW_ANY); - cameraPopoverHandle.setPosition(cameraPopoverOptions); - - -## Vollständiges Beispiel - - 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/17db5a3b/docs/de/3.1.0/cordova/camera/parameter/CameraPopoverOptions.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/camera/parameter/CameraPopoverOptions.md b/docs/de/3.1.0/cordova/camera/parameter/CameraPopoverOptions.md deleted file mode 100644 index ff39a49..0000000 --- a/docs/de/3.1.0/cordova/camera/parameter/CameraPopoverOptions.md +++ /dev/null @@ -1,60 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# CameraPopoverOptions - -nur iOS-Parametern, die Anker-Element Lage und Pfeil Richtung der Popover angeben, bei der Auswahl von Bildern aus einem iPad Bibliothek oder Album. - - {X: 0, y: 32, Breite: 320, Höhe: 480, ArrowDir: Camera.PopoverArrowDirection.ARROW_ANY}; - - -## CameraPopoverOptions - -* **X**: x Pixelkoordinate des Bildschirmelement auf dem der Popover zu verankern. *(Anzahl)* - -* **y**: y Pixelkoordinate des Bildschirmelement auf dem der Popover zu verankern. *(Anzahl)* - -* **Breite**: Breite in Pixeln, das Bildschirmelement auf dem der Popover zu verankern. *(Anzahl)* - -* **Höhe**: Höhe in Pixeln, das Bildschirmelement auf dem der Popover zu verankern. *(Anzahl)* - -* **ArrowDir**: Richtung der Pfeil auf der Popover zeigen sollte. Im Sinne `Camera.PopoverArrowDirection` *(Anzahl)* - - Camera.PopoverArrowDirection = {ARROW_UP: 1, / / entspricht iOS UIPopoverArrowDirection Konstanten ARROW_DOWN: 2, ARROW_LEFT: 4, ARROW_RIGHT: 8, ARROW_ANY: 15}; - - -Beachten Sie, dass die Größe der Popover ändern kann, um die Richtung des Pfeils und Ausrichtung des Bildschirms anzupassen. Achten Sie darauf, um Orientierung zu berücksichtigen, wenn Sie den Anker-Element-Speicherort angeben. - -## Kleines Beispiel - - 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/17db5a3b/docs/de/3.1.0/cordova/camera/parameter/cameraError.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/camera/parameter/cameraError.md b/docs/de/3.1.0/cordova/camera/parameter/cameraError.md deleted file mode 100644 index 2a59d6d..0000000 --- a/docs/de/3.1.0/cordova/camera/parameter/cameraError.md +++ /dev/null @@ -1,28 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# cameraError - -OnError-Callback-Funktion, die eine Fehlermeldung bereitstellt. - - function(message) { - // Show a helpful message - } - - -## Parameter - -* **Meldung**: die Nachricht wird durch das Gerät systemeigenen Code bereitgestellt. *(String)* \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/camera/parameter/cameraOptions.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/camera/parameter/cameraOptions.md b/docs/de/3.1.0/cordova/camera/parameter/cameraOptions.md deleted file mode 100644 index 9f97501..0000000 --- a/docs/de/3.1.0/cordova/camera/parameter/cameraOptions.md +++ /dev/null @@ -1,111 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# cameraOptions - -Optionale Parameter die Kameraeinstellungen anpassen. - - {Qualität: 75, DestinationType: Camera.DestinationType.DATA_URL, SourceType: Camera.PictureSourceType.CAMERA, AllowEdit: stimmt, EncodingType: Camera.EncodingType.JPEG, TargetWidth: 100, TargetHeight: 100, PopoverOptions: CameraPopoverOptions, SaveToPhotoAlbum: false}; - - -## Optionen - -* **Qualität**: Qualität des gespeicherten Bildes, ausgedrückt als ein Bereich von 0-100, wo 100 in der Regel voller Auflösung ohne Verlust aus der Dateikomprimierung ist. *(Anzahl)* (Beachten Sie, dass Informationen über die Kamera Auflösung nicht verfügbar ist.) - -* **destinationType**: Choose the format of the return value. Defined in `navigator.camera.DestinationType` *(Number)* - - Camera.DestinationType = {DATA_URL: 0, / / Return Bild als base64-codierte Zeichenfolge FILE_URI: 1, / / Return Image-Datei-URI NATIVE_URI: 2 / / Return image native URI (z. B. Ressourcen-Bibliothek: / / auf iOS oder Inhalte: / / auf Android)}; - - -* **sourceType**: Set the source of the picture. Defined in `navigator.camera.PictureSourceType` *(Number)* - - Camera.PictureSourceType = {Fotothek: 0, Kamera: 1, SAVEDPHOTOALBUM: 2}; - - -* **AllowEdit**: einfache Bearbeitung des Bildes vor Auswahl zu ermöglichen. *(Boolesch)* - -* **encodingType**: Choose the returned image file's encoding. Defined in `navigator.camera.EncodingType` *(Number)* - - Camera.EncodingType = {JPEG: 0, / / Return JPEG-codierte Bild PNG: 1 / / Return PNG codiertes Bild}; - - -* **TargetWidth**: Breite in Pixel zum Bild skalieren. Muss mit **TargetHeight**verwendet werden. Seitenverhältnis bleibt konstant. *(Anzahl)* - -* **TargetHeight**: Höhe in Pixel zum Bild skalieren. Muss mit **TargetWidth**verwendet werden. Seitenverhältnis bleibt konstant. *(Anzahl)* - -* **MediaType**: Legen Sie den Typ der Medien zur Auswahl. Funktioniert nur, wenn `PictureSourceType` ist `PHOTOLIBRARY` oder `SAVEDPHOTOALBUM` . Im Sinne `nagivator.camera.MediaType` *(Anzahl)* - - Camera.MediaType = {Bild: 0, / / Auswahl der Standbilder nur ermöglichen. STANDARD. Kehrt über DestinationType VIDEO angegebenen Format: 1, / / ermöglichen Auswahl an nur, Video wird immer zurückgegeben FILE_URI ALLMEDIA: 2 / / Auswahl von alle Medientypen zulassen - - - }; - -* **CorrectOrientation**: Drehen Sie das Bild um die Ausrichtung des Geräts während der Aufnahme zu korrigieren. *(Boolesch)* - -* **SaveToPhotoAlbum**: das Bild auf das Fotoalbum auf dem Gerät zu speichern, nach Einnahme. *(Boolesch)* - -* **PopoverOptions**: iOS-nur Optionen, die Popover Lage in iPad angeben. In definierten`CameraPopoverOptions`. - -* **cameraDirection**: Choose the camera to use (front- or back-facing). Defined in `navigator.camera.Direction` *(Number)* - - Camera.Direction = {zurück: 0, / / die hinten gerichteter Kamera vorne verwenden: 1 / / die nach vorn gerichtete Kamera verwenden}; - - -## Android Macken - -* `cameraDirection`Ergebnisse in einem hinten gerichteter Foto Wert. - -* Ignoriert die `allowEdit` Parameter. - -* `Camera.PictureSourceType.PHOTOLIBRARY`und `Camera.PictureSourceType.SAVEDPHOTOALBUM` beide das gleiche Fotoalbum anzuzeigen. - -## BlackBerry Macken - -* Ignoriert die `quality` Parameter. - -* Ignoriert die `sourceType` Parameter. - -* Ignoriert die `allowEdit` Parameter. - -* Anwendung müssen wichtige Injektion-Berechtigungen, um die ursprüngliche Kamera-Anwendung zu schließen, nachdem der Benutzer die Fotoschnäpper. - -* Große Bildgrößen kann die Unfähigkeit Bilder auf Nachfolger Geräten (z.B. Torch 9800) codiert, dass Feature hochauflösende Kameras führen. - -* `Camera.MediaType`wird nicht unterstützt. - -* Ignoriert die `correctOrientation` Parameter. - -* Ignoriert die `cameraDirection` Parameter. - -## iOS Macken - -* Legen Sie `quality` unter 50 Speicherfehler auf einigen Geräten zu vermeiden. - -* Bei der Verwendung `destinationType.FILE_URI` , Fotos werden im temporären Verzeichnis der Anwendung gespeichert. Sie können den Inhalt dieses Verzeichnisses mit löschen die `navigator.fileMgr` APIs, wenn Speicherplatz ein Anliegen. - -## Tizen Macken - -* nicht unterstützte Optionen - -* gibt immer einen Datei-URI - -## Windows Phone 7 und 8 Macken - -* Ignoriert die `allowEdit` Parameter. - -* Ignoriert die `correctOrientation` Parameter. - -* Ignoriert die `cameraDirection` Parameter. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/camera/parameter/cameraSuccess.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/camera/parameter/cameraSuccess.md b/docs/de/3.1.0/cordova/camera/parameter/cameraSuccess.md deleted file mode 100644 index b3c75bd..0000000 --- a/docs/de/3.1.0/cordova/camera/parameter/cameraSuccess.md +++ /dev/null @@ -1,37 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# cameraSuccess - -OnSuccess Callback-Funktion, die die Bilddaten bereitstellt. - - function(imageData) { - // Do something with the image - } - - -## Parameter - -* **CMYK**: Base64-Codierung der Bilddaten, *oder* die Image-Datei-URI, je nach `cameraOptions` in Kraft. *(String)* - -## Beispiel - - // 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/17db5a3b/docs/de/3.1.0/cordova/compass/compass.clearWatch.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/compass/compass.clearWatch.md b/docs/de/3.1.0/cordova/compass/compass.clearWatch.md deleted file mode 100644 index efe5d45..0000000 --- a/docs/de/3.1.0/cordova/compass/compass.clearWatch.md +++ /dev/null @@ -1,106 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# compass.clearWatch - -Stoppen Sie, beobachten den Kompass auf der Uhr-ID-Parameter verweist. - - navigator.compass.clearWatch(watchID); - - -* **WatchID**: die ID zurückgegebener`compass.watchHeading`. - -## Unterstützte Plattformen - -* Android -* BlackBerry 10 -* iOS -* Tizen -* Windows Phone 7 und 8 (falls verfügbar in Hardware) -* Windows 8 - -## Kleines Beispiel - - var watchID = navigator.compass.watchHeading(onSuccess, onError, options); - - // ... later on ... - - navigator.compass.clearWatch(watchID); - - -## Vollständiges Beispiel - - - - - Compass Example - - - - - -
Waiting for heading...
- - - - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/compass/compass.clearWatchFilter.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/compass/compass.clearWatchFilter.md b/docs/de/3.1.0/cordova/compass/compass.clearWatchFilter.md deleted file mode 100644 index 27b303e..0000000 --- a/docs/de/3.1.0/cordova/compass/compass.clearWatchFilter.md +++ /dev/null @@ -1,19 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# compass.clearWatchFilter - -Nicht mehr unterstützt ab 1.6. Finden Sie unter`compass.clearWatch`. \ 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