Hi David,
How did I create screen splash after I have added landscape and portrait images?
Thanks
Hi David,
How did I create screen splash after I have added landscape and portrait images?
Thanks
Hello Ade,
In fact what you need to do is choose the splash screens. App Builder prepares for you various splash screen images in different sizes and for various platforms. Also App Builder take care and require the appropiate Cordova's plugins in the Batch files. I don't know if this can help you or what.
Hello Ade,In fact what you need to do is choose the splash screens. App Builder prepares for you various splash screen images in different sizes and for various platforms. Also App Builder take care and require the appropiate Cordova's plugins in the Batch files. I don't know if this can help you or what.
I have added the appropriate images and I compile the file but there is no screen splash display at the beginning of loading the app.
What am I doing wrong?
Thanks.
Hello Ade,
Assert you save the application after adding the splash screen images. Assert also the "Create a Cordova config file" are also checked. Then build (not debug) the application (press F8) and take a look at the "*_Compiled\res\screens\" directory. App Builder copy in that directory the splash screen images.
If everything is well the splash screen must be show. If they do not work, then take a look at the images you are using. Maybe these are too small or something? Try with other images...
Not sure if this is relavent but I found that I had to provide the images at exactly the size as stipulated in the help section for splash screens. I tried with smaller image size and could not get it to work. Also on my android phone, the splash screen only shows up on the first run of the app. After that it is not there until the op system removes the app from memory and then you can run it again and it will show up. I am not positive this is how it all works at all but it is my best guess for now.
Hello all,
Thanks Donald for your help. I am not sure if the images must be provided in the exactly size the "tip" says. In fact I test here with images about 512x512 pixels and they works like expected. We need to think that App Builder resizes our original images to adapt it into various platforms, then, IMHO there is not an specific image size.
Probably it's a combination of things. If we choose the images for the splash screen, we need to save the application. After that, we need to build the application (F8) and not debug it (CTRL+F9), since the debug operation do not create the images (because they are not needed at that time).
About your application "background" question, certainly, at least in Android, the application's splash screen are show when the application starts from scratch, and not when the user just back to our application from other.
Hi,
Regarding the image sizes there are exact size as mentioned.
Even at run time mode there is no splash screen.
I think there is something wrong somewhere.
Where I don't know.
Help!
Hello Ade,
Are you take a look at the directory I mentioned above (*_Compiled\res\screens\) and the splash screen images exists? If so, take a look at the generated Batch file and assert they contains the appropiate instructions to require the Cordova's splash screen plugin. When you build the application with Cordova, take care to the console's messages: maybe we can get some information from there.
Hello Ade,Are you take a look at the directory I mentioned above (*_Compiled\res\screens\) and the splash screen images exists? If so, take a look at the generated Batch file and assert they contains the appropiate instructions to require the Cordova's splash screen plugin. When you build the application with Cordova, take care to the console's messages: maybe we can get some information from there.
Hi David,
Thanks for your quick reply.
The images are existing eg. land-hdpi.png etc.
Do you mean this?
Hello,
Well. What I means is to show the console results, that is, the messages which appear once you execute such BAT file. I think the problem is you need to delete the "_Compiled" directory Ade, the "Batch" file must appear like the below one:
Note the addition of the splash screen plugin. Then:
1º Choose your images.
2º Save the application.
3º Check the Create Cordova config.
4º Delete your current compiled directory
5º Build (not debug) your application.
6º Your Batch file must appear like the above one.
Hi David,
I followed your instruction but no cordova plugin added.
Hello Ade,
Start with an empty application. I can't reproduce the problem here, that is, the splash screens works for me...
Hi,
No luck yet. I did it manually and it work.
I think the issue is on checkbox for Cordova plugin inside AppBuilder.
Hello,
Yes; I note something rare here Ade. I will investigate a litle more and tell you something.
Please, sorry for the inconveniences.
Hello to all,
Update your AB copies. The error which cause the Batch files for Cordova doesn't include the Splash Screen plugin has been fixed Donald, probably this error also caused your problems with the Splash Screen, so you can try with other images.
Hi David,
Thanks for the update. I have updated mine but I have not test it.
Hi David,
Thanks for the update. I have updated mine but I have not test it.
You're welcome! :)
Hi,
I have tested it and it is working as expected.
Thanks
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.
This website uses some useful cookies to store your preferences.