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 A5BDE1898A for ; Fri, 26 Feb 2016 01:00:07 +0000 (UTC) Received: (qmail 58627 invoked by uid 500); 26 Feb 2016 01:00:04 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 58583 invoked by uid 500); 26 Feb 2016 01:00:04 -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 57357 invoked by uid 99); 26 Feb 2016 01:00:03 -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; Fri, 26 Feb 2016 01:00:03 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 9D4FAE8F2D; Fri, 26 Feb 2016 01:00:03 +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: Fri, 26 Feb 2016 01:00:41 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [40/51] [partial] docs commit: Renaming 6.0.0 to 6.x. http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/21c8e8f0/www/docs/de/6.0.0/guide/platforms/wp8/vmware.md ---------------------------------------------------------------------- diff --git a/www/docs/de/6.0.0/guide/platforms/wp8/vmware.md b/www/docs/de/6.0.0/guide/platforms/wp8/vmware.md deleted file mode 100644 index 1d6d113..0000000 --- a/www/docs/de/6.0.0/guide/platforms/wp8/vmware.md +++ /dev/null @@ -1,51 +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. - -title: Konfiguration von VMWare Fusion ---- - -# Konfiguration von VMWare Fusion - -Dieser Abschnitt zeigt, wie VMWare Fusion auf dem Mac so konfigurieren, dass Sie Cordova verwenden können, um Windows Phone-Anwendungen zu generieren. - -Das [Microsoft Developer Network][1] bietet allgemeine Anweisungen zum Ausführen von Windows unter VMWare Fusion. Nach der Installation von Windows, die folgenden Schritte aus: - - [1]: http://msdn.microsoft.com/en-US/library/windows/apps/jj945426 - -1. VMWare Fusion wählen Sie die Image-Datei von Windows 8, die Sie vorbereitet haben, und wählen Sie **Einstellungen**. - -2. Wählen Sie die **Prozessoren & Speicher** -Konfigurationsoptionen. Geben Sie, *zwei* Prozessorkerne und **Hypervisor-Anwendungen in dieser virtuellen Maschine zu ermöglichen**: - - ![][2] - - Der Windows Phone-Emulator allein verwendet die Hälfte eine Gigabyte Arbeitsspeicher, also insgesamt reservieren Sie mindestens 2 GB für VMWare. - -3. Wählen Sie die **erweitert** . Aktivieren der **bevorzugte Virtualisierungs-Engine: Intel VT-X mit EPT** Option: - - ![][3] - -4. Ändern Sie die *.vmx* -Datei hinzufügen oder ändern die folgenden Einstellungen: - - Hypervisor.cpuid.v0 = "FALSE" mce.enable = "TRUE" vhv.enable = "TRUE" - - - [2]: {{ site.baseurl }}/static/img/guide/platforms/wp8/vmware_memory_opts.png - [3]: {{ site.baseurl }}/static/img/guide/platforms/wp8/vmware_advanced_opts.png - -Nachdem Sie diese Schritte abgeschlossen haben, können Sie dann das Windows Phone SDK installieren. Finden Sie im Windows Phone 8 Plattform für Details. http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/21c8e8f0/www/docs/de/6.0.0/guide/platforms/wp8/webview.md ---------------------------------------------------------------------- diff --git a/www/docs/de/6.0.0/guide/platforms/wp8/webview.md b/www/docs/de/6.0.0/guide/platforms/wp8/webview.md deleted file mode 100644 index 3a49813..0000000 --- a/www/docs/de/6.0.0/guide/platforms/wp8/webview.md +++ /dev/null @@ -1,45 +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. - -title: Windows Phone 8,0 Webansichten für ---- - -# Windows Phone 8,0 Webansichten für - -Diese Anleitung zeigt, wie eine Cordova-fähigen WebView Komponente innerhalb einer größeren Windows Phone 8.0-Anwendung einbetten. - -Um diese Anweisungen befolgen, stellen Sie sicher, dass Sie die neueste Cordova-Verteilung. Von [cordova.apache.org](http://cordova.apache.org) herunterladen Sie und entpacken Sie des Windows Phone 8.0-Pakets (Cordova-wp8-*.zip). - - 1. Navigieren Sie zu des Pakets `wp8/framework` Verzeichnis und Build `WPCordovaClassLib.sln` . Es schafft die`Bin\Debug[Release]\WPCordovaClassLib.dll`. - - 2. Kopie der `WPCordovaClassLib.dll` Datei in des Windows Phone 8-Projekts `/libs` Verzeichnis und `WPCordovaClassLib.dll` zu Ihrem Projekt über `Project->References->Add Reference` . Alternativ können Sie direkt verweisen die `wp8/framework/WPCordovaClassLib.csproj` Datei. - - 3. Fügen Sie `CordovaView` zu Ihrer Seite (z. B. Komponente`MainPage.xaml`). - - xmlns:my="clr-namespace:WPCordovaClassLib;assembly=WPCordovaClassLib"> - ... - - - - 4. Kopie `common/www/cordova.js` zusammen mit HTML und JavaScript-Dateien der Anwendung für des Windows Phone 8-Projekts `html` Verzeichnis und fügen Sie neue Dateien zum Projekt. - - 5. Kopie der `wp8/template/config.xml` auf Root-Verzeichnis des Projekts und - -Obige Anleitung wird link nur Kernkomponenten Cordova, finden Sie unter Using Plugman zu verwalten Plugins um Cordova Plugins zu verbinden. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/21c8e8f0/www/docs/de/6.0.0/guide/support/index.md ---------------------------------------------------------------------- diff --git a/www/docs/de/6.0.0/guide/support/index.md b/www/docs/de/6.0.0/guide/support/index.md deleted file mode 100644 index ee72fdf..0000000 --- a/www/docs/de/6.0.0/guide/support/index.md +++ /dev/null @@ -1,864 +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. - -title: Plattformunterstützung ---- - -# Plattformunterstützung - -Im folgenden wird die Gruppe von Entwicklungs-Tools und APIs verfügbar-Gerät für jede mobile Plattform. Das Gerät, das APIs hier aufgelistet werden bereitgestellt von Core-Plugins, zusätzliche APIs über [Drittanbieter Plug-ins][1]verfügbar sind. Spaltenüberschriften die CLI Stenographie Namen angezeigt. - - [1]: http://plugins.cordova.io - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Amazon-fireos - - Android - - blackberry10 - - Firefox OS - - Ios - - Ubuntu - - WP8
(Windows Phone 8) -
- Windows
(8.0, 8.1, 10,
Telefon 8.1) -
- tizen -
- Cordova
CLI
-
- Mac, Windows, Linux - - Mac, Windows, Linux - - Mac, Windows - - Mac, Windows, Linux - - Mac - - Ubuntu - - Windows - - -
- Eingebettete
WebView
-
- (siehe Details) - - (siehe Details) - - - - (siehe Details) - - - - -
- Plug-in
Schnittstelle
-
- (siehe Details) - - (siehe Details) - - (siehe Details) - - - (siehe Details) - - - (siehe Details) - - -
- - Plattform-APIs -
- Beschleunigungsmesser - - - - - - - - - -
- BatteryStatus - - - - - - - - - * Windows Phone 8.1 nur - -
- Kamera - - - - - - - - - -
- Erfassen - - - - - - - - - -
- Kompass - - - - - - (3GS +) - - - - -
- Verbindung - - - - - - - - - -
- Kontakte - - - - - - - - - teilweise - -
- Gerät - - - - - - - - - -
- Veranstaltungen - - - - - - - - - -
- Datei - - - - - - - - - -
- File-Transfer - - - - * Unterstützen Sie Onprogress weder Abbrechen - - - - - * Unterstützen Sie Onprogress weder Abbrechen - - * Unterstützen Sie Onprogress weder Abbrechen - -
- Geolocation - - - - - - - - - -
- Globalisierung - - - - - - - - - -
- InAppBrowser - - - - - - - - - Iframe verwendet - -
- Medien - - - - - - - - - -
- Benachrichtigung - - - - - - - - - -
- SplashScreen - - - - - - - - - -
- Statusleiste - - - - - - - - - Windows Phone 8.1 nur - -
- Speicher - - - - - - - - LocalStorage & indexedDB - - LocalStorage & indexedDB - -
- Vibration - - - - - - - - - * Windows Phone 8.1 nur - -
- - http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/21c8e8f0/www/docs/de/6.0.0/index.md ---------------------------------------------------------------------- diff --git a/www/docs/de/6.0.0/index.md b/www/docs/de/6.0.0/index.md deleted file mode 100644 index c323e9e..0000000 --- a/www/docs/de/6.0.0/index.md +++ /dev/null @@ -1,163 +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. - -title: Reiseführer ---- - -
-

