Even with splash screen, it has a time limit within which it can help improve user experience. A long time waiting with splash screen is also bad. So a timeout is reasonable as my understanding.
But on the other hand, the mechanism to dismiss the splash screen automatically is very key. Have you considered following in addition to the two ways you listed? we also provide API to hide splash screen in js just like cordova, as well as the api in manifest/package options to turn off automatical dismissing. So that, if the developer wants things to be perfect on crosswalk, they can use this approach. Thanks, Shiliu. -----Original Message----- From: He, Xinchao Sent: Monday, December 30, 2013 10:19 AM To: Li, Guangzhen Cc: Zhu, Yongsheng; Wang, Shiliu; crosswalk-dev@lists.crosswalk-project.org Subject: Re: [Crosswalk-dev] Intent to implement - SplashScreen API for xwalk based application. "Li, Guangzhen" <guangzhen...@intel.com> writes: > There are two ways to dismiss SplashScreen in Cordova > 1) App developers can decide when close splash screen by js : > navigator.splashscreen.hide() > 2) By timeout > Why we need the timeout, I think it’s the final chance to dismiss the splash > screen, when there are some errors occurred on Runtime or Web app. > > Similar solution for Crosswalk runtime, I think we need to provide two > ways > 1) When first visible page occurred, dismiss the SplashScreen (By some > mechanism in runtime) > 2) By timeout > Or the timeout can't be configured by the users, Can we make it build-in > (few seconds)? There is another way to achieve this, when finished loading or error occurred, dismiss the splash screen, but I really do not think it's needed to hide the splash screen when error occurred in Runtime or apps. If using timeout, a blank screen might be displayed for a while when loading a huge application on a very slow device. > > -----original Message----- > From: He, Xinchao > Sent: Friday, December 27, 2013 4:37 PM > To: Li, Guangzhen > Cc: Zhu, Yongsheng; Wang, Shiliu; > crosswalk-dev@lists.crosswalk-project.org > Subject: Re: [Crosswalk-dev] Intent to implement - SplashScreen API for xwalk > based application. > > For Crosswalk runtime model side, I don't think we need a "timeout" > property here, the WRT should decide how long will the splash screen > displaying, and for different device, the timeout value should be also > different, given a fixed splash screen timeout value is not an acceptable > solution I think. > > > "Li, Guangzhen" <guangzhen...@intel.com> writes: > >> Thanks for your review for Tizen side. >> Below is just my draft proposal, need to get more feedback and discussion >> from both sides. >> The images for xhdpi/hdpi/mdpi/ldpi are both optional in Android. >> Agree with you, we can provide only land/port firstly. >> >> The proposal changed to: >> >> “splashscreen”: { >> “landscape”: “splashscreen_land.png”, >> “portrait”: “splashscreen_port.png”, >> "timeout": "3000" >> } >> >> I have add another item "timeout" >> >> Any comments? >> -- Best Regards, He, Xinchao _______________________________________________ Crosswalk-dev mailing list Crosswalk-dev@lists.crosswalk-project.org https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev