Hello,

let try to explain more the need with a use case.

You want to offer from an application (typically a home screen) an
access to an other application, which needs to make complex
initialisation such as Network login, slow hardware init, complex data
structure, ... (such as a navigation social network access, phone
sync, ...)

In order to garantee a immediate access to the launched App, you need
a model where the App is launched in the background, gets its
initialisation done, report to the calling App (home screen) its
readyness and wait for a trigger to be activated.

Then the calling App display the button/menu giving access to the new
App in such a way that when the user calls it from the home screen,
the calling App pushes a activate request via the AppFW and the new
App displays it magic with zero wait for the user.

This mode of operation requires :

 - the system to have enough RAM to load the App in parallel
 - the AppFW to support a pre-launch request
 - the App to declare in their manifest if they support a pre-launch
option (to allow the APpFW to reject invalid request)
 - the App to self pause at the end of their init in pre-launch mode
 - the Web run Time to support App initialisation (so to execute
javascript) without activating any display or input.
 - the AppFW to allow to unpause an application in end of init mode.

I hope that this use case will help to understand the concept.
Let me know if you need more.

Regards

2014-07-10 13:15 GMT+02:00 Balestrieri, Francesco
<[email protected]>:
> Hi Dominique,
>
>
>
> as Changbin mentioned, the current solution we have in Tizen to improve the
> perceived startup time is the ”splash screen”. If this doesn’t satisfy your
> requirement, could you explain a bit more the details of the problem you
> need to solve and what kind of functionality you have in mind for the
> preload mechanism?
>
>
> Francesco
>
>
>
>
>
> From: Dev [mailto:[email protected]] On Behalf Of Shao, Changbin
> Sent: Wednesday, July 02, 2014 4:52 AM
> To: Dominig ar Foll (Intel OTC); [email protected]
>
>
> Subject: Re: [Dev] Preload request for AppFW
>
>
>
> Hi,
>
> Think splash screen could be workaround for your issue, it’s an image or
> animation  that shows before the entry page in order to replace white start
> screen.
>
> Jingfu is now working to enable it in Crosswalk,
> https://github.com/crosswalk-project/crosswalk/pull/2148
>
>
>
> Thanks,
>
> Changbin
>
>
>
>
>
> From: Dominig ar Foll (Intel OTC) [mailto:[email protected]]
> Sent: Wednesday, July 02, 2014 7:48 AM
> To: Shao, Changbin; [email protected]
> Subject: Re: [Dev] Preload request for AppFW
>
>
>
> Changbin,
>
> My proposition is aiming at the creation of complex UX which are composed
> from multiple applications (e;g. a Home shell and various specific Apps) in
> order to avoid an empty screen we need to be able to request a preload of
> the App from the Home shell and to start that App, and so give it the
> control of the screen) only once that we know it to be ready to display
> something on the spot and take control of the UX.
>
>
>
> Dominig ar Foll
>
> Senior Architect
>
> Intel Open Source Technology Centre
>
> Le 01/07/2014 07:43, Shao, Changbin a écrit :
>
> Hi Dominig,
>
> Is your proposal aiming to save launch time for complex application?
>
> Currently, when launch a new application, Crosswalk will create render
> process to load, parse, composite etc to render the app page. For launch
> time concern, we can implement a model, named Process Pool here,  that will
> create and initialize render process in advance before real launch happens,
> thus the initialization cost of render process could be saved.
>
> However, IMHO it’s difficult to preload the application in render process
> because this is application specific task, the render process won’t be
> informed which application to load until the real launch happens. Meanwhile,
> AFAIK the most time cost job is page parsing and compositing, the page
> loading time cost is relative small than above two. We also need to take
> this into consideration when design.
>
>
>
> Thanks,
>
> Changbin
>
>
>
> From: Dev [mailto:[email protected]] On Behalf Of Dominig ar Foll
> (Intel OTC)
> Sent: Tuesday, July 01, 2014 9:28 AM
> To: [email protected]
> Subject: [Dev] Preload request for AppFW
>
>
>
> Hello,
>
> in order to ease the development of complex UX in HTML5 it would be
> interesting to add a feature to the AppFW which allows to load an APP
> without launching it in order to launch it at the later phase.
>
> Would that be something that we could accommodate between AUL and Crosswalk
> ?
>
> I would be interrested by your sugesssion.
>
> Regards
>
> --
>
> Dominig ar Foll
>
> Senior Architect
>
> Intel Open Source Technology Centre
>
>
>
> ---------------------------------------------------------------------
> Intel Finland Oy
> Registered Address: PL 281, 00181 Helsinki
> Business Identity Code: 0357606 - 4
> Domiciled in Helsinki
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.



-- 
Dominig ar Foll
Senior Software Architect
Intel Open Source Technology Centre
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to