Thanks for the comments. I summarized some key points below.

- Currently, Tizen doesn't support "Activity-Task" like page ownership. As I 
tested on Tizen2.1, pages are binding with their original app.

One issue of this model is: when user resume an app which was calling another 
app's functionality, the caller page will show other than the callee page.
For example, a gallery app provides "pick" picture service. An user may resumes 
his Facebook app after a phone call, however can't find his previous "pick" 
photo page.
The same issue happens when user/system kill an app.

With AppContext(contains a page stack) when user open/kill/resume an app, he is 
open/kill/resume the AppContext of that app.
Pages from that app can belongs to other AppContexts, and these operations will 
not affect such pages.

- Thanks for mention the native apps, the design doc only considered the web 
apps(legacy & XPK).
It seems we need system level modification to support both native and web apps.

So I think currently the MAIN question is: do we just need to follow Tizen2.1 
behavior? If yes, the AppContext stuff can be removed. If no, the native/web 
behavior will not be aligned.

- For testing, app samples and xwlak-launcher messages, I think I can provide 
them when we got the consensus on the above question :)


> -----Original Message-----
> From: Oliveira, Caio
> Sent: Tuesday, January 07, 2014 5:31 AM
> To: Long, Xiang
> Cc: crosswalk-dev@lists.crosswalk-project.org
> Subject: Re: [Crosswalk-dev] Intent to implement: [Tizen] Application API
> 
> Hello,
> 
> On Mon, 2014-01-06 at 09:23 +0000, Long, Xiang wrote:
> > Long term plan: AppContext support. For details please check the design doc:
> https://docs.google.com/a/intel.com/document/d/1n08dzcl3fawRW2Eccg95TC
> 6DApe6RoAdUDqaZwNM8dI/edit#
> 
> I have added some comments and questions to the design doc, please take
> a look at them when it's possible, I won't replicate them all here.
> 
> More questions:
> 
> - I'm not sure that Tizen WRT actually supports an "Activity"-like
> semantics, i.e. one app can load a "view" from other app (in our case a 
> window,
> in Android's it's an "activity). Have you tested this?
> 
> - Why do we need to keep the stack structure for each AppContext? Which
> operation
> will make use of them?
> 
> - Since we ask AUL, we can launch native applications, and I expect that we 
> can
> use
> appcontrol with them as well. Is that correct? That means that our
> "AppContext" stackes
> will be "incomplete". How do we deal with that?
> 
> 
> In my opinion things this proposal still needs work and besides the comments
> in design doc and the questions above, some more general comments:
> 
> - How will we test this feature? How can we make sure these APIs are
> working as expected (i.e. working like Tizen WRT)?
> 
> - Would be good to turn the example in the design doc into a real
> working example, so we could see the "AppContexts" in action on Tizen
> WRT.
> 
> - Give more detail to what information needs to be passed from/to
> the launcher process. Regardless of the implementation, the set of
> information that needs to be communicated back and forth will be the same,
> so this is not wasting time into details that might not be used.
> 
> 
> Cheers,
> Caio

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

Reply via email to