Page 1 of 1

Preview OK, actual android use flashes wrong screen before loading app

Posted: Tue Jul 23, 2013 8:35 am
by dmtlink

I'm not sure how to explain this, but the title of my app appears in what I can only assume is the 'native' look of my android device, before the app finally loads in the appropriate theme and buttons, etc. The test mode however works perfectly without issue (just loads app), but the issue appears when I load the app on my android Nexus S phone.

Is there a way to prevent this "splash screen" of the title before it loads the app?


Preview OK, actual android use flashes wrong screen before loading app

Posted: Tue Jul 23, 2013 8:41 am
by Kateryna Grynko

Hi,

Could you please clarify what is the Android version on your Nexus?


Preview OK, actual android use flashes wrong screen before loading app

Posted: Tue Jul 23, 2013 9:03 am
by dmtlink

On my Nexus I have android version 4.2.2 (the latest version). This is the only app that seems to have any issues.

In case there was any confusion, To clarify what I meant before, the loading screen that flashes is just the title for the app in the title bar using the standard font and styles for my device. Then the app loads, which appears to have different font sizes and styles. I suspect the first screen is loading of an app, and then the actual app complete with buttons etc. loads (which is probably a webpage that simulates the native look and feel by using jquery mobile, hence the different font sizes)


Preview OK, actual android use flashes wrong screen before loading app

Posted: Tue Jul 23, 2013 9:37 am
by Kateryna Grynko

Thank you for the clarification, I'll test this.


Preview OK, actual android use flashes wrong screen before loading app

Posted: Tue Jul 23, 2013 10:38 am
by Kateryna Grynko

Unfortunately, there is nothing you can do with this window. When application runs, Android tries to open the first app page ('activity' in Android OS terms). For application written using PhoneGap the page needs component of native browser to be downloaded before running the code of your application. So there may be a delay with the substitution of a standard interface.


Preview OK, actual android use flashes wrong screen before loading app

Posted: Tue Jul 23, 2013 6:52 pm
by dmtlink

Is there any way to update the activity page so that the title has the same color as the background?


Preview OK, actual android use flashes wrong screen before loading app

Posted: Tue Jul 23, 2013 6:55 pm
by Maryna Brodina

Hello! You style your app the way you need with CSS.


Preview OK, actual android use flashes wrong screen before loading app

Posted: Tue Jul 23, 2013 10:16 pm
by dmtlink

But the 'activity' page isn't a normal page within the app. (I don't think the 'activity' page has CSS). How do I access the area where I can change the display properties for this 'activity' page, which technically isn't a page within the app, at least the way appery.io thinks about pages?


Preview OK, actual android use flashes wrong screen before loading app

Posted: Wed Jul 24, 2013 4:23 pm
by Maryna Brodina

Hello! You can try to implement splash screen http://docs.phonegap.com/en/2.4.0/cor... - there you can any image.