i find my application standing a black screen, when i startup my application.
after some time, i see my application UI. how can i see the UI as soon as i startup my application. [import]uid: 29364 topic_id: 8615 reply_id: 308615[/import]
Create a Default.png image and put it in the top level of your game folder.
This will then be shown instead of the black screen. [import]uid: 33866 topic_id: 8615 reply_id: 30914[/import]
Just to add a little more info here;
Adding the Default.png image (which should be the same size as your screen) is adding your splash screen.
Splash screens are what you see at the start of (almost) all apps while they’re loading - so they’re a good way to get your brand name and logo out there.
Peach
PS - Be sure to CAPITALIZE the D in “Default” - naming the file default.png (with a little D) will NOT work. [import]uid: 10144 topic_id: 8615 reply_id: 30921[/import]
thank you, but i find my application on android still standing black screen after i load a Default.png in my top directory,how can i do? [import]uid: 29364 topic_id: 8615 reply_id: 31015[/import]
Ah, apologies - you didn’t specify Android in the original post so I mistakenly assumed iOS.
From the Corona building for Android page;
“Android applications do not use “Default.png” splash screens, or any equivalent.”
So at this stage that screen is just basically your app loading up - however Ansca have said they’re working hard on improving Android performance at the moment so perhaps soon it will be there for less time during start up. [import]uid: 10144 topic_id: 8615 reply_id: 31062[/import]
it is sad that “Default.png” does not support on android [import]uid: 29364 topic_id: 8615 reply_id: 31067[/import]
Hi, sorry for bumping an old thread, but are there any strides toward a fix/fake for this? I figured I’d chime in to something older than start a new thread…
I’ve got a loading screen that pops up as soon as the app loads on my android device, but depending on the device itself, I’m still clocking black screen times for anywhere between 4-15 seconds. The long end of that is long enough to make testers think the app is malfunctioning.
Any advice would be greatly appreciated. [import]uid: 64280 topic_id: 8615 reply_id: 48391[/import]
The problem is all the stuff you do before your app becomes active (running inside the enterframe event). It doesn’t render a single frame before this.
Try to put some of this stuff into the regular frame handling. Using a finite state machine approach for an example. Then your app will show up faster. [import]uid: 5712 topic_id: 8615 reply_id: 48423[/import]