"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