Hi Max,
Thanks for your comments,
I think the behavior of htc is caused by its specified launcher, but not sure 
:-)

About whether show or hide the splash screen, I think it should be judged by 
the app developers, we can provide them the options.

Br.
Guangzhen



On 23/12/13 15:43, Li, Guangzhen wrote:
Hi Max,
  There is no splash screen officially supported by Android. All the apps has 
it’s own solution.


Hrm. I must be thinking of something else, but on my HTC One X, when I tap on 
an app in the switcher, it seems to me that what zooms to full screen is simply 
a snapshot of the app when it was last active - that seems to be a system 
implemented splashscreen to me. Sometimes, it shows a 'branding' page for a 
short while, before the app shows an interactive screen. Perhaps this is 
different to a splashscreen in some way - or is it only done on HTC?

Anyway, my only concern is that the above has been considered :)

  And also no snapshot displayed when application resumed, as I know.

  But on iOS, there are splash screen and snapshot officially supported.

  I think we can follow iOS way

1)       Developer can choose whether use system provided splash screen or not. 
They need to configure the images of splash screen.

2)       Splash screen will be displayed each time when application restarted, 
if it’s resumed from background, no splash screen displayed..

I have no influence here, but I would like to know if the negative impact of a 
splash screen has been considered. A quick search turns up this :

<http://cyrilmottier.com/2012/05/03/splash-screens-are-evil-dont-use-them/><http://cyrilmottier.com/2012/05/03/splash-screens-are-evil-dont-use-them/>

Note that I personally am in two minds regarding them - I only point this out 
so that the issues can be properly considered.

Thanks,

Max.


From: Crosswalk-dev [mailto:crosswalk-dev-boun...@lists.crosswalk-project.org] 
On Behalf Of Max Waterman
Sent: Monday, December 23, 2013 2:53 PM
To: 
crosswalk-dev@lists.crosswalk-project.org<mailto:crosswalk-dev@lists.crosswalk-project.org>
Subject: Re: [Crosswalk-dev] Intent to implement - SplashScreen API for xwalk 
based application.

On 23/12/13 13:53, Li, Guangzhen wrote:

Thanks for your answers; glad that these issues are being considered :)

One quick follow-up question...

2) Isn't it true that, on Android, apps are started/stopped "on the fly" and 
they need to store/restore their state so that they are started again as if 
they hadn't been stopped? I wonder how a splashscreen might interfere with this 
functionality - perhaps the splashscreen can be set at runtime to 'fake' the 
most recent screen image? ...but then, what about the case where the user 
switches orientation while the app is stopped? Tricky...;
    Yes, apps can running foreground or back to the background, and it will be 
killed by the OS or restarted.
As my planning, The splash screen will be displayed only in two cases

1)      The first time the app start up

2)      When the app restarted (after killed by the OS)
When the app resumed (from background to foreground), splash screen will not be 
displayed.


It is the correct behaviour to show the splashscreen when the OS has stopped 
the app?

If you consider the app as a flow of screens, I would have only expected a 
splash screen as the 'first' screen in that flow. I wouldn't expect to see it 
just because the OS is starting the app, irrespective of if it has been stopped 
by the user or the OS.

I suppose that expectation is debatable, depending on if you just want to 
replace the 'white screen' with something more interesting, or if you're really 
considering the flow of the app...ie, the user will see a 'white screen' when 
the OS restarts an app.

I am also wondering if the OS already shows a snapshot of the screen, grabbed 
when it stopped the app (the same as it uses in the switcher, I presume). 
Perhaps this is only for the 'resume'? My knowledge of Android app lifecycles 
might be insufficient here, so please correct me if I'm misunderstanding 
something.

Regards,

Max.

_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org<mailto:Crosswalk-dev@lists.crosswalk-project.org>
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to