- Reiseführer -

- - - -

- -API-Referenz -

- -
    -
  • -

    - Veranstaltungen -

    - - Haken Sie in systemeigene Ereignisse durch JavaScript. -
  • -
  • -

    - Plugin APIs -

    - - Entdecken Sie, welche Cordova-Plugins verwenden Sie in Ihrem Projekt verfügbar sind. -
  • -
-
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/21c8e8f0/www/docs/de/6.0.0/platform_plugin_versioning_ref/index.md ---------------------------------------------------------------------- diff --git a/www/docs/de/6.0.0/platform_plugin_versioning_ref/index.md b/www/docs/de/6.0.0/platform_plugin_versioning_ref/index.md deleted file mode 100644 index 7f7e76a..0000000 --- a/www/docs/de/6.0.0/platform_plugin_versioning_ref/index.md +++ /dev/null @@ -1,167 +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. - -title: Plattformen und Plugins Versionsmanagement ---- - -# Plattformen und Plugins Versionsmanagement - -Ab Version 4.3.0 bietet Cordova die Möglichkeit zum Speichern und wiederherstellen, Plattformen und Plugins. - -Dieses Feature ermöglicht Entwicklern, speichern und ihre app in einen bekannten Zustand wiederherstellen, ohne in allen von der Plattform und Plugin Quellcode überprüfen. - -Der Befehl "Speichern" speichert Informationen über die app-Plattform und Plugin-Versionen in "config.xml". Der 'Wiederherstellung' Schritt geschieht automatisch, wenn ein **'cordova prepare'** ausgegeben wird, machen Gebrauch von Informationen, die zuvor in der Datei config.xml gespeichert. - -Ein Szenario, wo speichern/wiederherstellen-Funktionen praktisch, ist in großen Teams, die auf eine Anwendung mit jedes Teammitglied Fokussierung auf einer Plattform oder Plugin arbeiten. Diese Funktion erleichtert das Teilen des Projekts und reduzieren die Menge der redundanten Code, der im Repository eingecheckt ist. - -## Plattform-Versionsverwaltung - -### Speichern von Plattformen - -Um eine Plattform zu speichern, geben Sie folgenden Befehl ein: - - $ cordova platform add ] | directory | git_url> --save - - -Nach dem obigen Befehl ausführen, wird die resultierende Datei config.xml sieht: - - - ... - - ... - - - -Einige Beispiele: - - * => **'cordova platform add android --save'** Ruft die festgehaltene Version der android-Plattform, dem Projekt hinzugefügt und aktualisiert dann "config.xml". - * => **'cordova platform add android@3.7.0 --save'** Ruft die androide-Plattform, Version 3.7.0 vom Npm, dem Projekt hinzugefügt und aktualisiert dann "config.xml". - * **"cordova platform add android@https://github.com/apache/cordova-android.git​ --save"** => klont das angegebene Cordova-Android Git Repository, dem Projekt die androide-Plattform hinzugefügt dann aktualisiert "config.xml" und zeigen Sie ihre Version auf der angegebenen Git-Url. - * => **'cordova platform add C:/path/to/android/platform --save'** Ruft die androide-Plattform aus dem angegebenen Verzeichnis, dem Projekt hinzugefügt, dann aktualisiert "config.xml" und zeigen Sie auf das Verzeichnis. - -### Masse-Plattformen auf ein vorhandenes Projekt zu speichern. - -Die '--save ' Flagge oben beschriebene ist nur nützlich, wenn Sie daran denken, während die Plattform-Zusatz verwendet. Wenn Sie ein bereits vorhandenes Projekt haben und Sie alle aktuell hinzugefügten Plattformen in Ihrem Projekt speichern möchten, können Sie: - - $ cordova platform save - - -### Aktualisieren / Entfernen von Plattformen - -Es ist auch möglich, aktualisieren und Löschen von "config.xml" während der Befehle "Cordova Platform Update' und 'Cordova Plattform entfernen': - - $ cordova platform update ] | directory | git_url> --save - $ cordova platform remove --save - - -Einige Beispiele: - - * Neben der Aktualisierung der androiden-Plattform, die festgehaltene Version, Update "config.xml" Eintrag => **'cordova platform update android --save'** - * Neben der Aktualisierung der androiden-Plattform auf Version 3.8.0, Update "config.xml" Eintrag => **'cordova Plattform update android@3.8.0 --save'** - * Neben der Aktualisierung der androiden-Plattform auf Version Update "config.xml" Eintrag im Ordner => **'cordova Plattform update /path/to/android/platform --save'** - * => **'cordova platform remove android --save'** entfernt die androide-Plattform aus dem Projekt und löscht den Eintrag von "config.xml". - -### Wiederherstellen von Plattformen - -Plattformen werden automatisch von "config.xml" wiederhergestellt, wenn der **'cordova prepare'** -Befehl ausgeführt wird. - -Wenn Sie eine Plattform hinzufügen, ohne Angabe einer Version/Ordner/Git_url, stammt die Version installieren von config.xml, **Wenn gefunden**. - -Beispiel: - -Angenommen, die Datei "config.xml" den folgenden Eintrag enthält: - - - ... - - ... - - - -Wenn Sie den Befehl **'cordova platform add android'** (keine Version/Ordner/Git_url angegeben) ausführen, wird die Plattform "android@3.7.0" (wie von "config.xml" abgerufen) installiert. - -* * * - -## Plugin-Versionsverwaltung - -*(Die Plugin-Befehle sind ein Spiegel der Plugin-Befehle)* - -### Speichern von plugins - -Um ein Plugin zu speichern, geben Sie folgenden Befehl ein: - - $ cordova plugin add ] | directory | git_url> --save - - -Nach dem obigen Befehl ausführen, wird die resultierende Datei config.xml sieht: - - - ... - - ... - - - -Einige Beispiele: - - * => **'cordova plugin add cordova-plugin-console --save'** Ruft die festgehaltene Version der Konsole Plugin, dem Projekt hinzugefügt und aktualisiert dann "config.xml". - * => **'cordova plugin add cordova-plugin-console@0.2.13 --save'** Ruft das androide Plugin Version 0.2.13 von Npm, dem Projekt hinzugefügt und aktualisiert dann "config.xml". - * => **'cordova plugin add https://github.com/apache/cordova-plugin-console.git --save'** klont das angegebene Konsole Plugin Git Repository, das Konsole-Plugin fügt dem Projekt dann aktualisiert "config.xml" und zeigen Sie ihre Version auf der angegebenen Git-Url. - * => **'cordova plugin add C:/path/to/console/plugin --save'** Ruft das Konsole-Plugin aus dem angegebenen Verzeichnis, dem Projekt hinzugefügt und dann "config.xml" aktualisiert und zeigen Sie auf das Verzeichnis. - -### Masse, die Plugins auf einem vorhandenen Projekt speichern - -Die '--save ' Flagge oben beschriebene ist nur nützlich, wenn Sie daran denken, während die Plattform-Zusatz verwendet. Wenn Sie ein bereits vorhandenes Projekt und Sie speichern möchten alle derzeit Plugins im Projekt hinzugefügt, können Sie: - - $ cordova plugin save - - -### Aktualisierung / Plugins entfernen - -Es ist auch möglich, aktualisieren und Löschen von "config.xml" während der Befehle "Cordova-Plugin-Update' und 'Cordova Plugin entfernen': - - $ cordova plugin update ] | directory | git_url> --save - $ cordova plugin remove --save - - -Einige Beispiele: - - * Neben der Aktualisierung des Konsole-Plugins um die festgehaltene Version, Update "config.xml" Eintrag => **'cordova plugin update cordova-plugin-console --save'** - * Neben der Aktualisierung des Androiden Plugins auf Version 3.8.0, Update "config.xml" Eintrag => **'cordova plugin update cordova-plugin-console@0.2.13 --save'** - * Neben der Aktualisierung des Konsole-Plugins auf Version Update "config.xml" Eintrag im Ordner => **'cordova plugin update /path/to/console/plugin --save'** - * => **'cordova plugin remove cordova-plugin-console --save'** entfernt das Konsole-Plugin aus dem Projekt und löscht den Eintrag von "config.xml". - -### Wiederherstellen von plugins - -Plattformen werden automatisch von "config.xml" wiederhergestellt, wenn der **'cordova prepare'** -Befehl ausgeführt wird. - -Wenn Sie eine Plugin hinzufügen, ohne Angabe einer Version/Ordner/Git_url, ist die Version installiert werden soll mit "config.xml", entnommen **Wenn gefunden**. - -Beispiel: - -Angenommen, die Datei "config.xml" den folgenden Eintrag enthält: - - - ... - - ... - - - -Wenn Sie den Befehl **'cordova plugin add cordova-plugin-console'** (keine Version/Ordner/Git_url angegeben) ausführen, wird das Plugin 'cordova-plugin-console@0.2.11' (wie von "config.xml" abgerufen) installiert. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/21c8e8f0/www/docs/de/6.0.0/plugin_ref/plugman.md ---------------------------------------------------------------------- diff --git a/www/docs/de/6.0.0/plugin_ref/plugman.md b/www/docs/de/6.0.0/plugin_ref/plugman.md deleted file mode 100644 index ef2f866..0000000 --- a/www/docs/de/6.0.0/plugin_ref/plugman.md +++ /dev/null @@ -1,210 +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. - -title: Plugins verwalten mithilfe Plugman ---- - -# Plugins verwalten mithilfe Plugman - -Ab Version 3.0 ff. Cordova implementiert alle Gerät APIs als Plugins und lässt sie standardmäßig deaktiviert. Es unterstützt auch zwei Möglichkeiten zum Hinzufügen und Entfernen von Plugins, je nach verwendeter Workflow diskutiert in der [Übersicht](../guide/overview/index.html): - -* Wenn Sie einen Cross-Plattform-Workflow verwenden, verwenden Sie die `cordova` CLI-Hilfsprogramm, Plugins, hinzufügen, wie in der Command-Line Interface beschrieben. Die CLI ändert Plugins für alle angegebenen Plattformen gleichzeitig. - -* Wenn Sie einen Workflow Plattform-zentrierte verwenden, verwenden Sie eine Low-Level- [Plugman][1] -Befehlszeilen-Schnittstelle, separat für jede Zielplattform. - - [1]: https://github.com/apache/cordova-plugman/ - -Dieser Abschnitt erläutert das Plugman-Dienstprogramm. Weitere Informationen zu konsumieren Plugman als Knoten Modul oder den Quellcode ändern finden Sie in [der README-Datei im repository][2]. - - [2]: https://github.com/apache/cordova-plugman/blob/master/README.md - -## Installation von Plugman - -Um Plugman zu installieren, müssen Sie die [Knoten][3] , die auf Ihrem Computer installiert haben. Dann die folgenden ausführen Befehl an einer beliebigen Stelle in Ihrer Umgebung Plugman weltweit so installieren, dass es von einem beliebigen Verzeichnis gibt es: - - [3]: http://nodejs.org/ - - $ npm install -g plugman - - -Haben außerdem muss `git` auf Ihre `PATH` um Plugins direkt aus entfernten Git URLs zu installieren zu können. - -**Tipp**: Wenn Sie, dass feststellen nach der Installation von Plugman mit `npm` Sie sind noch nicht alle `plugman` Befehle, stellen Sie sicher, dass Sie hinzugefügt haben die `/npm/` Verzeichnis in Ihrem`PATH`. - -**Hinweis**: Sie können diesen Schritt überspringen, wenn Sie nicht, um Ihre globalen verschmutzen möchten `npm` Namespace durch die Installation von Plugman weltweit. Wenn dies ist der Fall, wenn Sie ein Cordova-Projekt mit der Shell-Werkzeugen erstellen, gibt es ein `node_modules` Verzeichnis innerhalb des Projekts die Plugman enthält. Da Sie nicht global installiert haben, müssen Sie aufrufen `node` für jeden Plugman-Befehl, zum Beispiel `node -./node_modules/plugman/main.js -version` . Der Rest dieser Anleitung wird angenommen, dass Sie Plugman weltweit installiert haben was bedeutet, dass Sie es mit nur aufrufen können`plugman`. - -## Erstellen Sie ein Projekt von Cordova - -Bevor Sie Plugman verwenden können, müssen Sie ein Cordova-Projekt erstellen. Sie können dies tun, mit der Befehlszeilen-Schnittstelle oder mit der unteren Ebene Shell-Skripte. Anweisungen zur Verwendung der Shell-Skripte erstellen Sie Ihr Projekt befinden sich in den verschiedenen "Command-Line Tools"-Führern, die auf der Plattform Guides-Seite aufgelistet. - -## Eine Plugin hinzufügen - -Sobald Sie Plugman installiert haben und ein Cordova-Projekt erstellt haben, können Sie beginnen, die Plattform mit Plugins hinzufügen: - - $ plugman --platform --project --plugin [--plugins_dir ] [--www ] [--variable = [--variable = ...]] - - -Mit minimalen Parametern, wird dieser Befehl eine Plugin in einem Cordova-Projekt installiert. Sie müssen eine Plattform und Cordova Projektspeicherort für diese Plattform angeben. Sie müssen auch eine Plugin, mit den verschiedenen angeben `--plugin` Parameter bildet sein: - -* `name`: Der Verzeichnisname, wo die Plugin-Inhalte vorhanden sind. Dies muss ein vorhandenes Verzeichnis unter den `--plugins_dir` Pfad (für mehr Info siehe unten) oder ein Plugin in der Cordova-Registrierung. -* `url`: Eine URL mit https:// oder Git: / / zeigen zu einem gültigen Git-Repository, das geklont werden und enthält eine `plugin.xml` Datei. Kopiert den Inhalt dieses Archivs würden in der`--plugins_dir`. -* `path`: Ein Pfad zu einem Verzeichnis, die eine gültige Plugin umfasst eine `plugin.xml` Datei. Dieser Pfad Inhalt kopiert werden, in der`--plugins_dir`. - -Weitere Parameter: - -* `--plugins_dir`standardmaessig `/cordova/plugins` , aber kann jedes Verzeichnis ein Unterverzeichnis für jeden abgerufenen Plugin. -* `--www`der Standardwert ist des Projekts `www` Ordnerspeicherort, kann jedoch jedes Verzeichnis, das als Cordova Projekt Anwendung Web Vermögenswerte verwendet werden. -* `--variable`ermöglicht es, bestimmte Variablen zum Zeitpunkt der Installation notwendig für bestimmte Plugins, die die API-Schlüssel oder andere benutzerdefinierte, benutzerdefinierte Parameter angeben. Finden Sie die [Plugin-Spezifikation][4] für weitere Informationen. - - [4]: plugin_ref_spec.md.html#Plugin%20Specification - -## Eine Plugin zu entfernen - -Um ein Plugin zu deinstallieren, übergeben Sie einfach die `--uninstall` -flag und bieten die Plugin-ID. - - $ plugman --uninstall --platform --project --plugin [--www ] [--plugins_dir ] - - -## Hilfebefehle - -Plugman verfügt über einen global Help-Befehl, der Ihnen helfen können, wenn Sie stecken bleiben oder Probleme auftreten. Es erscheint eine Liste aller verfügbaren Plugman-Befehle und deren Syntax: - - plugman -help - plugman # same as above - - -**Hinweis**: `plugman -help` können einige zusätzliche Registrierung bezogenen Befehle zeigen. Diese Befehle sind für Plugin-Entwickler und können nicht auf Drittanbieter-Plugin-Register implementiert werden. - -Sie können auch Anhängen der `--debug|-d` Flagge auf jeden Plugman-Befehl diesen Befehl im ausführlichen Modus ausgeführt, die internen Debuggen-Meldungen angezeigt werden, da sie ausgegeben werden und Ihnen helfen können, ausfindig zu machen Probleme wie fehlende Dateien. - - # Adding Android battery-status plugin to "myProject": - plugman -d --platform android --project myProject --plugin cordova-plugin-battery-status - - -Schließlich können Sie die `--version|-v` Flagge zu sehen, welche Plugman-Version Sie verwenden. - - plugman -v - - -## Registrierungsaktionen - -Es gibt eine Reihe von Plugman-Befehlen, die für die Interaktion mit der [Plugin-Registrierung][5]verwendet werden kann. Bitte beachten Sie, dass diese Registrierung-Befehle beziehen sich auf die *plugins.cordova.io* -Plugin-Registry und nicht von Drittanbieter-Plugin-Register implementiert werden können. - - [5]: http://plugins.cordova.io - -### Auf der Suche nach einem Plugin - -Plugman können Sie suchen der [Plugin Registrierung][5] für Plugin-Id, die die angegebenen Leerzeichen getrennte Liste von Schlüsselwörtern entsprechen. - - plugman search - - -### Ändern der Plugin-Registrierung - -Sie können abrufen oder Festlegen der URL der aktuellen Plugin-registry, die Plugman benutzt. In der Regel lassen Sie dies auf http://registry.cordova.io festgelegt wird, sofern Sie eine Drittanbieter-Plugin-Registry verwenden möchten. - - plugman config set registry - plugman config get registry - - -### Plugin informieren - -Hier erhalten Sie Informationen über alle spezifischen Plugin im Plugin Repository mit gespeichert: - - plugman info - - -Dies wird der Plugin Registrierung und Abruf Informationen wie das Plugin Versionsnummer kontaktieren. - -## Core-Plugins installieren - -Die folgenden Beispiele veranschaulichen, Plugins hinzufügen, nach Bedarf, so dass Sie in Ihrem Projekt verwenden APIs Cordova noch funktionieren nach dem upgrade auf Version 3.0. Für jeden Befehl müssen Sie wählen die Zielplattform und die Plattform-Projektverzeichnis zu verweisen. - -* cordova-plugin-battery-status - - `plugman --platform --project --plugin cordova-plugin-battery-status` - -* cordova-plugin-camera - - `plugman --platform --project --plugin cordova-plugin-camera` - -* cordova-plugin-console - - `plugman --platform --project --plugin cordova-plugin-console` - -* cordova-plugin-contacts - - `plugman --platform --project --plugin cordova-plugin-contacts` - -* cordova-plugin-device - - `plugman --platform --project --plugin cordova-plugin-device` - -* cordova-plugin-device-motion (accelerometer) - - `plugman --platform --project --plugin cordova-plugin-device-motion` - -* cordova-plugin-device-orientation (compass) - - `plugman --platform --project --plugin cordova-plugin-device-orientation` - -* cordova-plugin-dialogs - - `plugman --platform --project --plugin cordova-plugin-dialogs` - -* cordova-plugin-file - - `plugman --platform --project --plugin cordova-plugin-file` - -* cordova-plugin-file-transfer - - `plugman --platform --project --plugin cordova-plugin-file-transfer` - -* cordova-plugin-geolocation - - `plugman --platform --project --plugin cordova-plugin-geolocation` - -* cordova-plugin-globalization - - `plugman --platform --project --plugin cordova-plugin-globalization` - -* cordova-plugin-inappbrowser - - `plugman --platform --project --plugin cordova-plugin-inappbrowser` - -* cordova-plugin-media - - `plugman --platform --project --plugin cordova-plugin-media` - -* cordova-plugin-media-capture - - `plugman --platform --project --plugin cordova-plugin-media-capture` - -* cordova-plugin-network-information - - `plugman --platform --project --plugin cordova-plugin-network-information` - -* cordova-plugin-splashscreen - - `plugman --platform --project --plugin cordova-plugin-splashscreen` - -* cordova-plugin-vibration - - `plugman --platform --project --plugin cordova-plugin-vibration` \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/21c8e8f0/www/docs/de/6.0.0/plugin_ref/spec.md ---------------------------------------------------------------------- diff --git a/www/docs/de/6.0.0/plugin_ref/spec.md b/www/docs/de/6.0.0/plugin_ref/spec.md deleted file mode 100644 index bd53417..0000000 --- a/www/docs/de/6.0.0/plugin_ref/spec.md +++ /dev/null @@ -1,540 +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. - -title: Plugin-Spezifikation ---- - -# Plugin-Spezifikation - -Die `plugin.xml` Datei ist ein XML‑Dokument in den `plugins` Namespace: `http://apache.org/cordova/ns/plugins/1.0` . Es enthält eine Top-Level- `plugin` Element, das das Plugin definiert, und Kinder, die die Struktur des Plugins zu definieren. - -Ein Beispiel-Plugin-Element: - - - - - -## *Plugin* Element - -Das `plugin` Element ist das Plugin Manifest Element der obersten Ebene. Es verfügt über die folgenden Attribute: - -* `xmlns`(erforderlich): die Plugin-Namespace `http://apache.org/cordova/ns/plugins/1.0` . Enthält das Dokument XML aus anderen Namespaces, z. B. Tags hinzugefügt werden die `AndroidManifest.xml` -Datei, diese Namespaces sollten auch in Element der obersten Ebene enthalten sein. - -* `id`(erforderlich): eine Reverse-Domain style Bezeichner für das Plugin, wie`com.alunny.foo` - -* `version`(erforderlich): eine Versionsnummer für das Plugin, das den folgende reguläre Ausdruck der Major-Minor-Patch Stil entspricht: - - ^\d+[.]\d+[.]\d+$ - - -## *Motoren* und *Motor* -Elemente - -Die untergeordneten Elemente der `` Element angeben Versionen von Apache-Cordova-basierten Frameworks, die dieses Plugin unterstützt. Ein Beispiel: - - - - - - - - -Ähnlich wie die `` des Elements `version` Attribut, die angegebenen Versionszeichenfolge sollte eine Major-Minor-Patch-Zeichenfolge, die dem regulären Ausdruck entsprechen entsprechen: - - ^\d+[.]\d+[.]\d+$ - - -Motor-Elemente können auch angeben, fuzzy-Treffer um Wiederholung zu vermeiden und Wartung zu verringern, wenn die zugrunde liegende Plattform aktualisiert wird. Supporttools sollte mindestens `>` , `>=` , `<` und `<=` , zum Beispiel: - - - - - - - -Die `` Markierungen hat auch Standardunterstützung für alle die Hauptplattformen Cordova ist vorhanden. Angabe der `cordova` Motor Tag bedeutet, dass alle Versionen von Cordova auf jeder Plattform das Motor-Version-Attribut genügen müssen. Sie können auch eine Liste bestimmte Plattformen und ihre Versionen um die CatchAll-überschreiben `cordova` Motor: - - - - - - - - -Hier ist eine Liste der Standard-Motoren, die das Tag `< engine >` unterstützt: - -* `cordova` -* `cordova-plugman` -* `cordova-amazon-fireos` -* `cordova-android` -* `cordova-ios` -* `cordova-blackberry10` -* `cordova-wp8` -* `cordova-windows8` -* `android-sdk` // returns the highest Android api level installed -* `apple-xcode` // returns the xcode version -* `apple-ios` // returns the highest iOS version installed -* `apple-osx` // returns the OSX version -* `blackberry-ndk` // returns the native blackberry SDK version - -Benutzerdefinierte Apache Cordova-basierten Frameworks sollte aufgeführt sein, unter dem Motor-Tag angeben, etwa so: - - - - - - - - -Ein benutzerdefinierter Apache Cordova-basiertes Framework erfordert, dass ein Motor-Element die folgenden Attribute enthält: `name` , `version` , `scriptSrc` , und`platform`. - -* `name` (erforderlich): einen lesbaren Namen für Ihre benutzerdefinierte Rahmen. - -* `version` (erforderlich): die Version, die Ihr Framework verfügen muss, um zu installieren. - -* `scriptSrc` (erforderlich): die Skriptdatei, die Plugman sagt, welche Version von benutzerdefinierten Rahmen ist. Idealerweise sollte diese Datei innerhalb des Verzeichnisses der obersten Ebene für Ihr Pluginverzeichnis sein. - -* `platform` (erforderlich): Welche Plattformen, Ihr Framework unterstützt. Sie können den Platzhalter `*` zu sagen, für alle Plattformen unterstützt, geben mehrere mit ein Pipe-Zeichen wie `android|ios|blackberry10` oder nur eine einzelne Plattform wie `android`. - -Plugman bricht mit einem NULL-Code für jedes Plugin, dessen Ziel-Projekt des Motors Einschränkungen nicht erfüllt. - -Wenn keine `` Markierungen angegeben ist, Plugman blind in das Projektverzeichnis angegebenen Cordova zu installieren versucht. - -## *Name* Element - -Ein lesbarer Name für das Plugin, dessen Textinhalt den Namen des plugins enthält. Zum Beispiel: - - Foo - - -Dieses Element nicht (noch) Lokalisierung zu behandeln. - -## *Beschreibung* Element - -Eine Klartextbeschreibung für das Plugin. Der Textinhalt des Elements enthält die Beschreibung des Plugins. Ein Beispiel: - - Foo plugin description - - -Dieses Element nicht (noch) Lokalisierung zu behandeln. - -## *Autor* Element - -Plugin-Autor-Namen. Der Textinhalt des Elements enthält den Namen des Autors Plugin. Ein Beispiel: - - Foo plugin description - - -## *Schlüsselwörter* Element - -Plugin-Schlüsselwörter. Der Textinhalt des Elements enthält eine durch Kommas getrennte Stichwörter, um das Plugin zu beschreiben. Ein Beispiel: - - foo,bar - - -## *Lizenz* Element - -Plugin-Lizenz. Der Textinhalt des Elements enthält das Plugin-Lizenz. Ein Beispiel: - - Apache 2.0 License - - -## *Asset* Element - -Ein oder mehrere Elemente Auflisten der Dateien oder Verzeichnisse in einer Cordova app kopieren `www` Verzeichnis. Beispiele: - - - - - - - -Alle `` Tags erfordern beide `src` und `target` Attribute. Nur Web-Plugins enthält meist `` Elemente. Alle `` Elemente, die geschachtelt sind `` Elemente geben plattformspezifische Web Vermögenswerte, wie unten beschrieben. Attribute enthalten: - -* `src` (erforderlich): wo ist die Datei oder das Verzeichnis in das Plugin-Paket relativ zum Dokument `plugin.xml` liegt. Wenn eine Datei am Speicherort angegebenen `Src` nicht existiert, Plugman beendet und kehrt den Installationsvorgang, gibt eine Benachrichtigung über den Konflikt und beendet mit einem NULL-Code. - -* `target` (required): - - Wo die Datei oder das Verzeichnis in der app Cordova auf das `Www` -Verzeichnis platziert werden soll. Vermögenswerte können zum Beispiel auf Unterverzeichnisse, eingesetzt werden: - - - - - Das `Js/experimental` Verzeichnis im `Www` -Verzeichnis erstellt, sofern nicht bereits vorhanden, dann kopiert die `new-foo.js` -Datei und benennt es `foo.js`. Existiert eine Datei schon am Zielort, Plugman beendet und kehrt den Installationsvorgang, gibt eine Benachrichtigung über den Konflikt und beendet mit einem NULL-Code. - -## *Js-Modul* Element - -Die meisten Plugins enthalten eine oder mehrere JavaScript-Dateien. Jeder `` Tag entspricht einer JavaScript-Datei, und verhindert, dass das Plugin Benutzer hinzufügen ein `