Touchgui/plugins/org.apache.cordova.splashscreen/doc/it/index.md

changeset 0
e8ccd40d0ef6
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Touchgui/plugins/org.apache.cordova.splashscreen/doc/it/index.md	Thu Jun 04 14:50:33 2015 +0200
     1.3 @@ -0,0 +1,75 @@
     1.4 +<!---
     1.5 +    Licensed to the Apache Software Foundation (ASF) under one
     1.6 +    or more contributor license agreements.  See the NOTICE file
     1.7 +    distributed with this work for additional information
     1.8 +    regarding copyright ownership.  The ASF licenses this file
     1.9 +    to you under the Apache License, Version 2.0 (the
    1.10 +    "License"); you may not use this file except in compliance
    1.11 +    with the License.  You may obtain a copy of the License at
    1.12 +
    1.13 +      http://www.apache.org/licenses/LICENSE-2.0
    1.14 +
    1.15 +    Unless required by applicable law or agreed to in writing,
    1.16 +    software distributed under the License is distributed on an
    1.17 +    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    1.18 +    KIND, either express or implied.  See the License for the
    1.19 +    specific language governing permissions and limitations
    1.20 +    under the License.
    1.21 +-->
    1.22 +
    1.23 +# org.apache.cordova.splashscreen
    1.24 +
    1.25 +Questo plugin Visualizza e nasconde una schermata iniziale durante l'avvio dell'applicazione.
    1.26 +
    1.27 +## Installazione
    1.28 +
    1.29 +    cordova plugin add org.apache.cordova.splashscreen
    1.30 +    
    1.31 +
    1.32 +## Piattaforme supportate
    1.33 +
    1.34 +*   Amazon fuoco OS
    1.35 +*   Android
    1.36 +*   BlackBerry 10
    1.37 +*   iOS
    1.38 +*   Windows Phone 7 e 8
    1.39 +*   Windows 8
    1.40 +
    1.41 +## Metodi
    1.42 +
    1.43 +*   splashscreen
    1.44 +*   splashscreen.Hide
    1.45 +
    1.46 +### Stranezze Android
    1.47 +
    1.48 +Nel vostro config. xml, è necessario aggiungere le seguenti preferenze:
    1.49 +
    1.50 +`<preference name="SplashScreen" value="foo" />` `<preference name="SplashScreenDelay" value="10000" />`
    1.51 +
    1.52 +Dove foo è il nome del file splashscreen, preferibilmente un file 9 patch. Assicurati di aggiungere i tuoi file splashcreen res/xml nella directory sotto cartelle appropriate. Il secondo parametro rappresenta quanto tempo lo splashscreen apparirà in millisecondi. Il valore predefinito è 3000 ms. Per ulteriori informazioni, vedere [icone e schermate iniziali][1] .
    1.53 +
    1.54 + [1]: http://cordova.apache.org/docs/en/edge/config_ref_images.md.html
    1.55 +
    1.56 +## splashscreen.Hide
    1.57 +
    1.58 +Respingere la schermata iniziale.
    1.59 +
    1.60 +    Navigator.SplashScreen.Hide();
    1.61 +    
    1.62 +
    1.63 +### BlackBerry 10, WP8, iOS Quirk
    1.64 +
    1.65 +Il `config.xml` di file `AutoHideSplashScreen` impostazione deve essere `false` . Per ritardare nascondendo la schermata iniziale per due secondi, aggiungere un timer ad esempio nel `deviceready` gestore di evento:
    1.66 +
    1.67 +        setTimeout(function() {navigator.splashscreen.hide();
    1.68 +        }, 2000);
    1.69 +    
    1.70 +
    1.71 +## splashscreen
    1.72 +
    1.73 +Visualizza la schermata iniziale.
    1.74 +
    1.75 +    Navigator.SplashScreen.Show();
    1.76 +    
    1.77 +
    1.78 +L'applicazione non può chiamare `navigator.splashscreen.show()` fino a quando ha iniziato l'app e il `deviceready` ha generato l'evento. Ma poiché in genere la schermata iniziale è destinata ad essere visibile prima app ha iniziato, che sembrerebbe per sconfiggere lo scopo della schermata iniziale. Fornendo qualche configurazione in `config.xml` verrà automaticamente `show` la schermata iniziale subito dopo il lancio dell'app e prima che completamente ha iniziato e ha ricevuto il `deviceready` evento. Per ulteriori informazioni su facendo questa configurazione, vedere [icone e schermate iniziali][1] . Per questo motivo, è improbabile che dovete chiamare `navigator.splashscreen.show()` per rendere la schermata visibile per avvio di app.
    1.79 \ No newline at end of file

mercurial