- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi, i would like to know, how can i exclude all the splashscreens, that i have set on intel xdk. Because now im using the file index.html as my splash.
I tried to exclude the references of the splash images on the android xml config fil,e but this doesn't worked.
- Marcas:
- HTML5
- Intel® XDK
Link copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
<script> function onDeviceReady() { // Register the event listener intel.xdk.device.hideSplashScreen(); document.addEventListener("backbutton", onBackKeyDown, false); } </script>
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Rizvan G. wrote:
First step:
Remove the plugin Splash Screen in the Plugin Management
Second step:
Insert:
intel.xdk.device.hideSplashScreen ();
in function (it is in the index.html):
function onDeviceReady ()
- Must happen:
<script> function onDeviceReady() { // Register the event listener intel.xdk.device.hideSplashScreen(); document.addEventListener("backbutton", onBackKeyDown, false); } </script>
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I recommend adding the Splashscreen Cordova plugin in your project found under the Plugin Management section on the Projects Tab.
During the deviceready event handler, you can execute the following method;
navigator.splashscreen.hide()
For more information about the Apache Cordova*Splashscreen plugin, visit https://www.npmjs.com/package/cordova-plugin-splashscreen.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
- exit the XDK
- make a copy of the <project-name>.xdk file inside your project directory
- open the <project-name>.xdk file using a text editor (notepad++, sublime, brackets, etc.)
- find the arrays of "splashes_" in the file and replace them with "splashes_" : [],
- save the file
- restart the XDK

- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora