Marcos (Mozilla) showed at the SysApps meetings that it is possible to do all this using HTML and JS without requiring a splash screen API. Making it easy could be done by providing convenience JS libraries.
This is the reason that this is not being considered for the Manifest format at current time. Chrome Apps are trying to make sure to never show the window before the app is actually visible (maybe with some time out). A combination of those two methods might be a better solution, or could at least be researched. Anssi, what do you think? Kenneth On Fri, Dec 20, 2013 at 3:37 AM, Zhu, Junmin <[email protected]> wrote: > Description: > > Xwalk based application takes too long times to show the web page at the > startup. It only shows the blank screen during this time currently. It’s not > user friendly. > > I want to supply the unified SplashScreen API in manifest, which allows > developer to provide screen image for application during the startup. > > > > Note that, the application startup time is composited by two parts. First is > the Xwalk’s startup time, including loading native library and Xwalk’s > resource file etc. > > Second is the application start up time, including the loading application’s > resource and rendering the page etc. > > > > Affected component: > > 1. Android port. > > 2. Tizen port. > > 3. Manifest API spec. > > > > Related feature: (Jira ID) > > https://crosswalk-project.org/jira/browse/XWALK-637 > > > > Target Release: (Crosswalk N) > > Crosswalk 4 > > > > Implementation details: > > To achieve this, two parts of implementation is needed. > > 1. For preparing step, we need to get SplashScreen image from > manifest, and show it when it is set in the manifest. > > Android port: > > a. Add parser support for this new API in the packaging tool > (make_apk.py). > > b. Add mechanism to show/hide the SplashScreen image > (xwalk_app_template). > > Tizen port: (call for help from Tizen expert) …. > > 2. For finish step, we need to know the time when page is rendered, > and remove the splash screen. > > a. Common: invoke the client’s native callback (such as: > OnFirstRenderingReady() ) when the content is updated in the ViewRender > first time. > > b. Android port: 1) provide client’s Java callback API; 2) Add JNI > mapping between Java callback API and native callback API. > > c. Tizen port: (call for help from Tizen expert)…. > > Thanks, > > Junmin. > > > > > _______________________________________________ > Crosswalk-dev mailing list > [email protected] > https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev > -- Kenneth Rohde Christiansen Web Platform Architect, Intel Corporation. Phone +45 4294 9458 ﹆﹆﹆ _______________________________________________ Crosswalk-dev mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
