http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/it/edge/guide/platforms/win8/plugin.md ---------------------------------------------------------------------- diff --git a/docs/it/edge/guide/platforms/win8/plugin.md b/docs/it/edge/guide/platforms/win8/plugin.md index 487fb44..9ddcac0 100644 --- a/docs/it/edge/guide/platforms/win8/plugin.md +++ b/docs/it/edge/guide/platforms/win8/plugin.md @@ -13,17 +13,17 @@ licenza: licenza uno o più contratti di licenza di collaboratore per l'Apache S ## under the License. -# Plugin di Windows 8 +# Plugin di Windows In questa sezione vengono fornite informazioni dettagliate per come implementare un plugin da utilizzare in un'applicazione Windows Store. Prima di leggere questo, vedere applicazione plugin per una panoramica della struttura del plugin e la sua interfaccia JavaScript comune. Questa sezione continua a dimostrare il plugin di esempio *eco* che comunica da Cordova webview alla piattaforma nativa e ritorno. -à importante notare che Windows 8 supporta lo sviluppo direttamente in Javascript, che significa sviluppare le porzioni 'native' solo richiesto in casi particolari. +à importante notare che Windows supporta lo sviluppo direttamente in Javascript, che significa sviluppare le porzioni 'native' solo richiesto in casi particolari. -## Creazione di un Plugin di Windows 8 in JavaScript +## Creazione di un Plugin di Windows in JavaScript Queste istruzioni sono per creare un plugin JavaScript puro. Questa comprensione è fondamentale per capire come aggiungere i bit nativo/gestito. -Windows 8 Cordova plugin sono essenzialmente un wrapper sottile esistente WinJS fornito di funzioni, ma supponendo che si desidera definire un'interfaccia comune JS per più dispositivi, in genere avrete 1 file JS che fornisce le API. +Windows Cordova plugin sono essenzialmente un wrapper sottile esistente WinJS fornito di funzioni, ma supponendo che si desidera definire un'interfaccia comune JS per più dispositivi, in genere avrete 1 file JS che fornisce le API. // inside file echoplugin.js var EchoPlugin = { @@ -35,9 +35,9 @@ Windows 8 Cordova plugin sono essenzialmente un wrapper sottile esistente WinJS } -## Exec all'interno di Cordova su Windows 8 +## Exec all'interno di Cordova su Windows -La funzione cordova.exec è definita in modo diverso su ogni piattaforma, questo è perché ogni piattaforma ha il proprio modo di comunicare tra il codice js di applicazione e il codice wrapper nativo. Ma nel caso di Windows 8, non non c'è nessun wrapper nativo, quindi la chiamata exec c'è coerenza. Si potrebbe fare il tuo lavoro di unico plugin js direttamente in EchoPlugin.echo, qualcosa come: +La funzione cordova.exec è definita in modo diverso su ogni piattaforma, questo è perché ogni piattaforma ha il proprio modo di comunicare tra il codice js di applicazione e il codice wrapper nativo. Ma nel caso di Windows, non non c'è nessun wrapper nativo, quindi la chiamata exec c'è coerenza. Si potrebbe fare il tuo lavoro di unico plugin js direttamente in EchoPlugin.echo, qualcosa come: // inside file echoplugin.js ( this is what NOT to do if you want to reuse the JS API cross platform ) var EchoPlugin = { @@ -52,17 +52,17 @@ La funzione cordova.exec è definita in modo diverso su ogni piattaforma, questo } -Questo sarebbe/potrebbe funzionare bene, però significa che avrete bisogno di diverse versioni di echoPlugin.js per diverse piattaforme, e forse si potrebbero avere problemi con incongruenze nelle implementazioni. Come best practice, abbiamo deciso di simulare un'API nativa all'interno cordova.exec su Windows 8, così potremmo eseguire lo stesso codice JS e non dover riscriverlo per la piattaforma e anche di approfittare di qualsiasi parametro di controllo, o altri comune codice fornito dagli sviluppatori che stavano lavorando su altre piattaforme. +Questo sarebbe/potrebbe funzionare bene, però significa che avrete bisogno di diverse versioni di echoPlugin.js per diverse piattaforme, e forse si potrebbero avere problemi con incongruenze nelle implementazioni. Come best practice, abbiamo deciso di simulare un'API nativa all'interno cordova.exec su Windows, quindi potremmo eseguire lo stesso codice JS e non dover riscriverlo per la piattaforma e anche di approfittare di qualsiasi parametro di controllo, o altri comune codice fornito dagli sviluppatori che stavano lavorando su altre piattaforme. ## Il proxy di exec Cordova -Windows 8, cordova fornisce un proxy che è possibile utilizzare per registrare un oggetto che consente di gestire tutte le chiamate di cordova.exec a un'API. +Su Windows, cordova fornisce un proxy che è possibile utilizzare per registrare un oggetto che consente di gestire tutte le chiamate di cordova.exec a un'API. Ad esempio se si desidera fornire l'implementazione dell'API di accelerometro, si dovrebbe fare questo: cordova.commandProxy.add ("Accelerometro", {start: funzione () {/ / il tuo codice qui...} / /... e il resto dell'API qui}); -Così nel nostro caso, si presuppone che il codice in echoplugin.js è gestione multipiattaforma pertinenti JavaScript e si può scrivere semplicemente un proxy per Windows 8 +Così nel nostro caso, si presuppone che il codice in echoplugin.js è gestione multipiattaforma pertinenti JavaScript e si può scrivere semplicemente un proxy per Windows // in file echopluginProxy.js cordova.commandProxy.add("EchoPlugin",{ @@ -92,9 +92,9 @@ Se vogliamo che gli utenti del nostro plugin per poter installare facilmente il <clobbers target="window.echoplugin" /> </js-module> - <!-- windows8 --> - <platform name="windows8"> - <js-module src="src/windows8/echopluginProxy.js" name="EchoProxy"> + <!-- windows --> + <platform name="windows"> + <js-module src="src/windows/echopluginProxy.js" name="EchoProxy"> <merges target="" /> </js-module> </platform> @@ -104,11 +104,11 @@ Se vogliamo che gli utenti del nostro plugin per poter installare facilmente il </plugin> -Questo ci dà un lavoro Windows 8 JavaScript plugin che utilizza un file comune (echoplugin.js) e utilizza un proxy per fornire l'unica porzione di Windows 8 di implementazione (echopluginProxy.js). Quindi, come possiamo aggiungere il codice nativo/gestito a questo? Bene, stiamo per iniziare lo stesso, l'unica differenza sarà quello che facciamo dentro nei metodi echopluginProxy. +Questo ci dà un lavoro Windows JavaScript plugin che utilizza un file comune (echoplugin.js) e utilizza un proxy per fornire l'unica porzione di Windows di implementazione (echopluginProxy.js). Quindi, come possiamo aggiungere il codice nativo/gestito a questo? Bene, stiamo per iniziare lo stesso, l'unica differenza sarà quello che facciamo dentro nei metodi echopluginProxy. # Come WinJS accede nativo/gestito -In Windows 8, WinJS apps creati sono in grado di interagire con codice nativo, questa Inter-op è disponibile per i componenti di Runtime di Windows. I dettagli sono numerosi, e questa guida riguarderà solo le basi. Microsoft fornisce informazioni molto più [qui][2]. +In Windows, WinJS apps creati sono in grado di interagire con codice nativo, questa Inter-op è disponibile per i componenti di Runtime di Windows. I dettagli sono numerosi, e questa guida riguarderà solo le basi. Microsoft fornisce informazioni molto più [qui][2]. [2]: http://msdn.microsoft.com/en-us/library/windows/apps/hh441569.aspx @@ -159,13 +159,13 @@ var res = EchoRuntimeComponent.EchoPluginRT.echo("boom"); Questo movimento al no }); -E questo è tutto, abbiamo un'estremità C++ sostenuta js plugin richiamabile per uso in Apache Cordova Windows 8! +E questo è tutto, abbiamo un'estremità C++ sostenuta js plugin richiamabile per uso in Apache Cordova Windows! # Alcune note tecniche: * il callback è tipicamente async, quindi chiamando il callback subito probabilmente non è previsto dal chiamante. In pratica, se la chiamata non è asincrona, si dovrebbe almeno utilizzare un timeout di javascript per forzare il callback chiamata async. * Classi attivabili possono fare tutti i generi di impressionante, come evento dispacciamento, callback asincrono, passando i propri tipi di oggetto, matrici, collezioni, metodi di overload e molto altro ancora. Vi consiglio di che fare il vostro lavoro. -* Se attacchi ai comuni Windows Phone 8 e le chiamate API SDK di Windows 8, sarà in grado di utilizzare lo stesso componente runtime (bit nativo o gestito) in un plugin di Windows Phone 8 Apache Cordova. ~ Rimanete sintonizzati per quel post. +* Se attacchi ai comuni 8.0 di Windows Phone e Windows SDK API chiamate, sarete in grado di utilizzare lo stesso componente runtime (bit nativo o gestito) in un plugin di Windows Phone 8.0 Apache Cordova. ~ Rimanete sintonizzati per quel post. # Definendo il tuo plugin @@ -180,12 +180,12 @@ Ora che abbiamo un plugin di lavoro, abbiamo bisogno di rivedere la definizione <clobbers target="window.echoplugin" /> </js-module> - <!-- windows8 --> - <platform name="windows8"> - <js-module src="src/windows8/echopluginProxy.js" name="EchoProxy"> + <!-- windows --> + <platform name="windows"> + <js-module src="src/windows/echopluginProxy.js" name="EchoProxy"> <merges target="" /> </js-module> - <framework src="src/windows8/EchoRuntimeComponent.winmd" custom="true"/> + <framework src="src/windows/EchoRuntimeComponent.winmd" custom="true"/> </platform> <!-- other platforms --> @@ -193,8 +193,8 @@ Ora che abbiamo un plugin di lavoro, abbiamo bisogno di rivedere la definizione </plugin> -Ecco, ora avete un plugin distribuibile che puoi condividere con il mondo! Una cosa da notare, solo recentemente è stato aggiunto il supporto per l'aggiunta di quadri al progetto Windows 8 Cordova quindi sarà necessario assicurarsi che il vostro cordova utensileria corrente. Cordova-cli e cordova-plugman entrambi supportano l'aggiunta rimozione plugin backup nativo. +Ecco, ora avete un plugin distribuibile che puoi condividere con il mondo! Una cosa da notare, solo recentemente è stato aggiunto il supporto per l'aggiunta di quadri al progetto Windows Cordova quindi sarà necessario assicurarsi che il vostro cordova utensileria corrente. Cordova-cli e cordova-plugman entrambi supportano l'aggiunta rimozione plugin backup nativo. -> cordova plugin aggiungere com.risingj.echoplugin o > plugman installare - piattaforma windows8 - plugin com.risingj.echoplugin - progetto. +> cordova plugin add com.risingj.echoplugin or > plugman install --platform windows --plugin com.risingj.echoplugin --project . https://github.com/purplecabbage/Cordova-runtimecomp-echoplug \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/it/edge/guide/platforms/wp8/index.md ---------------------------------------------------------------------- diff --git a/docs/it/edge/guide/platforms/wp8/index.md b/docs/it/edge/guide/platforms/wp8/index.md index 0eb3fc6..9dd54b7 100644 --- a/docs/it/edge/guide/platforms/wp8/index.md +++ b/docs/it/edge/guide/platforms/wp8/index.md @@ -75,7 +75,7 @@ Se si desidera utilizzare strumenti shell Windows Phone-centrata di Cordova in c [9]: http://cordova.apache.org -Questi strumenti shell consentono di creare, compilare ed eseguire applicazioni Windows Phone. Per informazioni sull'interfaccia della riga di comando aggiuntiva che attiva il plugin funzionalità su tutte le piattaforme, vedere utilizzando Plugman per gestire i plugin. Vedere applicazione plugin per indicazioni su come sviluppare plugin e Windows Phone Plugins per dettagli specifici per la piattaforma Windows Phone. +Questi strumenti shell consentono di creare, compilare ed eseguire applicazioni Windows Phone. Per informazioni sull'interfaccia della riga di comando aggiuntiva che attiva il plugin funzionalità su tutte le piattaforme, vedere utilizzando Plugman per gestire i plugin. Vedere applicazione plugin per indicazioni su come sviluppare plugin e Windows Phone 8 Plugins per dettagli specifici per la piattaforma Windows Phone. ## Installare il SDK http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/it/edge/guide/platforms/wp8/webview.md ---------------------------------------------------------------------- diff --git a/docs/it/edge/guide/platforms/wp8/webview.md b/docs/it/edge/guide/platforms/wp8/webview.md new file mode 100644 index 0000000..81ae8d4 --- /dev/null +++ b/docs/it/edge/guide/platforms/wp8/webview.md @@ -0,0 +1,39 @@ +* * * + +licenza: licenza uno o più contratti di licenza di collaboratore per l'Apache Software Foundation (ASF). 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. + + +* * * + +# Windows Phone visualizzazioni 8,0 Web + +Questa guida Mostra come incorporare un componente WebView Cordova abilitato all'interno di un'applicazione Windows Phone 8.0 più grande. + +Per seguire queste istruzioni, assicuratevi di che avere l'ultima distribuzione di Cordova. Scaricare da [cordova.apache.org](http://cordova.apache.org) e decomprimere il pacchetto Windows Phone 8.0 (cordova-wp8-*. zip). + + 1. Spostarsi del pacchetto `wp8/framework` directory e costruire `WPCordovaClassLib.sln` . Crea il`Bin\Debug[Release]\WPCordovaClassLib.dll`. + + 2. Copia il `WPCordovaClassLib.dll` file al progetto Windows Phone 8 `/libs` directory e includono `WPCordovaClassLib.dll` al progetto tramite `Project->References->Add Reference` . In alternativa, può fare riferimento direttamente al `wp8/framework/WPCordovaClassLib.csproj` file. + + 3. Aggiungi `CordovaView` componente alla tua pagina (ad esempio,`MainPage.xaml`). + + xmlns:my="clr-namespace:WPCordovaClassLib;assembly=WPCordovaClassLib"> + ... + <my:CordovaView HorizontalAlignment="Stretch" Margin="0,0,0,0" + StartPageUri="html/index.html" x:Name="CordovaView" VerticalAlignment="Stretch" /> + + + 4. Copia `common/www/cordova.js` insieme con i file dell'applicazione HTML e JavaScript per il progetto Windows Phone 8 `html` directory e comprendono nuovi file al progetto. + + 5. Copia il `wp8/template/config.xml` nella directory radice del progetto e + +Istruzioni di cui sopra saranno link componenti Cordova core solo, vedere utilizzando Plugman per gestire i plugin per collegare i plugins di Cordova. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/ja/edge/cordova/plugins/pluginapis.md ---------------------------------------------------------------------- diff --git a/docs/ja/edge/cordova/plugins/pluginapis.md b/docs/ja/edge/cordova/plugins/pluginapis.md index 64b89d2..6acc7ff 100644 --- a/docs/ja/edge/cordova/plugins/pluginapis.md +++ b/docs/ja/edge/cordova/plugins/pluginapis.md @@ -104,7 +104,7 @@ [10]: http://plugins.cordova.io/#/package/org.apache.cordova.file [11]: http://plugins.cordova.io/#/package/org.apache.cordova.file-transfer [12]: http://plugins.cordova.io/#/package/org.apache.cordova.geolocation - [13]: http://plugins.cordova.io/#/package/org.apache.globalization + [13]: http://plugins.cordova.io/#/package/org.apache.cordova.globalization [14]: http://plugins.cordova.io/#/package/org.apache.cordova.inappbrowser [15]: http://plugins.cordova.io/#/package/org.apache.cordova.media [16]: http://plugins.cordova.io/#/package/org.apache.cordova.media-capture http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/ja/edge/guide/appdev/whitelist/index.md ---------------------------------------------------------------------- diff --git a/docs/ja/edge/guide/appdev/whitelist/index.md b/docs/ja/edge/guide/appdev/whitelist/index.md index 8b5dacb..438728a 100644 --- a/docs/ja/edge/guide/appdev/whitelist/index.md +++ b/docs/ja/edge/guide/appdev/whitelist/index.md @@ -69,7 +69,7 @@ **注**: ããã«å¤é¨ Url ãé²ãããã« `mailto:` ã³ã«ãã 3.6.0ãç¾å¨ã³ã«ãã webview ã§éããã¦ããããã®æå® `origin="*"` å ´ä¸ http ããã³ https ãããã³ã«ã®ã«ã¼ã«ã追å ããã¾ãã 追å ã®ã«ã¹ã¿ã ãããã³ã«ã¸ã®ã¢ã¯ã»ã¹ãå¿ è¦ãªå ´åå¿ è¦ãããã¾ãããã¦ã«è¿½å æç¤ºçã«ãã¯ã¤ã ãªã¹ãã«ã ã¾ããå¤é¨ã¢ããªã±ã¼ã·ã§ã³ ãã¯ã¤ã ãªã¹ããURL ãå¤é¨ã¢ããªã±ã¼ã·ã§ã³ã®èµ·åã®è©³ç´°ã«ã¤ãã¦ä¸è¨åç §ãã¦ãã ããã -**ã¡ã¢**: ããã¤ããããã¯ã¼ã¯è¦æ±ã³ã«ãã ãã¯ã¤ã ãªã¹ããééãã¾ããããããå«ã¾ãã¦ãã¾ã <video> 㨠<audio> è³æºãWebSocket æ¥ç¶ (Android 4.4 +)ãããã³ãã®ä»ã®é http è¦æ±ãã¢ã³ããã¤ã 4.4 + ãå«ãããã¨ãã§ãã¾ãã [CSP][8] ãããã®ãªã½ã¼ã¹ã¸ã®ã¢ã¯ã»ã¹ãå¶éãHTML ããã¥ã¡ã³ãå ã®ãããã¼ãAndroid ã®å¤ããã¼ã¸ã§ã³ã¯ããããå¶éã§ããªããã¨ãããã¾ãã +**注**: ããã¤ããããã¯ã¼ã¯è¦æ±ééããªãã³ã«ãã ãã¯ã¤ã ãªã¹ãã < ãã㪠> ãããå«ã¾ãã¦ãã¾ã㨠< ãªã¼ãã£ãª > è³æºãWebSocket æ¥ç¶ (Android 4.4 +)ãããã³å¤åä»é http è¦æ±ã ã¢ã³ããã¤ã 4.4 +ããããã®ãªã½ã¼ã¹ã¸ã®ã¢ã¯ã»ã¹ãå¶éãã HTML ããã¥ã¡ã³ãã§ã [CSP][8]ãããã¼ãå«ãããã¨ãã§ãã¾ãã Android ã®å¤ããã¼ã¸ã§ã³ã¯ããããå¶éã§ããªããã¨ãããã¾ãã [8]: https://developer.mozilla.org/en-US/docs/Web/Security/CSP/Introducing_Content_Security_Policy @@ -111,7 +111,7 @@ Interal ãã¯ã¤ã ãªã¹ãã¯ãã¾ãããã¹ãããã¢ããªã±ã¼ã· IOS ãã©ãããã©ã¼ã ä¸ã®ã¯ã¤ã«ãã«ã¼ãã¯ã [W3C ã®ã¦ã£ã¸ã§ãã ã¢ã¯ã»ã¹][1]仿§ãããæè»æ§ã§ãã ãã¨ãã°ã次ã«ã¢ã¯ã»ã¹ãããã¹ã¦ã®ãµããã¡ã¤ã³ããã³ãããã¬ãã« ãã¡ã¤ã³ãªã©ã `.com` 㨠`.net` ï¼ - < ã¢ã¯ã»ã¹å§ç¹ ="*.google. *"/> + <access origin="*.google.*" /> ãã¯ã¤ã ãªã¹ãã«ç»é²ãã¦éçµç±ã§ãã¡ã¤ã³ã¸ã®ç§»åãä¸è¿°ãã Android ã®ãã©ãããã©ã¼ã ã¨ã¯ç°ãªã `href` iOS ä¸ã®ãã¤ãã¼ãªã³ã¯ããã¾ã£ããéãã¦ãã¼ã¸ãé²ãã¾ãã @@ -124,17 +124,17 @@ IOS ãã©ãããã©ã¼ã ä¸ã®ã¯ã¤ã«ãã«ã¼ãã¯ã [W3C ã®ã¦ã£ã¸ * ã«ãã£ã¦ã¢ã¯ã»ã¹ã§ããã³ã³ãã³ã `XMLHttpRequest` æç¤ºçã«å®£è¨ããå¿ è¦ãããã¾ãã è¨å® `origin="*"` ãã®å ´ååä½ãã¾ããã ã¾ãããã¹ã¦ã® web ã»ãã¥ãªãã£ã§ããªãå¯è½æ§ãããã¾ãã使ç¨ãã¦ã `WebSecurity` 好ã¿ã®ãã©ãã¯ããªã¼ã®æ§æã§èª¬æï¼ - < è¨å®å"websecurity"ã®å¤ã = =ãç¡å¹ã/> + <preference name="websecurity" value="disable" /> * è¨å®ã«ä»£ãããã®ã¨ã㦠`*.domain` ãã»ããã `subdomains` 屿§ã `true` ã è¨å®ããå¿ è¦ãããã¾ã `false` ããã©ã«ãã§ã ãã¨ãã°ã次ã®ããã«ã¢ã¯ã»ã¹ãã§ãã¾ã `google.com` ã `maps.google.com` ãããã³ `docs.google.com` : - < ã¢ã¯ã»ã¹å§ç¹ããµããã¡ã¤ã³"http://google.com"= ="true"/> + <access origin="http://google.com" subdomains="true" /> 次ã®éå®ã«ã¢ã¯ã»ã¹ãã `google.com` : - < ã¢ã¯ã»ã¹å§ç¹ããµããã¡ã¤ã³"http://google.com"= ="false"/> + <access origin="http://google.com" subdomains="false" /> ãã¼ã«ã«ãå«ããã¹ã¦ã®ãã¡ã¤ã³ã¸ã®ã¢ã¯ã»ã¹ãæå®ãã `file://` ãããã³ã«ã http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/ja/edge/guide/hybrid/plugins/index.md ---------------------------------------------------------------------- diff --git a/docs/ja/edge/guide/hybrid/plugins/index.md b/docs/ja/edge/guide/hybrid/plugins/index.md index b95b6c7..75403d5 100644 --- a/docs/ja/edge/guide/hybrid/plugins/index.md +++ b/docs/ja/edge/guide/hybrid/plugins/index.md @@ -134,8 +134,8 @@ JavaScript ã¯ããã©ã°ã¤ã³ã®ããããæãéè¦ãªé¨åãä½ãæ£ * Android ã®ãã©ã°ã¤ã³ * iOS ã®ãã©ã°ã¤ã³ * ãã©ãã¯ããªã¼ 10 ãã©ã°ã¤ã³ -* Windows Phone ã®ãã©ã°ã¤ã³ -* Windows 8 ã®ãã©ã°ã¤ã³ +* Windows Phone 8 ãã©ã°ã¤ã³ +* Windows ã®ãã©ã°ã¤ã³ Tizen ãã©ãããã©ã¼ã ã®ãã©ã°ã¤ã³ããµãã¼ããã¦ãã¾ããã http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/ja/edge/guide/hybrid/webviews/index.md ---------------------------------------------------------------------- diff --git a/docs/ja/edge/guide/hybrid/webviews/index.md b/docs/ja/edge/guide/hybrid/webviews/index.md index 86de19d..47d68cd 100644 --- a/docs/ja/edge/guide/hybrid/webviews/index.md +++ b/docs/ja/edge/guide/hybrid/webviews/index.md @@ -21,4 +21,5 @@ WebView ãå±éããã«ã¯ãåãã¤ãã£ã ããã°ã©ãã³ã°ç°å¢ * ã¢ãã¾ã³ç« OS web 表示 * Android ã® web 表示 -* iOS ã® web 表示 \ No newline at end of file +* iOS ã® web 表示 +* Windows Phone 8.0 web 表示 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/ja/edge/guide/platforms/index.md ---------------------------------------------------------------------- diff --git a/docs/ja/edge/guide/platforms/index.md b/docs/ja/edge/guide/platforms/index.md index fcabc84..37b27fc 100644 --- a/docs/ja/edge/guide/platforms/index.md +++ b/docs/ja/edge/guide/platforms/index.md @@ -72,6 +72,7 @@ Cordova ã¢ããªãéçºããã«ã¯ãåã¢ãã¤ã« ãã©ãããã©ã¼ ## Windows * Windows ãã©ãããã©ã¼ã ã®ã¬ã¤ã +* Windows ã®ãã©ã°ã¤ã³ * Windows 8 ã¢ããã°ã¬ã¼ã ## Tizen http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/ja/edge/guide/platforms/win8/plugin.md ---------------------------------------------------------------------- diff --git a/docs/ja/edge/guide/platforms/win8/plugin.md b/docs/ja/edge/guide/platforms/win8/plugin.md index 28860cc..761eddf 100644 --- a/docs/ja/edge/guide/platforms/win8/plugin.md +++ b/docs/ja/edge/guide/platforms/win8/plugin.md @@ -13,17 +13,17 @@ ## under the License. -# Windows 8 ã®ãã©ã°ã¤ã³ +# Windows ã®ãã©ã°ã¤ã³ Windows ã¹ã㢠ã¢ããªã§ä½¿ç¨ããããã®ãã©ã°ã¤ã³ãå®è£ ããæ¹æ³ã®è©³ç´°ã«ã¤ãã¦èª¬æãã¾ãããããèªãåã«ããã©ã°ã¤ã³ã®æ§é ã¨ãã®ä¸è¬ç㪠JavaScript ã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®æ¦è¦ã«ã¤ãã¦ã¢ããªã±ã¼ã·ã§ã³ ã» ãã©ã°ã¤ã³ãåç §ãã¦ãã ããã ãã®ã»ã¯ã·ã§ã³ã¯ããã¤ãã£ã ãã©ãããã©ã¼ã ã«æ»ãã³ã«ãã webview ããéä¿¡ãããµã³ãã«*ã¨ã³ã¼*ãã©ã°ã¤ã³ã示ãããã«ç¶ãã¦ãã¾ãã -Windows 8 ãç´æ¥ Javascript ã§ã¯ãéçºã«å¿ è¦ãªç¹å¥ãªã±ã¼ã¹ã ãã§ 'native' ã®é¨åãæå³ããéçºããµãã¼ããããã¨ã«æ³¨æãã¦ãã ãããããã¨ãéè¦ã§ãã +Windows ãç´æ¥ Javascript ã§ã¯ãéçºã«å¿ è¦ãªç¹å¥ãªã±ã¼ã¹ã ãã§ 'native' ã®é¨åãæå³ããéçºããµãã¼ããããã¨ã«æ³¨æãã¦ãã ãããããã¨ãéè¦ã§ãã -## Java ã¹ã¯ãªããã®è¨å®ã§ Windows 8 ãã©ã°ã¤ã³ã使ãã¾ãã +## Java ã¹ã¯ãªããã®è¨å®ã§ãWindows ã®ãã©ã°ã¤ã³ã®ä½æ ãããã®æé ã¯ãç´ç²ãª JavaScript ã®ãã©ã°ã¤ã³ã使ãã¾ãããããçè§£ãããã¤ãã£ã/ããã¼ã¸ ãããã追å ããæ¹æ³ãçè§£ããéè¦ã§ãã -Windows 8 ã³ã«ãã ãã©ã°ã¤ã³ã¯æ¬è³ªçã«èãã©ããã¼é¢æ°ã¯ãæä¾ããã¦ããæ¢åã® WinJS ãè¤æ°ã®ããã¤ã¹ã¯ãJS å ±éã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®ç¾©ãããã¨ä»®å®ããã¨ãé常㯠1 ã® JS ãã¡ã¤ã«ã API ãæä¾ãã¾ãã +Windows ã³ã«ãã ãã©ã°ã¤ã³ã¯æ¬è³ªçã«èãã©ããã¼é¢æ°ã¯ãæä¾ããã¦ããæ¢åã® WinJS ãè¤æ°ã®ããã¤ã¹ã¯ãJS å ±éã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®ç¾©ãããã¨ä»®å®ããã¨ãé常㯠1 ã® JS ãã¡ã¤ã«ã API ãæä¾ãã¾ãã // inside file echoplugin.js var EchoPlugin = { @@ -35,9 +35,9 @@ Windows 8 ã³ã«ãã ãã©ã°ã¤ã³ã¯æ¬è³ªçã«èãã©ããã¼é¢æ°ã¯ } -## Windows 8 ã®å å´ã®ã³ã«ãã exec +## Windows ã®å é¨ã®ã³ã«ãã exec -Cordova.exec 颿°ã¯ããã¹ã¦ã®ãã©ãããã©ã¼ã ã§å®ç¾©ãç°ãªãã®ã§ãããã¯åãã©ãããã©ã¼ã ã«ã¯ãã¢ããªã±ã¼ã·ã§ã³ã® js ã³ã¼ãã¨ãã¤ãã£ã ã©ããã¼ ã³ã¼ãéã®éä¿¡ã®ããèªèº«ã®æ¹æ³ã ããããWindows 8 ã®å ´å exec å¼ã³åºããä¸è²«æ§ãä¿ã¤ã®ããã«ããã®ã§ããã¤ãã£ã ã©ããã¼ã¯ããã¾ããã ããªããããªãã®ä»äº js ã®ã¿ãã©ã°ã¤ã³ EchoPlugin.echo ã§ç´æ¥ã®ãããªãã®ï¼ +Cordova.exec 颿°ã¯ããã¹ã¦ã®ãã©ãããã©ã¼ã ã§å®ç¾©ãç°ãªãã®ã§ãããã¯åãã©ãããã©ã¼ã ã«ã¯ãã¢ããªã±ã¼ã·ã§ã³ã® js ã³ã¼ãã¨ãã¤ãã£ã ã©ããã¼ ã³ã¼ãéã®éä¿¡ã®ããèªèº«ã®æ¹æ³ã ããããWindows ã®å ´å exec å¼ã³åºããä¸è²«æ§ãä¿ã¤ã®ããã«ããã®ã§ããã¤ãã£ã ã©ããã¼ã¯ããã¾ããã ããªããããªãã®ä»äº js ã®ã¿ãã©ã°ã¤ã³ EchoPlugin.echo ã§ç´æ¥ã®ãããªãã®ï¼ // inside file echoplugin.js ( this is what NOT to do if you want to reuse the JS API cross platform ) var EchoPlugin = { @@ -52,17 +52,17 @@ Cordova.exec 颿°ã¯ããã¹ã¦ã®ãã©ãããã©ã¼ã ã§å®ç¾©ãç°ãª } -ããã¯å¯è½æ§ããã¾ããããããããã¨ãæå³ãã¾ããç°ãªããã©ãããã©ã¼ã ç¨ã® echoPlugin.js ã®ç°ãªããã¼ã¸ã§ã³ãå¿ è¦ãããã¾ãããããå®è£ ã«ä¸æ´åã®åé¡ãæã£ã¦å¯è½æ§ãããã¾ãã ãã¹ã ãã©ã¯ãã£ã¹ã¨ãã¦ãæã ã§ããåã JS ã³ã¼ããå®è¡ãããã©ãããã©ã¼ã ã®æ¸ãæãããã¦ããªããä»»æã®ãã©ã¡ã¼ã¿ã¼ããã§ãã¯ã¾ãã¯ä»ã®ãã©ãããã©ã¼ã ã§åãã¦ããéçºè ã«ãã£ã¦æä¾ããããã®ä»ã®ä¸è¬çãªã³ã¼ãã®å©ç¹ãåãããã« Windows 8 ã§ã¯ãcordova.exec å ã®ãã¤ãã£ã API ãæ¨¡å£ãããã¨ã決ããã +ããã¯å¯è½æ§ããã¾ããããããããã¨ãæå³ãã¾ããç°ãªããã©ãããã©ã¼ã ç¨ã® echoPlugin.js ã®ç°ãªããã¼ã¸ã§ã³ãå¿ è¦ãããã¾ãããããå®è£ ã«ä¸æ´åã®åé¡ãæã£ã¦å¯è½æ§ãããã¾ãã ãã¹ã ãã©ã¯ãã£ã¹ã¨ãã¦ãæã ã§ããåã JS ã³ã¼ããå®è¡ãããã©ãããã©ã¼ã ã®æ¸ãæãããã¦ããªããä»»æã®ãã©ã¡ã¼ã¿ã¼ããã§ãã¯ãã¾ãã¯ä»ã®ä¸è¬çãªã³ã¼ãä»ã®ãã©ãããã©ã¼ã ã§åãã¦ããéçºè ã«ãã£ã¦æä¾ãããå©ç¹ãåãã®ã§ãwindows ã§ã¯ãcordova.exec å ã®ãã¤ãã£ã API ãæ¨¡å£ãããã¨ã決ããã ## ã³ã«ãã exec ãããã· -Windows 8 ã§ã¯ãã³ã«ãã API ã¸ã®ãã¹ã¦ã® cordova.exec å¼ã³åºããå¦çãããªãã¸ã§ã¯ãã®ç»é²ã«ä½¿ç¨ãããã¨ãã§ãã¾ããããã·ãæä¾ãã¾ãã +Windows ã§ã¯ãã³ã«ãã API ã¸ã®ãã¹ã¦ã® cordova.exec å¼ã³åºããå¦çãããªãã¸ã§ã¯ãã®ç»é²ã«ä½¿ç¨ãããã¨ãã§ãã¾ããããã·ãæä¾ãã¾ãã ãã¨ãã°ãå éåº¦è¨ API ã®å®è£ ãæä¾ãããå ´åãããè¡ãã ããï¼ cordova.commandProxy.add (ãå éã{éå§: 颿° {//ããªãã®ã³ã¼ããããã«...}ã//ããã§ã® API ã®æ®ãã®é¨å}); -å¾ã£ã¦æã ã¯ä»®å®ããä¾ã§ã¯ãWindows 8 ç¨ã®ãããã·ãåã«æ¸ããã¨ãã§ãã¾ã JavaScript ã¨ç§ãã¡ã«ã¯ãã¹ãã©ãã ãã©ã¼ã ã®é¢é£ãã echoplugin.js å ã®ã³ã¼ããå¦çããã㨠+å¾ã£ã¦æã ã¯ä»®å®ããä¾ã§ã¯ãWindows ã®ãããã·ãåã«æ¸ããã¨ãã§ãã¾ã JavaScript ã¨ç§ãã¡ã«ã¯ãã¹ãã©ãã ãã©ã¼ã ã®é¢é£ãã echoplugin.js å ã®ã³ã¼ããå¦çããã㨠// in file echopluginProxy.js cordova.commandProxy.add("EchoPlugin",{ @@ -92,9 +92,9 @@ cordova.commandProxy.add (ãå éã{éå§: 颿° {//ããªãã®ã³ã¼ã <clobbers target="window.echoplugin" /> </js-module> - <!-- windows8 --> - <platform name="windows8"> - <js-module src="src/windows8/echopluginProxy.js" name="EchoProxy"> + <!-- windows --> + <platform name="windows"> + <js-module src="src/windows/echopluginProxy.js" name="EchoProxy"> <merges target="" /> </js-module> </platform> @@ -104,11 +104,11 @@ cordova.commandProxy.add (ãå éã{éå§: 颿° {//ããªãã®ã³ã¼ã </plugin> -ããã¯ç§ãã¡ã®ä½æ¥ãå®è£ (echopluginProxy.js) ã®é¨åã ãã§ Windows 8 ãæä¾ããããã«ãããã·ã使ç¨ãã¦å ±éãã¡ã¤ã« (echoplugin.js) ã使ç¨ã㦠Windows 8 JavaScript ã®ãã©ã°ã¤ã³ãä¸ãã¾ãã ã©ã®ããã«ç§ãã¡ã«ãã¤ãã£ã/ããã¼ã¸ ã³ã¼ãã追å ãã¾ããï¼ æã ã¯åããå§ããã¤ãããå¯ä¸ã®éãã¯ãechopluginProxy ã¡ã½ããã®ä¸ã§è¡ããã¨ã«ãªãã¾ãã +ããã«ãã使¥ Windows JavaScript ã®ãã©ã°ã¤ã³ã®å®è£ (echopluginProxy.js) ã® Windows ã®ã¿ã®é¨åãæä¾ããããã«ãããã·ã使ç¨ãã¦å ±éãã¡ã¤ã« (echoplugin.js) ã使ç¨ãã¾ãã ã©ã®ããã«ç§ãã¡ã«ãã¤ãã£ã/ããã¼ã¸ ã³ã¼ãã追å ãã¾ããï¼ æã ã¯åããå§ããã¤ãããå¯ä¸ã®éãã¯ãechopluginProxy ã¡ã½ããã®ä¸ã§è¡ããã¨ã«ãªãã¾ãã # WinJS ã¯ããã¤ãã£ã/ããã¼ã¸ ã³ã¼ãã«ã¢ã¯ã»ã¹ããæ¹æ³ -Windows 8ãWinJS 使ã¢ããªã¯ãã¤ãã£ã ã³ã¼ãã¨ç¸äºä½ç¨ãããã¨ã§ãã®é op 㯠Windows ã©ã³ã¿ã¤ã ã³ã³ãã¼ãã³ãã§å©ç¨ã§ãã¾ãã è©³ç´°ã¯æ°å¤ãããããã®ã¬ã¤ãã¯åºæ¬ãã«ãã¼ãã¦ã®ã¿ã ãã¤ã¯ãã½ããã¯å¤ãã®æ å ±ãæä¾ãã¾ã[ãã][2]. +Windows ã§ã¯ã使ããã¢ããªã¯ããã¤ãã£ã ã³ã¼ãã¨å¯¾è©±ãããã¨ãã§ãã WinJS ãã®é op 㯠Windows ã©ã³ã¿ã¤ã ã³ã³ãã¼ãã³ãã®å©ç¨å¯è½ã§ãã è©³ç´°ã¯æ°å¤ãããããã®ã¬ã¤ãã¯åºæ¬ãã«ãã¼ãã¦ã®ã¿ã ãã¤ã¯ãã½ããã¯å¤ãã®æ å ±ãæä¾ãã¾ã[ãã][2]. [2]: http://msdn.microsoft.com/en-us/library/windows/apps/hh441569.aspx @@ -159,13 +159,13 @@ var è§£å度 = EchoRuntimeComponent.EchoPluginRT.echo("boom");ããããã¡ }); -ããã¦ããã¯ãApache ã³ã«ãã Windows 8 ã§ã¯ãã¨ã³ã ãã¼ ã¨ã³ã ããã¯ã¢ãã C++ js ã®å¼ã³åºãå¯è½ãªãã©ã°ã¤ã³ã®ä½¿ç¨ã®ããããã ï¼ +ããã¦ããã¯ãæã ã®ä½¿ç¨ã®ãããã¨ã³ã ãã¼ ã¨ã³ã ããã¯ã¢ãã C++ js å¼ã³åºãå¯è½ãã©ã°ã¤ã³ Apache ã³ã«ãããWindows ã«ãã ï¼ # ããã¤ãã®ãã¯ãã«ã« ãã¼ã: * ã³ã¼ã«ããã¯ã¯é常 async å¼ã³åºãå ã«ããã³ã¼ã«ããã¯ãããã«å¼ã³åºããã¨ã¯æå¾ ãã¦ããªãã ããã§ãã å®ç¿ã§ã¯ãå¼ã³åºããéåæå ´åãå°ãªãã¨ããã¦ãã ãã javascript ã¿ã¤ã ã¢ã¦ããå¼·å¶çã«éåæã«å¼ã³åºãããã³ã¼ã«ããã¯ã * ã¢ã¯ãã£ãåå¯è½ãªã¯ã©ã¹ã¯æ´¾é£ãéåæã³ã¼ã«ããã¯ãç¬èªã®ãªãã¸ã§ã¯ãã®åãé åãã³ã¬ã¯ã·ã§ã³ããªã¼ãã¼ ãã¼ããããã¡ã½ããããã³å¤§ãã«å¤ããæ¸¡ãã¤ãã³ãã®ãããªç´ æ´ããããã®ãã¹ã¦ã®ç¨®é¡ãè¡ããã¨ãã§ãã¾ãã ç§ã¯ããªãã®å®¿é¡ããå§ããã¾ãã -* ä¸è¬ç㪠Windows Phone 8 㨠Windows 8 SDK API å¼ã³åºãã«åºå·ããå ´åã¯ãã³ã³ãã¼ãã³ãã使ç¨ãã¦ãåãã©ã³ã¿ã¤ã (ãã¤ãã£ãã¾ãã¯ããã¼ã¸ ããã) Windows Phone 8 Apache ã³ã«ãã ãã©ã°ã¤ã³ã§ãã¾ãã ã ãã¹ãç¨ã«ãã¥ã¼ãã³ã°æ»å¨ãã¾ãã +* ä¸è¬ç㪠Windows Phone 8.0 㨠Windows SDK API å¼ã³åºãã«åºå·ããå ´åã¯ãã³ã³ãã¼ãã³ãã使ç¨ãã¦ãåãã©ã³ã¿ã¤ã (ãã¤ãã£ãã¾ãã¯ããã¼ã¸ ããã) Windows Phone 8.0 Apache ã³ã«ãã ãã©ã°ã¤ã³ã§ãã¾ãã ã ãã¹ãç¨ã«ãã¥ã¼ãã³ã°æ»å¨ãã¾ãã # ããªãã®ãã©ã°ã¤ã³ãå®ç¾©ãã¾ãã @@ -180,12 +180,12 @@ var è§£å度 = EchoRuntimeComponent.EchoPluginRT.echo("boom");ããããã¡ <clobbers target="window.echoplugin" /> </js-module> - <!-- windows8 --> - <platform name="windows8"> - <js-module src="src/windows8/echopluginProxy.js" name="EchoProxy"> + <!-- windows --> + <platform name="windows"> + <js-module src="src/windows/echopluginProxy.js" name="EchoProxy"> <merges target="" /> </js-module> - <framework src="src/windows8/EchoRuntimeComponent.winmd" custom="true"/> + <framework src="src/windows/EchoRuntimeComponent.winmd" custom="true"/> </platform> <!-- other platforms --> @@ -193,8 +193,8 @@ var è§£å度 = EchoRuntimeComponent.EchoPluginRT.echo("boom");ããããã¡ </plugin> -ããã¯ãä»ãä¸çã¨å ±æãããã¨ãã§ãã¾ããé å¸å¯è½ãªãã©ã°ã¤ã³ããã! 1 ã¤ã®äºã«æ³¨æãã¦ãã ãã Windows 8 ã³ã«ãã ããã¸ã§ã¯ãã«ãã¬ã¼ã ã¯ã¼ã¯ã追å ããããã®ãµãã¼ãã¯ãã³ã«ããã®ç¾å¨ã®ãã¼ãªã³ã°ã«ãªã£ã¦ãããã¨ã確èªããå¿ è¦ãããã¾ãã®ã§ã®ã¿æè¿è¿½å ããã¾ããã ã³ã«ãã cli ã¨ã³ã«ãã plugman ãµãã¼ã ãã¤ãã£ã ããã¯ã¢ããã®ãã©ã°ã¤ã³ãåé¤ããã追å ãã¾ãã +ããã¯ãä»ãä¸çã¨å ±æãããã¨ãã§ãã¾ããé å¸å¯è½ãªãã©ã°ã¤ã³ããã! 1 ã¤ã®äºã«æ³¨æãã¦ãã ãã Windows ã³ã«ãã ããã¸ã§ã¯ãã«ãã¬ã¼ã ã¯ã¼ã¯ã追å ããããã®ãµãã¼ãã¯ãã³ã«ããã®ç¾å¨ã®ãã¼ãªã³ã°ã«ãªã£ã¦ãããã¨ã確èªããå¿ è¦ãããã¾ãã®ã§ã®ã¿æè¿è¿½å ããã¾ããã ã³ã«ãã cli ã¨ã³ã«ãã plugman ãµãã¼ã ãã¤ãã£ã ããã¯ã¢ããã®ãã©ã°ã¤ã³ãåé¤ããã追å ãã¾ãã -> ã³ã«ãã ãã©ã°ã¤ã³ã追å ãã com.risingj.echoplugin ã¾ã㯠> plugman ã¤ã³ã¹ãã¼ã«--ãã©ãããã©ã¼ã windows8 ãã©ã°ã¤ã³--com.risingj.echoplugin--ããã¸ã§ã¯ãã +> cordova plugin add com.risingj.echoplugin or > plugman install --platform windows --plugin com.risingj.echoplugin --project . https://github.com/purplecabbage/cordova-runtimecomp-echoplug \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/ja/edge/guide/platforms/wp8/index.md ---------------------------------------------------------------------- diff --git a/docs/ja/edge/guide/platforms/wp8/index.md b/docs/ja/edge/guide/platforms/wp8/index.md index a9c5cc9..e5b9f28 100644 --- a/docs/ja/edge/guide/platforms/wp8/index.md +++ b/docs/ja/edge/guide/platforms/wp8/index.md @@ -75,7 +75,7 @@ SDK ã¨ä¸ç·ã«ã³ã«ããã® Windows Phone ãä¸å¿ã¨ããã·ã§ã« ã» [9]: http://cordova.apache.org -ãããã®ã·ã§ã«ã®ãã¼ã«ãä½æãæ§ç¯ãããã³ Windows Phone ã¢ããªã±ã¼ã·ã§ã³ãå®è¡ãããã¨ãã§ãã¾ãã ãã¹ã¦ã®ãã©ãããã©ã¼ã ã®ãã©ã°ã¤ã³æ©è½ãæå¹ã«ãã追å ã®ã³ãã³ã ã©ã¤ã³ ã¤ã³ã¿ã¼ãã§ã¤ã¹ã«ã¤ãã¦ã¯ã管çãã©ã°ã¤ã³ã使ç¨ã㦠Plugman ãåç §ãã¦ãã ããã 詳細ã«ã¤ãã¦ã¯ãWindows Phone ãã©ãããã©ã¼ã ã«åºæã®ãã©ã°ã¤ã³ãããã³ Windows Phone ãã©ã°ã¤ã³ãéçºããæ¹æ³ã«é¢ããã¬ã¤ãã³ã¹ã«ã¤ãã¦ã¯ãã¢ããªã±ã¼ã·ã§ã³ ã» ãã©ã°ã¤ã³ãåç §ãã¦ãã ããã +ãããã®ã·ã§ã«ã®ãã¼ã«ãä½æãæ§ç¯ãããã³ Windows Phone ã¢ããªã±ã¼ã·ã§ã³ãå®è¡ãããã¨ãã§ãã¾ãã ãã¹ã¦ã®ãã©ãããã©ã¼ã ã®ãã©ã°ã¤ã³æ©è½ãæå¹ã«ãã追å ã®ã³ãã³ã ã©ã¤ã³ ã¤ã³ã¿ã¼ãã§ã¤ã¹ã«ã¤ãã¦ã¯ã管çãã©ã°ã¤ã³ã使ç¨ã㦠Plugman ãåç §ãã¦ãã ããã 詳細ã«ã¤ãã¦ã¯ãWindows Phone ãã©ãããã©ã¼ã ã«åºæã®ãã©ã°ã¤ã³ãããã³ Windows Phone 8 ãã©ã°ã¤ã³ãéçºããæ¹æ³ã«é¢ããã¬ã¤ãã³ã¹ã«ã¤ãã¦ã¯ãã¢ããªã±ã¼ã·ã§ã³ ã» ãã©ã°ã¤ã³ãåç §ãã¦ãã ããã ## SDK ãã¤ã³ã¹ãã¼ã«ãã¾ãã http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/ja/edge/guide/platforms/wp8/webview.md ---------------------------------------------------------------------- diff --git a/docs/ja/edge/guide/platforms/wp8/webview.md b/docs/ja/edge/guide/platforms/wp8/webview.md new file mode 100644 index 0000000..ef7a988 --- /dev/null +++ b/docs/ja/edge/guide/platforms/wp8/webview.md @@ -0,0 +1,39 @@ +* * * + +å 許証: ã¢ããã·ã¥ ã½ããã¦ã§ã¢åºç¤ (ASF) ã 1 ã¤ã¾ãã¯è¤æ°ã®å ±å使è ã®ã©ã¤ã»ã³ã¹å¥ç´ã®ä¸ã§ã©ã¤ã»ã³ã¹ããã¦ãã¾ãã 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. + + +* * * + +# Windows Phone 8.0 web 表示 + +ãã®ã¬ã¤ãããå¤§è¦æ¨¡ãª Windows Phone 8.0 ã¢ããªã±ã¼ã·ã§ã³å ã®ã³ã«ããæå¹ WebView ã³ã³ãã¼ãã³ããåãè¾¼ãæ¹æ³ã示ãã¾ãã + +ãããã®æç¤ºã«å¾ããææ°ã³ã«ããåå¸ããããã¨ã確èªãã¾ãã [Cordova.apache.org](http://cordova.apache.org)ãããã¦ã³ãã¼ãããWindows Phone 8.0 ããã±ã¼ã¸ ï¼ã³ã«ãã wp8 *.zip) ãè§£åãã¾ãã + + 1. ããã±ã¼ã¸ã«ç§»å `wp8/framework` ãã£ã¬ã¯ããªããã³ãã«ã `WPCordovaClassLib.sln` ãããã使ãã¾ã`Bin\Debug[Release]\WPCordovaClassLib.dll`. + + 2. ã³ãã¼ã `WPCordovaClassLib.dll` ãã¡ã¤ã«ã Windows Phone 8 ããã¸ã§ã¯ãã« `/libs` ãã£ã¬ã¯ããªãå«ãã㨠`WPCordovaClassLib.dll` çµç±ã§ããªãã®ããã¸ã§ã¯ãã« `Project->References->Add Reference` ã ã¾ããããªããç´æ¥åç §ãããã¨ãã§ãã¾ãã `wp8/framework/WPCordovaClassLib.csproj` ãã¡ã¤ã«ã + + 3. 追å `CordovaView` (ãã¨ãã°ããã¼ã¸ã«ã³ã³ãã¼ãã³ã`MainPage.xaml`). + + xmlns:my="clr-namespace:WPCordovaClassLib;assembly=WPCordovaClassLib"> + ... + <my:CordovaView HorizontalAlignment="Stretch" Margin="0,0,0,0" + StartPageUri="html/index.html" x:Name="CordovaView" VerticalAlignment="Stretch" /> + + + 4. ã³ãã¼ `common/www/cordova.js` Windows Phone 8 ããã¸ã§ã¯ãã®ã¢ããªã±ã¼ã·ã§ã³ã® HTML ã JavaScript ãã¡ã¤ã«ã¨å ±ã« `html` ãã£ã¬ã¯ããªãããã¸ã§ã¯ãã«æ°ãããã¡ã¤ã«ãå«ã¾ãã¾ãã + + 5. ã³ãã¼ã `wp8/template/config.xml` ããã¸ã§ã¯ãã®ã«ã¼ã ãã£ã¬ã¯ããªã«ã + +ä¸è¨ã®æé ã¯ã³ã«ãã ã³ã¢ã³ã³ãã¼ãã³ãã®ã¿ããªã³ã¯ãã³ã«ãã ãã©ã°ã¤ã³ããªã³ã¯ããããã«ç®¡çã®ãã©ã°ã¤ã³ã使ç¨ã㦠Plugman ãåç §ãã¦ãã ããã \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/ko/edge/cordova/plugins/pluginapis.md ---------------------------------------------------------------------- diff --git a/docs/ko/edge/cordova/plugins/pluginapis.md b/docs/ko/edge/cordova/plugins/pluginapis.md index 7d6b7d1..006542d 100644 --- a/docs/ko/edge/cordova/plugins/pluginapis.md +++ b/docs/ko/edge/cordova/plugins/pluginapis.md @@ -104,7 +104,7 @@ [10]: http://plugins.cordova.io/#/package/org.apache.cordova.file [11]: http://plugins.cordova.io/#/package/org.apache.cordova.file-transfer [12]: http://plugins.cordova.io/#/package/org.apache.cordova.geolocation - [13]: http://plugins.cordova.io/#/package/org.apache.globalization + [13]: http://plugins.cordova.io/#/package/org.apache.cordova.globalization [14]: http://plugins.cordova.io/#/package/org.apache.cordova.inappbrowser [15]: http://plugins.cordova.io/#/package/org.apache.cordova.media [16]: http://plugins.cordova.io/#/package/org.apache.cordova.media-capture http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/ko/edge/guide/appdev/whitelist/index.md ---------------------------------------------------------------------- diff --git a/docs/ko/edge/guide/appdev/whitelist/index.md b/docs/ko/edge/guide/appdev/whitelist/index.md index dbdaece..d4c4175 100644 --- a/docs/ko/edge/guide/appdev/whitelist/index.md +++ b/docs/ko/edge/guide/appdev/whitelist/index.md @@ -69,7 +69,7 @@ **ì°¸ê³ **: ì¸ë¶ Urlìê³¼ ê°ì ë°©ì§ í기 ìíì¬ `mailto:` ì½ë¥´ëë° 3.6.0, íì¬ ì½ë¥´ëë° webviewìì ì´ë¦¬ì§ 못íê² ì§ì `origin="*"` ììì http ë° https íë¡í ì½ì ë í ê·ì¹ì ì¶ê° í©ëë¤. ì¶ê° ì¬ì©ì ì§ì íë¡í ì½ì ì¡ì¸ì¤ í´ì¼ íë ê²½ì° ì¶ê° í´ì¼ í©ëë¤ ëí ê·¸ë¤ ëª ìì ì¼ë¡ íì´í¸ 리ì¤í¸ì ììµëë¤. ëí urlì´ ì¸ë¶ ìì© íë¡ê·¸ë¨ ì¤íì ë í ìì¸í ë´ì©ì ìë "ì¸ë¶ ìì© íë¡ê·¸ë¨ íì©" 참조. -**ì°¸ê³ **: ì¼ë¶ ë¤í¸ìí¬ ìì² ì½ë¥´ëë° Whitelist를 íµí´ ì´ë íì§ ë§ììì¤. ì´ê²ì í¬í¨ íë¤ <video> ê·¸ë¦¬ê³ <audio> 리ìì¤, WebSocket ì°ê²° (ì ë ë¡ì´ë 4.4 +), ê·¸ë¦¬ê³ ë¤ë¥¸ ë¹ http ìì². ì ë ë¡ì´ë 4.4 +ì í¬í¨í ì ìë [CSP][8] 리ìì¤ì ë í ì¡ì¸ì¤ë¥¼ ì í í ì¬ HTML 문ìì í¤ëì ëë¤. ì ë ë¡ì´ëì ì´ì ë²ì ìì ê·¸ë¤ì ì í íë ê²ì´ ê°ë¥ íì§ ìì ì ììµëë¤. +**ì°¸ê³ **: ì¼ë¶ ë¤í¸ìí¬ ìì² ì½ë¥´ëë° íì©ì íµí´ ê°ì§ ìëë¤. ì´ í¬í¨ íë < ë¹ëì¤ >ì < ì¤ëì¤ > 리ìì¤, WebSocket ì°ê²° (ì ë ë¡ì´ë 4.4 +), ë° ê¸°í ë¹ http ìì². ì ë ë¡ì´ë 4.4 +, 리ìì¤ì ë í ì¡ì¸ì¤ë¥¼ ì í í ì¬ HTML 문ìì [CSP][8] í¤ë를 í¬í¨í ì ììµëë¤. ì ë ë¡ì´ëì ì´ì ë²ì ìì ê·¸ë¤ì ì í íë ê²ì´ ê°ë¥ íì§ ìì ì ììµëë¤. [8]: https://developer.mozilla.org/en-US/docs/Web/Security/CSP/Introducing_Content_Security_Policy @@ -111,7 +111,7 @@ IOS íë«í¼ìì ìì¼ë ì¹´ëë [W3C ìì ¯ ì¡ì¸ì¤][1] ì¬ì ë³´ë¤ ë ì ì° í©ëë¤. ì를 ë¤ì´, ë¤ì ì¡ì¸ì¤ 모ë íì ëë©ì¸ê³¼ ìµìì ëë©ì¸ ê°ì `.com` ë° `.net` : - < ì본 ì¡ì¸ì¤ = "*.google. *" / > + <access origin="*.google.*" /> ì ë ë¡ì´ë íë«í¼ ììì ì¸ê¸ì íµí´ ë¹ íì© ëë©ì¸ íì ë¬ë¦¬ `href` iOSìì íì´í¼ë§í¬ 모ë ì´ìì íì´ì§ ë°©ì§. @@ -124,17 +124,17 @@ IOS íë«í¼ìì ìì¼ë ì¹´ëë [W3C ìì ¯ ì¡ì¸ì¤][1] ì¬ì ë³´ë¤ * ì½í ì¸ ì¡ì¸ì¤ `XMLHttpRequest` ëª ìì ì¼ë¡ ì ì¸ í´ì¼ í©ëë¤. ì¤ì `origin="*"` ì´ ê²½ì° ìë íì§ ììµëë¤. ìì íì¼ë¡, 모ë ì¹ ë³´ì ë¹íì±í ë ì ììµëë¤ ì¬ì© íë `WebSecurity` ë¸ëë² ë¦¬ 구ì±ìì ì¤ëª íë 기본 ì¤ì : - < ì í¸ ì´ë¦ = "websecurity" ê° = "ì¬ì© ì í¨" / > + <preference name="websecurity" value="disable" /> * ì¤ì íë ëì `*.domain` , ì¤ì ì¶ê°ë¡ `subdomains` ìì±ì `true` . ë¡ ì¤ì í´ì¼ `false` 기본ì ì¼ë¡. ë¤ìì ì¡ì¸ì¤í ì ììµëë¤ ì를 ë¤ì´ `google.com` , `maps.google.com` , ë° `docs.google.com` : - < ì¶ì²ì ì¡ì¸ì¤ "http://google.com" íì ëë©ì¸ = = "true" / > + <access origin="http://google.com" subdomains="true" /> ë¤ì ì° ì¤ ì¡ì¸ì¤ë¥¼ `google.com` : - < ì¶ì²ì ì¡ì¸ì¤ "http://google.com" íì ëë©ì¸ = = "false" / > + <access origin="http://google.com" subdomains="false" /> ì§ìì í¬í¨ í ì¬ ëª¨ë ëë©ì¸ì ë í ì¡ì¸ì¤ ì§ì `file://` íë¡í ì½: http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/ko/edge/guide/hybrid/plugins/index.md ---------------------------------------------------------------------- diff --git a/docs/ko/edge/guide/hybrid/plugins/index.md b/docs/ko/edge/guide/hybrid/plugins/index.md index e7a4a2c..32d2383 100644 --- a/docs/ko/edge/guide/hybrid/plugins/index.md +++ b/docs/ko/edge/guide/hybrid/plugins/index.md @@ -134,8 +134,8 @@ IOS ì¢ ìì± ë¡ë ì ëë¡ ì¬ë¶ë¥¼ í ì¤í¸ íë ¤ë©´ ë¤ì ëª ë ¹ì * ì ë ë¡ì´ë íë¬ê·¸ì¸ * iOS íë¬ê·¸ì¸ * ë¸ëë² ë¦¬ 10 íë¬ê·¸ì¸ -* Windows Phone íë¬ê·¸ì¸ -* ìëì° 8 íë¬ê·¸ì¸ +* Windows Phone 8 íë¬ê·¸ì¸ +* ìëì° íë¬ê·¸ì¸ Tizen íë«í¼ íë¬ê·¸ì¸ì ì§ì íì§ ììµëë¤. http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/ko/edge/guide/hybrid/webviews/index.md ---------------------------------------------------------------------- diff --git a/docs/ko/edge/guide/hybrid/webviews/index.md b/docs/ko/edge/guide/hybrid/webviews/index.md index 6a5247d..9ddc7b8 100644 --- a/docs/ko/edge/guide/hybrid/webviews/index.md +++ b/docs/ko/edge/guide/hybrid/webviews/index.md @@ -21,4 +21,5 @@ WebView를 ë°°í¬ íë ¤ë©´ ê° ë¤ì´í°ë¸ íë¡ê·¸ëë° íê²½ì ì ì * ìë§ì¡´ íì¬ OS WebViews * ì ë ë¡ì´ë WebViews -* iOS WebViews \ No newline at end of file +* iOS WebViews +* Windows Phone 8.0 WebViews \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/ko/edge/guide/platforms/index.md ---------------------------------------------------------------------- diff --git a/docs/ko/edge/guide/platforms/index.md b/docs/ko/edge/guide/platforms/index.md index 73faa6f..f4da71f 100644 --- a/docs/ko/edge/guide/platforms/index.md +++ b/docs/ko/edge/guide/platforms/index.md @@ -72,6 +72,7 @@ ## ìëì° * Windows íë«í¼ ê°ì´ë +* ìëì° íë¬ê·¸ì¸ * ìëì° 8ì ì ê·¸ë ì´ë ## Tizen http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/ko/edge/guide/platforms/win8/plugin.md ---------------------------------------------------------------------- diff --git a/docs/ko/edge/guide/platforms/win8/plugin.md b/docs/ko/edge/guide/platforms/win8/plugin.md index 52cf547..f4410cb 100644 --- a/docs/ko/edge/guide/platforms/win8/plugin.md +++ b/docs/ko/edge/guide/platforms/win8/plugin.md @@ -13,17 +13,17 @@ ## under the License. -# ìëì° 8 íë¬ê·¸ì¸ +# ìëì° íë¬ê·¸ì¸ ì´ ì¹ì ììë Windows ì¤í ì´ ì í 리 ì¼ì´ ì ì ì¬ì© í기 ìí´ íë¬ê·¸ì¸ì 구í íë ë°©ë²ì ë í ì¸ë¶ ì 보를 ì ê³µ í©ëë¤. ì´ê²ì ì½ê¸° ì ì ìì© íë¡ê·¸ë¨ íë¬ê·¸ì¸ íë¬ê·¸ì¸ì 구조ì ê·¸ê²ì ì¼ë° ìë° ì¤í¬ë¦½í¸ ì¸í°íì´ì¤ì ê°ì 참조 íììì¤. ì´ ì¹ì ì½ë¥´ëë° webviewìì ë¤ì´í°ë¸ íë«í¼ ë° ë¤ íµì ìí *ìì½* íë¬ê·¸ì¸ì ì¤ëª í ê³ ììµëë¤. -ê·¸ê²ì ìëì° 8 ê°ë°ì íìí í¹ë³ í ê²½ì°ì 'ë¤ì´í°ë¸' ë¶ë¶ì ê°ë° íë ê²ì ì미 íë ìë° ì¤í¬ë¦½í¸ìì ì§ì ì§ì í´ì¼ í©ëë¤. +ì°¸ê³ Windowsìì íìí í¹ë³ í ê²½ì°ì 'ë¤ì´í°ë¸' ë¶ë¶ì ê°ë° íë ê²ì ì미 íë ìë° ì¤í¬ë¦½í¸ìì ì§ì ê°ë° ì§ìì ì¤ì íë¤. -## ìë° ì¤í¬ë¦½í¸ìì ìëì° 8 íë¬ê·¸ì¸ ë§ë¤ê¸° +## ìë° ì¤í¬ë¦½í¸ìì ìëì° íë¬ê·¸ì¸ ë§ë¤ê¸° ì´ë¤ì´ ì§ìë ìì ìë° ì¤í¬ë¦½í¸ íë¬ê·¸ì¸ì ë§ë¤ ì ììµëë¤. ì´ê²ì ì´í´ íë ê²ì ë¤ì´í°ë¸/ê´ë¦¬ ëë ë¹í¸ë¥¼ ì¶ê° íë ë°©ë²ì ì´í´ íë ë° ì¤ì í©ëë¤. -ìëì° 8 ì½ë¥´ëë° íë¬ê·¸ì¸ ìì ëí¼ ê¸°ë¥ì ì ê³µ íë 기존 WinJS 본ì§ì ì¼ë¡ íì§ë§ ì¬ë¬ ëë°ì´ì¤ë¥¼ ìí JS ì¼ë°ì ì¸ ì¸í°íì´ì¤ë¥¼ ì ì íë ¤ë ê°ì , ë¹ì ì ê²ì ëë¤ ì¼ë°ì ì¼ë¡ 1 ê°ì JS íì¼ API를 ì ê³µ í. +Windows ì½ë¥´ëë° íë¬ê·¸ì¸ ìì ëí¼ ê¸°ë¥ì ì ê³µ íë 기존 WinJS 본ì§ì ì¼ë¡ íì§ë§ ì¬ë¬ ëë°ì´ì¤ë¥¼ ìí JS ì¼ë°ì ì¸ ì¸í°íì´ì¤ë¥¼ ì ì íë ¤ë ê°ì , ë¹ì ì ê²ì ëë¤ ì¼ë°ì ì¼ë¡ 1 ê°ì JS íì¼ API를 ì ê³µ í. // inside file echoplugin.js var EchoPlugin = { @@ -35,9 +35,9 @@ } -## ìëì° 8ì ìì¼ë¡ ì½ë¥´ëë° exec +## ìëì° ë´ë¶ ì½ë¥´ëë° exec -Cordova.exec í¨ì를 ë¤ë¥´ê² ì ì í ì¬ ëª¨ë íë«í¼ììì´ ë문ì ê° íë«í¼ ìì© íë¡ê·¸ë¨ js ì½ëì ë¤ì´í°ë¸ ëí¼ ì½ë ê°ì íµì ì ê·¸ê²ì ìì ì ë°©ë²ì´ ìë¤. íì§ë§ ìëì° 8ì ê²½ì° exec í¸ì¶ ì¼ê´ì± ìë¤ ê·¸ëì ì무 ë¤ì´í°ë¸ ëí¼ ì´ë¤. ê°ì EchoPlugin.echo, ì§ì js ì ì¼í íë¬ê·¸ì¸ ìì ì í ì ìë: +Cordova.exec í¨ì를 ë¤ë¥´ê² ì ì í ì¬ ëª¨ë íë«í¼ììì´ ë문ì ê° íë«í¼ ìì© íë¡ê·¸ë¨ js ì½ëì ë¤ì´í°ë¸ ëí¼ ì½ë ê°ì íµì ì ê·¸ê²ì ìì ì ë°©ë²ì´ ìë¤. ê·¸ë¬ë Windowsì ê²½ì° exec í¸ì¶ ì¼ê´ì± ìë¤ ê·¸ëì ìë ë¤ì´í°ë¸ ëí¼ ì´ë¤. ê°ì EchoPlugin.echo, ì§ì js ì ì¼í íë¬ê·¸ì¸ ìì ì í ì ìë: // inside file echoplugin.js ( this is what NOT to do if you want to reuse the JS API cross platform ) var EchoPlugin = { @@ -52,17 +52,17 @@ Cordova.exec í¨ì를 ë¤ë¥´ê² ì ì í ì¬ ëª¨ë íë«í¼ììì´ ë문 } -ê·¸ë¬ë ì´ê² ê·¸ê²ì ë¤ë¥¸ íë«í¼ì ë í echoPlugin.jsì ë¤ë¥¸ ë²ì ì íì í©ëë¤ ê·¸ë¦¬ê³ ê°ë¥ í ê² í ì¬ êµ¬íì ë¶ì¼ì¹ 문ì 를 ê°ì§ ì ììµëë¤. ììµëë¤ ì미 ì ìë ê²ì ëë¤ ì ììµëë¤. ì¢ìµëë¤, ì°ë¦¬ë ì°ë¦¬ ì ìëë¡ ê°ì JS ì½ë를 ì¤í í ê³ íë«í¼ì ìí´ ê·¸ê²ì ë¤ì ìì± íì§ ììë ì´ë¤ ë§¤ê° ë³ì ê²ì¬ ëë ë¤ë¥¸ ê³µíµ ì½ë를 ë¤ë¥¸ íë«í¼ìì ìì íë ê°ë°ìì ìí´ ì ê³µì ííì ë°ì ì cordova.exec ìëì° 8ì ë´ë¶ ë¤ì´í°ë¸ API를 모방 íê¸°ë¡ ê²°ì íë¤. +ê·¸ë¬ë ì´ê² ê·¸ê²ì ë¤ë¥¸ íë«í¼ì ë í echoPlugin.jsì ë¤ë¥¸ ë²ì ì íì í©ëë¤ ê·¸ë¦¬ê³ ê°ë¥ í ê² í ì¬ êµ¬íì ë¶ì¼ì¹ 문ì 를 ê°ì§ ì ììµëë¤. ììµëë¤ ì미 ì ìë ê²ì ëë¤ ì ììµëë¤. ì¢ìµëë¤, ì°ë¦¬ë ì°ë¦¬ ì ìëë¡ ê°ì JS ì½ë를 ì¤í í ê³ íë«í¼ì ìí´ ê·¸ê²ì ë¤ì ìì± íì§ ììë ì´ë¤ ë§¤ê° ë³ì ê²ì¬, ëë ë¤ë¥¸ ì¼ë°ì ì¸ ì½ë를 ë¤ë¥¸ íë«í¼ìì ìì íë ê°ë°ìì ìí´ ì ê³µì ííì ë°ì ì cordova.exec Windowsìì ë´ë¶ ë¤ì´í°ë¸ API를 모방 íê¸°ë¡ ê²°ì íë¤. ## ì½ë¥´ ëì° ë° exec íë¡ì -ìëì° 8ì ì½ë¥´ëë° APIì ë í 모ë cordova.exec í¸ì¶ì ì²ë¦¬ íë ê°ì²´ë¥¼ ë±ë¡ íë ë° ì¬ì©í ì ìë íë¡ì를 ì ê³µ í©ëë¤. +ìëì°ìì ì½ë¥´ëë° APIì ë í 모ë cordova.exec í¸ì¶ì ì²ë¦¬ íë ê°ì²´ë¥¼ ë±ë¡ íë ë° ì¬ì©í ì ìë íë¡ì를 ì ê³µ í©ëë¤. ì를 ë¤ì´ê° ìëê³ APIì ë í 구íì ì ê³µ íë ¤ë ê²½ì° ë¹ì ì ê²ì´: cordova.commandProxy.add ("ê° ìëê³", {ìì: function() {/ / ì¬ê¸°ì ì½ë...} / /... ì¬ê¸° APIì ëë¨¸ì§ ë¶ë¶}); -ê·¸ëì ì°ë¦¬ì ê²½ì°, ì°ë¦¬ ê°ì ì ë¨ìí ìëì° 8ì ë í íë¡ì를 ìì±í ì ììµëë¤ ìë° ì¤í¬ë¦½í¸ ë° ì°ë¦¬ í¬ë¡ì¤ íë«í¼ ê´ë ¨ echoplugin.js ì½ë ì²ë¦¬ +ê·¸ëì ì°ë¦¬ì ê²½ì°, ì°ë¦¬ ê°ì ì ë¨ìí ìëì°ì ë í íë¡ì를 ìì±í ì ììµëë¤ ìë° ì¤í¬ë¦½í¸ ë° ì°ë¦¬ í¬ë¡ì¤ íë«í¼ ê´ë ¨ echoplugin.js ì½ë ì²ë¦¬ // in file echopluginProxy.js cordova.commandProxy.add("EchoPlugin",{ @@ -92,9 +92,9 @@ cordova.commandProxy.add ("ê° ìëê³", {ìì: function() {/ / ì¬ê¸°ì <clobbers target="window.echoplugin" /> </js-module> - <!-- windows8 --> - <platform name="windows8"> - <js-module src="src/windows8/echopluginProxy.js" name="EchoProxy"> + <!-- windows --> + <platform name="windows"> + <js-module src="src/windows/echopluginProxy.js" name="EchoProxy"> <merges target="" /> </js-module> </platform> @@ -104,11 +104,11 @@ cordova.commandProxy.add ("ê° ìëê³", {ìì: function() {/ / ì¬ê¸°ì </plugin> -ì´ê²ì ì°ë¦¬ê° ìì ì¼ë°ì ì¸ íì¼ (echoplugin.js)를 ì¬ì© í ì¬ êµ¬í (echopluginProxy.js)ì ìëì° 8 ë¨ì§ ë¶ë¶ì ì ê³µ íë íë¡ì를 ì¬ì© í ì¬ Windows 8 ìë° íë¬ê·¸ì¸ ì ê³µ. ì°ë¦¬ê° ì´ë»ê²ì´ ë¤ì´í°ë¸/ê´ë¦¬ ëë ì½ë를 ì¶ê° íë ¤ë©´? ì ì°ë¦¬ë ìì íë ¤ê³ ê°ì, ì ì¼í ì°¨ì´ì ì ì°ë¦¬ê° echopluginProxy ë°©ë²ìì ìì í ê². +ì´ê²ì ì°ë¦¬ê° ìì ì¼ë°ì ì¸ íì¼ (echoplugin.js)를 ì¬ì© í ì¬ Windows ì ì¼í ë¶ë¶ 구í (echopluginProxy.js)를 ì ê³µ íë íë¡ì를 ì¬ì© í ì¬ Windows ìë° íë¬ê·¸ì¸ ì ê³µ. ì°ë¦¬ê° ì´ë»ê²ì´ ë¤ì´í°ë¸/ê´ë¦¬ ëë ì½ë를 ì¶ê° íë ¤ë©´? ì ì°ë¦¬ë ìì íë ¤ê³ ê°ì, ì ì¼í ì°¨ì´ì ì ì°ë¦¬ê° echopluginProxy ë°©ë²ìì ìì í ê². # WinJSë ë¤ì´í°ë¸/ê´ë¦¬ ëë ì½ë를 ì¡ì¸ì¤ íë ë°©ë² -ìëì° 8, ì ì ë ì í 리 ì¼ì´ ì ì ë¤ì´í°ë¸ ì½ëì ìí¸ ìì©í ì ìê² íë WinJSì´ ê°ì´ opììë Windows ë°íì êµ¬ì± ììì ì¬ì©í ì ìëì ëë¤. ì¸ë¶ ì¬íì ìë§ì, ê·¸ë¦¬ê³ ì´ ê°ì´ëë§ ê¸°ì´ë¥¼ ë¤ë£° ê²ì ëë¤. ë§ì´í¬ë¡ìíí¸ë í¨ì¬ ë ë§ì ì 보를 ì ê³µ íë¤ [ì¬ê¸°][2]. +Windows WinJS ì ì ë ì í 리 ì¼ì´ ì ì ë¤ì´í°ë¸ ì½ëì ìí¸ ìì©í ììì ê°ì´ opë Windows ë°íì êµ¬ì± ììì ì¬ì©í ì ìë. ì¸ë¶ ì¬íì ìë§ì, ê·¸ë¦¬ê³ ì´ ê°ì´ëë§ ê¸°ì´ë¥¼ ë¤ë£° ê²ì ëë¤. ë§ì´í¬ë¡ìíí¸ë í¨ì¬ ë ë§ì ì 보를 ì ê³µ íë¤ [ì¬ê¸°][2]. [2]: http://msdn.microsoft.com/en-us/library/windows/apps/hh441569.aspx @@ -159,13 +159,13 @@ var res = EchoRuntimeComponent.EchoPluginRT.echo("boom"); ì°ë¦¬ì echopluginPr }); -ì¦, ì°ë¦¬ë ëì c + + ì§ì js í¸ì¶ ê°ë¥ íë¬ê·¸ì¸ ì¬ì© í기 ìí´ ìíì¹ ì½ë¥´ëë° ìëì° 8ì! +ì¦, ì°ë¦¬ë ëì c + + ì§ì js í¸ì¶ ê°ë¥ íë¬ê·¸ì¸ ì¬ì©ì ë í ìíì¹ ì½ë¥´ëë° ì°½! # ì¼ë¶ 기ì ë ¸í¸: * ì½ë°±ì ì´ë¯ë¡ ì¼ë°ì ì¼ë¡ ë¹ë기, í¸ì¶ìê° ìë§ ììì ë°ë¡ ì½ë°±ì í¸ì¶ í©ëë¤. ì¤ì ë¡, ê²½ì° í¸ì¶ì´ ë¹ë기, ì ì´ë ì¬ì© í´ì¼ ìë° ì¤í¬ë¦½í¸ ìê° ì´ê³¼ë¥¼ ë¹ë기 í¸ì¶í ì½ë°±ì ëë¤. * íì±í ê°ë¥ í´ëì¤ë ëë´, í견, ë¹ë기 ì½ë°±, ì¬ì©ì ìì ì ê°ì²´ ì í, ë°°ì´, 컬ë ì , ì¤ë² ë¡ë ë ë©ìë ë° í¨ì¬ ë를 ì ë¬ íë ì´ë²¤í¸ì 모ë ì¢ ë¥ë¥¼ í ì ììµëë¤. ëë ë¹ì ì´ ë¹ì ì ìì 를 í ê²ì´ ì¢ìµëë¤. -* ì¼ë°ì ì¸ Windows Phone 8ê³¼ ìë 8 SDK API í¸ì¶ì ì¤í± ê°ì ë°íì êµ¬ì± ìì (ë¤ì´í°ë¸ ëë ê´ë¦¬ ëë ë¹í¸)를 ì¬ì© í ì¬ Windows Phone 8 ìíì¹ ì½ë¥´ëë° íë¬ê·¸ì¸ìì ì. ììµëë¤ ~ ê·¸ ê²ì물ì ë í ì§ì¼. +* ì¼ë°ì ì¸ Windows Phone 8.0ê³¼ Windows SDK API í¸ì¶ì ì¤í± ê°ì ë°íì êµ¬ì± ìì (ë¤ì´í°ë¸ ëë ê´ë¦¬ ëë ë¹í¸)를 ì¬ì© í ì¬ Windows Phone 8.0 ìíì¹ ì½ë¥´ëë° íë¬ê·¸ì¸ìì ì. ììµëë¤ ~ ê·¸ ê²ì물ì ë í ì§ì¼. # íë¬ê·¸ì¸ ì ì @@ -180,12 +180,12 @@ var res = EchoRuntimeComponent.EchoPluginRT.echo("boom"); ì°ë¦¬ì echopluginPr <clobbers target="window.echoplugin" /> </js-module> - <!-- windows8 --> - <platform name="windows8"> - <js-module src="src/windows8/echopluginProxy.js" name="EchoProxy"> + <!-- windows --> + <platform name="windows"> + <js-module src="src/windows/echopluginProxy.js" name="EchoProxy"> <merges target="" /> </js-module> - <framework src="src/windows8/EchoRuntimeComponent.winmd" custom="true"/> + <framework src="src/windows/EchoRuntimeComponent.winmd" custom="true"/> </platform> <!-- other platforms --> @@ -193,8 +193,8 @@ var res = EchoRuntimeComponent.EchoPluginRT.echo("boom"); ì°ë¦¬ì echopluginPr </plugin> -ì¦, ì´ì ë ì¸ê³ì ê³µì í ì ììµëë¤ ë°°í¬í íë¬ê·¸ì¸ ìë¤! í ê°ì§ 주ìí ì ì, ìëì° 8 ì½ë¥´ëë° íë¡ì í¸ì íë ì ìí¬ë¥¼ ì¶ê° í기 ìí ì§ìë§ ìµê·¼ì ë¹ì ì ì½ë¥´ ëì° ë° ê³µêµ¬ ì ë¥ ìëì§ íì¸ í´ì¼ í©ëë¤ ì¶ê° ëììµëë¤. ì½ë¥´ ëì° ë° cli ë° ì½ë¥´ëë° plugman ë¤ì´í°ë¸ ë°±ì ë íë¬ê·¸ì¸ ì ê±° ì¶ê° ì§ì. +ì¦, ì´ì ë ì¸ê³ì ê³µì í ì ììµëë¤ ë°°í¬í íë¬ê·¸ì¸ ìë¤! í ê°ì§ 주ìí ì ì, íì¬ ê³µêµ¬ ë¹ì ì ì½ë¥´ëë° ìëì§ íì¸ í´ì¼ í©ëë¤ ê·¸ëì Windows ì½ë¥´ëë° íë¡ì í¸ì íë ì ìí¬ë¥¼ ì¶ê° í기 ìí ì§ìë§ ìµê·¼ì ì¶ê° ëììµëë¤. ì½ë¥´ ëì° ë° cli ë° ì½ë¥´ëë° plugman ë¤ì´í°ë¸ ë°±ì ë íë¬ê·¸ì¸ ì ê±° ì¶ê° ì§ì. -> ì½ë¥´ ëì° ë° íë¬ê·¸ì¸ ì¶ê° com.risingj.echoplugin ëë > plugman ì¤ì¹-íë«í¼ windows8-íë¬ê·¸ì¸ com.risingj.echoplugin-íë¡ì í¸. +> cordova plugin add com.risingj.echoplugin or > plugman install --platform windows --plugin com.risingj.echoplugin --project . https://github.com/purplecabbage/cordova-runtimecomp-echoplug \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/ko/edge/guide/platforms/wp8/index.md ---------------------------------------------------------------------- diff --git a/docs/ko/edge/guide/platforms/wp8/index.md b/docs/ko/edge/guide/platforms/wp8/index.md index 7a70932..ce64989 100644 --- a/docs/ko/edge/guide/platforms/wp8/index.md +++ b/docs/ko/edge/guide/platforms/wp8/index.md @@ -75,7 +75,7 @@ SDKì í¨ê»ìì ì½ë¥´ëë°ì Windows Phone ì¤ì¬ì¼ë¡ ì ¸ ë구를 ì¬ [9]: http://cordova.apache.org -ì´ë¬í ì ¸ ë구 ìì±, êµ¬ì¶ ë° Windows Phone ìì© íë¡ê·¸ë¨ì ì¤íí ì ììµëë¤. 모ë íë«í¼ì ê±¸ì³ íë¬ê·¸ì¸ 기ë¥ì íì±í íë ì¶ê° ëª ë ¹ì¤ ì¸í°íì´ì¤ì ë í ì 보를 ê´ë¦¬ íë¬ê·¸ì¸ì ì¬ì© í ì¬ Plugman를 참조 íììì¤. ìì¸í ë´ì©ì Windows Phone íë«í¼ì íë¬ê·¸ì¸, ê·¸ë¦¬ê³ Windows Phone íë¬ê·¸ì¸ì ê°ë° íë ë°©ë²ì ë í ì§ì¹¨ì ìì© íë¡ê·¸ë¨ íë¬ê·¸ì¸ì 참조 íììì¤. +ì´ë¬í ì ¸ ë구 ìì±, êµ¬ì¶ ë° Windows Phone ìì© íë¡ê·¸ë¨ì ì¤íí ì ììµëë¤. 모ë íë«í¼ì ê±¸ì³ íë¬ê·¸ì¸ 기ë¥ì íì±í íë ì¶ê° ëª ë ¹ì¤ ì¸í°íì´ì¤ì ë í ì 보를 ê´ë¦¬ íë¬ê·¸ì¸ì ì¬ì© í ì¬ Plugman를 참조 íììì¤. ìì¸í ë´ì©ì Windows Phone íë«í¼ì íë¬ê·¸ì¸, ê·¸ë¦¬ê³ Windows Phone 8 íë¬ê·¸ì¸ì ê°ë° íë ë°©ë²ì ë í ì§ì¹¨ì ìì© íë¡ê·¸ë¨ íë¬ê·¸ì¸ì 참조 íììì¤. ## SDK ì¤ì¹ http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/ko/edge/guide/platforms/wp8/webview.md ---------------------------------------------------------------------- diff --git a/docs/ko/edge/guide/platforms/wp8/webview.md b/docs/ko/edge/guide/platforms/wp8/webview.md new file mode 100644 index 0000000..db0e295 --- /dev/null +++ b/docs/ko/edge/guide/platforms/wp8/webview.md @@ -0,0 +1,39 @@ +* * * + +ë©´í: ìíì¹ ìíí¸ì¨ì´ ì¬ë¨ (ASF)ì íë ì´ìì ì°¸ê°ì ì¬ì©ê¶ ê³ì½ íìì íê° ë. 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. + + +* * * + +# Windows Phone 8.0 WebViews + +ì´ ê°ì´ëììë ë í° Windows Phone 8.0 ìì© íë¡ê·¸ë¨ ë´ìì WebView ì½ë¥´ëë° íì±í êµ¬ì± ìì를 í¬í¨ íë ë°©ë²ì ë³´ì¬ ì¤ëë¤. + +ì´ë¬í ì§ì¹¨ì ë°ë¼, ìµì ì½ë¥´ëë° ë¶í¬ë¥¼ê°ì§ê³ ìëì§ íì¸ í©ëë¤. [Cordova.apache.org](http://cordova.apache.org) ìì ë¤ì´ë¡ë í ê³ Windows Phone 8.0 í¨í¤ì§ (ì½ë¥´ëë°-wp8-*.zip)ì ìì¶ì íëë¤. + + 1. í¨í¤ì§ì ì´ë `wp8/framework` ëë í 리 ë° ë¹ë `WPCordovaClassLib.sln` . ê·¸ê²ì ìì±ì`Bin\Debug[Release]\WPCordovaClassLib.dll`. + + 2. ë³µì¬ë `WPCordovaClassLib.dll` Windows Phone 8 íë¡ì í¸ì íì¼ `/libs` ëë í°ë¦¬ë¥¼ í¬í¨ í ê³ `WPCordovaClassLib.dll` ì íµí´ íë¡ì í¸ `Project->References->Add Reference` . ìì íì¼ë¡, ì§ì 참조í ìë `wp8/framework/WPCordovaClassLib.csproj` íì¼. + + 3. ì¶ê° `CordovaView` (ì를 ë¤ì´, íì´ì§ êµ¬ì± ìì`MainPage.xaml`). + + xmlns:my="clr-namespace:WPCordovaClassLib;assembly=WPCordovaClassLib"> + ... + <my:CordovaView HorizontalAlignment="Stretch" Margin="0,0,0,0" + StartPageUri="html/index.html" x:Name="CordovaView" VerticalAlignment="Stretch" /> + + + 4. ë³µì¬ `common/www/cordova.js` Windows Phone 8 íë¡ì í¸ì ìì© íë¡ê·¸ë¨ì HTMLê³¼ ìë° ì¤í¬ë¦½í¸ íì¼ê³¼ í¨ê» `html` ëë í°ë¦¬ íë¡ì í¸ì ì íì¼ì í¬í¨ í©ëë¤. + + 5. ë³µì¬ë `wp8/template/config.xml` íë¡ì í¸ì ë£¨í¸ ëë í°ë¦¬ì ë° + +ìì ì§ì¹¨ ì½ì´ ì½ë¥´ ëì° ë° êµ¬ì± ììë§ì ë§í¬, ì½ë¥´ëë° íë¬ê·¸ì¸ ì°ê²° ê´ë¦¬ íë¬ê·¸ì¸ì ì¬ì© í ì¬ Plugman를 참조 íììì¤. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/pl/edge/config_ref/images.md ---------------------------------------------------------------------- diff --git a/docs/pl/edge/config_ref/images.md b/docs/pl/edge/config_ref/images.md index 65ca758..5c4577b 100644 --- a/docs/pl/edge/config_ref/images.md +++ b/docs/pl/edge/config_ref/images.md @@ -1,6 +1,6 @@ * * * -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 +Licencja: na licencji Apache Software Foundation (ASF) jednÄ lub wiÄcej umów licencyjnych wspóÅautorów. 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 @@ -134,88 +134,67 @@ Windows8 ## Konfigurowanie ekrany powitalne w aplikacjach w consoli -Użyj ekranu powitalnego API umożliwiajÄ ce wyÅwietlanie ekranu powitalnego wprowadzajÄ ce aplikacji na wielu platformach. Podczas pracy w consoli opryskaÄ tÄcza pliki źródÅowe znajdujÄ siÄ w ramach projektu `www/res/screens` podkatalogu. - -Android okreÅla zarówno portret i krajobraz zorientowana powitalny ekran obrazy o niskiej, Åredniej, wysokiej i bardzo wysokiej rozdzielczoÅci: - - 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 - - -Platformy iOS okreÅla warianty dla iPhone/iPod i iPad, warianty wyÅwietla siatkówki i inne kierunki. Plik *568 h* stosuje siÄ wyższy ekran iPhone 5: - - 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 +W najwyższego poziomu `config.xml` pliku (nie ten w `platforms` ), dodaÄ elementy konfiguracji, takie jak te okreÅlone w tym miejscu. + +# PrzykÅad konfiguracji + +ProszÄ zauważyÄ, że wartoÅÄ atrybutu "src" jest katalogiem projektu, a nie do katalogu www. Możesz wymieniÄ obrazu źródÅowego cokolwiek chcesz. Nazwa wewnÄtrzna w aplikacji sÄ okreÅlane przez Cordova. + + <platform name="android"> + <!-- you can use any density that exists in the Android project --> + <splash src="res/screen/android/splash-land-hdpi.png" density="land-hdpi"/> + <splash src="res/screen/android/splash-land-ldpi.png" density="land-ldpi"/> + <splash src="res/screen/android/splash-land-mdpi.png" density="land-mdpi"/> + <splash src="res/screen/android/splash-land-xhdpi.png" density="land-xhdpi"/> + + <splash src="res/screen/android/splash-port-hdpi.png" density="port-hdpi"/> + <splash src="res/screen/android/splash-port-ldpi.png" density="port-ldpi"/> + <splash src="res/screen/android/splash-port-mdpi.png" density="port-mdpi"/> + <splash src="res/screen/android/splash-port-xhdpi.png" density="port-xhdpi"/> + </platform> + + <platform name="ios"> + <!-- images are determined by width and height. The following are supported --> + <splash src="res/screen/ios/Default~iphone.png" width="320" height="480"/> + <splash src="res/screen/ios/Default@2x~iphone.png" width="640" height="960"/> + <splash src="res/screen/ios/Default-Portrait~ipad.png" width="768" height="1024"/> + <splash src="res/screen/ios/Default-Portrait@2x~ipad.png" width="1536" height="2048"/> + <splash src="res/screen/ios/Default-Landscape~ipad.png" width="1024" height="768"/> + <splash src="res/screen/ios/Default-Landscape@2x~ipad.png" width="2048" height="1536"/> + <splash src="res/screen/ios/Default-568h@2x~iphone.png" width="640" height="1136"/> + </platform> + + <platform name="wp8"> + <!-- images are determined by width and height. The following are supported --> + <splash src="res/screen/wp8/SplashScreenImage.jpg" width="768" height="1280"/> + </platform> + + <platform name="windows8"> + <!-- images are determined by width and height. The following are supported --> + <splash src="res/screen/windows8/splashscreen.png" width="620" height="300"/> + </platform> + + <platform name="blackberry10"> + <!-- Add a rim:splash element for each resolution and locale you wish --> + <!-- http://developer.blackberry.com/html5/documentation/rim_splash_element.html --> + <rim:splash src="res/screen/windows8/splashscreen.png"/> + </platform> - -Windows Phone okreÅla pojedynczy znajdowa: - - windows-phone/screen-portrait.jpg - -W poniższych sekcjach opisano, jak skonfigurowaÄ ekrany powitalne w aplikacjach podczas pracy z SDK i pokrewne narzÄdzia wiersza polecenia opisane w przewodnikach platformy. - -Nie zapomnij zainstalowaÄ wtyczki ekranu powitalnego przed trudny wobec używaÄ `navigator.splashscreen.hide()` i `navigator.splashscreen.show()` metody. - -## Ekrany powitalne w aplikacjach na platformie Android - -Miejsce [9-Åatka wyobrażenie o osobie][1] akta w projekcie Android `platforms/android/res/drawable*` katalogów. - - [1]: https://developer.android.com/tools/help/draw9patch.html - -Rozmiar dla każdego powinno byÄ: - -* xlarge (xhdpi): co najmniej 960 x 720 -* duże (hdpi): co najmniej 640 x 480 -* Åredni (mdpi): co najmniej 470 à 320 -* maÅy (ldpi): co najmniej 426 x 320 - -Podczas tworzenia nowego projektu Android, ekran powitalny domyÅlne obrazy w Cordova przykÅadowej aplikacji powinny byÄ już obecny w `platforms/android/res/drawable*` katalogów. Zapraszam zastÄ piÄ je z wÅasnych zdjÄÄ. Podczas tworzenia wÅasnych rozchlapaÄ obrazów z ekranu, nie trzeba podaÄ sam permutacji 8 domyÅlnie Cordova te tutaj. Mniej lub bardziej sÅuży optymalizacji. `drawable`Nazwy katalogów musi konwencjami Android dla [rozmiaru ekranu][2] i [alternatywnych zasobów][3]. - - [2]: http://developer.android.com/guide/practices/screens_support.html - [3]: http://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources - -W najwyższego poziomu `config.xml` pliku (nie ten w `platforms` ), dodaÄ nastÄpujÄ ce preferencje: - - <preference name="SplashScreen" value="screen" /> <preference name="SplashScreenDelay" value="10000" /> -Pierwszy wiersz ustawia obrazek, aby wyÅwietliÄ ekran powitalny. Jest to nazwa pliku PNG w `drawable*` katalogi, minus `.png` rozszerzenie. WartoÅÄ domyÅlna dla ekranu powitalnego jest `screen` (pliku `platforms/android/res/drawable*/screen.png` ), wiÄc jeÅli możesz wymieniÄ obrazu nic innego niż `screen.png` w `drawable*` katalogi, ty potrzebowaÄ wobec dodaÄ ten wiersz, modyfikowaÄ. +# ObsÅugiwane platformy -Drugi wiersz ustawia domyÅlne opóźnienie o ile pojawia siÄ ekranu powitalnego w milisekundach. Powinno to byÄ najgorszy start przewidywany czas. WartoÅÄ domyÅlna dla SplashScreenDelay jest 3000 ms. +W chwili obecnej (Cordova 3.5.0 lipca 2014 roku) nastÄpujÄ cych platformach obsÅuguje ekrany powitalne w aplikacjach. -Wreszcie, jako najlepsze praktyki ekran powitalny powinien znajdowaÄ siÄ tylko tak dÅugo jak to konieczne. Gdy Twoja aplikacja zostaÅa uruchomiona i Widok sieci Web zostaÅ zaÅadowany, aplikacji należy ukryÄ opryskaÄ tÄcza, tak, że gÅówny widok jest widoczny, tak szybko, jak to jest gotowy. Ponieważ czas rozpoczÄcia aplikacji bÄdzie różniÄ siÄ trochÄ ze wzglÄdu na wiele czynników, takich jak szybkoÅÄ procesora i sieci, zalecane jest, że aplikacja jawnie wywoÅaÄ `navigator.splashscreen.hide()` w metodzie JavaScript, który odpowiada `deviceready` zdarzenie. Inaczej ekran powitalny bÄdÄ widoczne dla wartoÅci SplashScreenDelay, który skonfigurowany powyżej, które prawdopodobnie dÅużej niż jest to konieczne. PodejÅcie to zdarzenie napÄdzana jest wysoce zalecane kontra koniecznoÅci ekran powitalny widoczny zawsze staÅy czas trwania. - -## Ekrany powitalne w aplikacjach dla platformy iOS - -Kopiowanie obrazów z ekranu powitalnego w projekcie iOS `Resources/splash` katalogu. Tylko dodaÄ te obrazy dla urzÄ dzenia, które chcesz obsÅugiwaÄ, iPad lub iPhone. Rozmiar każdego obrazu należy: - -* Default-568h@2x~iphone.png (640x1136 pixels) -* Default-Landscape@2x~ipad.png (2048x1496 pixels) -* 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) - -## Ekrany powitalne w aplikacjach na platformie BlackBerry 10 - -Dodaj element obrÄczy: powitalny do pliku config.xml dla każdej rozdzielczoÅci i ustawieÅ regionalnych, które chcesz obsÅugiwaÄ: + android + ios + wp8 + windows8 + blackberry10 + -[http://developer.BlackBerry.com/HTML5/documentation/rim\_splash\_element.html][4] +# Plugin ekranu powitalnego - [4]: http://developer.blackberry.com/html5/documentation/rim_splash_element.html \ No newline at end of file +Apache Cordova oferuje również specjalny powitalny ekran wtyczki, które mogÄ byÄ wykorzystane do programowego wyÅwietlania i ukrywania ekran powitalny podczas uruchamiania aplikacji https://github.com/apache/cordova-plugin-splashscreen \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/pl/edge/config_ref/index.md ---------------------------------------------------------------------- diff --git a/docs/pl/edge/config_ref/index.md b/docs/pl/edge/config_ref/index.md index e8c4224..e878912 100644 --- a/docs/pl/edge/config_ref/index.md +++ b/docs/pl/edge/config_ref/index.md @@ -1,6 +1,6 @@ * * * -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 +Licencja: na licencji Apache Software Foundation (ASF) jednÄ lub wiÄcej umów licencyjnych wspóÅautorów. 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 http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/pl/edge/cordova/events/events.backbutton.md ---------------------------------------------------------------------- diff --git a/docs/pl/edge/cordova/events/events.backbutton.md b/docs/pl/edge/cordova/events/events.backbutton.md index c34316b..98ac81c 100644 --- a/docs/pl/edge/cordova/events/events.backbutton.md +++ b/docs/pl/edge/cordova/events/events.backbutton.md @@ -1,6 +1,6 @@ * * * -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 +Licencja: na licencji Apache Software Foundation (ASF) jednÄ lub wiÄcej umów licencyjnych wspóÅautorów. 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 http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/pl/edge/cordova/events/events.deviceready.md ---------------------------------------------------------------------- diff --git a/docs/pl/edge/cordova/events/events.deviceready.md b/docs/pl/edge/cordova/events/events.deviceready.md index 099848c..931511c 100644 --- a/docs/pl/edge/cordova/events/events.deviceready.md +++ b/docs/pl/edge/cordova/events/events.deviceready.md @@ -1,6 +1,6 @@ * * * -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 +Licencja: na licencji Apache Software Foundation (ASF) jednÄ lub wiÄcej umów licencyjnych wspóÅautorów. 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 http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/pl/edge/cordova/events/events.endcallbutton.md ---------------------------------------------------------------------- diff --git a/docs/pl/edge/cordova/events/events.endcallbutton.md b/docs/pl/edge/cordova/events/events.endcallbutton.md index a2c9d72..2c0c0b9 100644 --- a/docs/pl/edge/cordova/events/events.endcallbutton.md +++ b/docs/pl/edge/cordova/events/events.endcallbutton.md @@ -1,6 +1,6 @@ * * * -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 +Licencja: na licencji Apache Software Foundation (ASF) jednÄ lub wiÄcej umów licencyjnych wspóÅautorów. 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 http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/pl/edge/cordova/events/events.md ---------------------------------------------------------------------- diff --git a/docs/pl/edge/cordova/events/events.md b/docs/pl/edge/cordova/events/events.md index f12c9b3..96c5c9c 100644 --- a/docs/pl/edge/cordova/events/events.md +++ b/docs/pl/edge/cordova/events/events.md @@ -1,6 +1,6 @@ * * * -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 +Licencja: na licencji Apache Software Foundation (ASF) jednÄ lub wiÄcej umów licencyjnych wspóÅautorów. 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 http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/pl/edge/cordova/events/events.menubutton.md ---------------------------------------------------------------------- diff --git a/docs/pl/edge/cordova/events/events.menubutton.md b/docs/pl/edge/cordova/events/events.menubutton.md index bdfc61a..ae9d946 100644 --- a/docs/pl/edge/cordova/events/events.menubutton.md +++ b/docs/pl/edge/cordova/events/events.menubutton.md @@ -1,6 +1,6 @@ * * * -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 +Licencja: na licencji Apache Software Foundation (ASF) jednÄ lub wiÄcej umów licencyjnych wspóÅautorów. 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 http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/pl/edge/cordova/events/events.pause.md ---------------------------------------------------------------------- diff --git a/docs/pl/edge/cordova/events/events.pause.md b/docs/pl/edge/cordova/events/events.pause.md index b26f574..03d517d 100644 --- a/docs/pl/edge/cordova/events/events.pause.md +++ b/docs/pl/edge/cordova/events/events.pause.md @@ -1,6 +1,6 @@ * * * -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 +Licencja: na licencji Apache Software Foundation (ASF) jednÄ lub wiÄcej umów licencyjnych wspóÅautorów. 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 http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/pl/edge/cordova/events/events.resume.md ---------------------------------------------------------------------- diff --git a/docs/pl/edge/cordova/events/events.resume.md b/docs/pl/edge/cordova/events/events.resume.md index d3b08a7..6928970 100644 --- a/docs/pl/edge/cordova/events/events.resume.md +++ b/docs/pl/edge/cordova/events/events.resume.md @@ -1,6 +1,6 @@ * * * -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 +Licencja: na licencji Apache Software Foundation (ASF) jednÄ lub wiÄcej umów licencyjnych wspóÅautorów. 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 http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/pl/edge/cordova/events/events.searchbutton.md ---------------------------------------------------------------------- diff --git a/docs/pl/edge/cordova/events/events.searchbutton.md b/docs/pl/edge/cordova/events/events.searchbutton.md index 412ef14..056d86a 100644 --- a/docs/pl/edge/cordova/events/events.searchbutton.md +++ b/docs/pl/edge/cordova/events/events.searchbutton.md @@ -1,6 +1,6 @@ * * * -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 +Licencja: na licencji Apache Software Foundation (ASF) jednÄ lub wiÄcej umów licencyjnych wspóÅautorów. 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 http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/pl/edge/cordova/events/events.startcallbutton.md ---------------------------------------------------------------------- diff --git a/docs/pl/edge/cordova/events/events.startcallbutton.md b/docs/pl/edge/cordova/events/events.startcallbutton.md index e906d73..adfb630 100644 --- a/docs/pl/edge/cordova/events/events.startcallbutton.md +++ b/docs/pl/edge/cordova/events/events.startcallbutton.md @@ -1,6 +1,6 @@ * * * -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 +Licencja: na licencji Apache Software Foundation (ASF) jednÄ lub wiÄcej umów licencyjnych wspóÅautorów. 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 http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/c4d7cc30/docs/pl/edge/cordova/events/events.volumedownbutton.md ---------------------------------------------------------------------- diff --git a/docs/pl/edge/cordova/events/events.volumedownbutton.md b/docs/pl/edge/cordova/events/events.volumedownbutton.md index 5ee7472..905666d 100644 --- a/docs/pl/edge/cordova/events/events.volumedownbutton.md +++ b/docs/pl/edge/cordova/events/events.volumedownbutton.md @@ -1,6 +1,6 @@ * * * -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 +Licencja: na licencji Apache Software Foundation (ASF) jednÄ lub wiÄcej umów licencyjnych wspóÅautorów. 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
