[Dev] Why is there no "tizen.application.getCurrentApplication().show()" call ?

Abramski, Adam M adam.m.abramski at intel.com
Fri Dec 6 18:39:32 GMT 2013


Hi Duck,

I’m confused.  I thought in Tizen 2.1 or maybe it was 2.2, support of running an app in the background was to be supported or was that only for native apps?

Thanks,
Adam

From: dev-bounces at lists.tizen.org [mailto:dev-bounces at lists.tizen.org] On Behalf Of Manuel BACHMANN
Sent: Friday, December 06, 2013 2:51 AM
To: keeduck.kim at samsung.com
Cc: dev at lists.tizen.org
Subject: Re: [Dev] Why is there no "tizen.application.getCurrentApplication().show()" call ?

Hi duck,

Thanks a lot for your answer !
So if I get this correctly, it's a technical impossibility which leads to this nonexistent API call.

Things may be different for the IVI profile, which has a more "desktop" technical implementation, with a shell that would allow such a thing. But in this case, I agree that the API is not needed, because it would be the shell's role to show() an app (and the shell doesn't use nor require JS).
Things are a lot clearer now, thanks,

Regards,
Manuel

2013/12/6 김기덕 <keeduck.kim at samsung.com<mailto:keeduck.kim at samsung.com>>

hi manuel,



i think, i can answer your 2nd question,

"why is there no corresponding "tizen.application.getCurrentApplication().show()" call ?"



AFAIK, current javascript engine, JSC, does not allows background excution of web apps.

thus, some of javascript can not be executed. by this manner,

if web apps can call some of javascript codes, it means, it has top-most windows for that time.

and it also means, it does not need to bring up those apps to foreground.

this is why we did not make application.show().



hope this helps.



regards,

duck





------- Original Message -------

Sender : Manuel BACHMANN<manuel.bachmann at open.eurogiciel.org<mailto:manuel.bachmann at open.eurogiciel.org>>

Date : 2013-12-06 18:25 (GMT+09:00)

Title : [Dev] Why is there no "tizen.application.getCurrentApplication().show()" call ?


Hi folks,

My question is linked to :
https://bugs.tizen.org/jira/browse/TIVI-2048
We just fixed (or at least, we tried to) the "tizen.application.getCurrentApplication().hide()" call under IVI profile.
It basically allows to hide an application using Web Runtime, from JS Code. What will then happen is that the underlying EFL toolkit will hide the window from view, and the user won't see the app anymore.
What leads me to the next question : why is there no corresponding "tizen.application.getCurrentApplication().show()" call ? Because it's only one-way now, the app will hide be can not be shown again (unless I'm missing something).
--
Regards,

Manuel BACHMANN
Tizen Team
EUROGICIEL Ingenierie
Groupe EUROGICIEL - La 1ere SSAP


Technopole PIBS
Le Prisme
Place Albert Einstein
CP 1 56038 VANNES
www.eurogiciel.fr<http://www.eurogiciel.fr/>




[cid:image001.gif at 01CEF26F.72E84780]




--
Cordialement,

Manuel BACHMANN
Intervenant Tizen
EUROGICIEL Ingénierie
Groupe EUROGICIEL - La 1ère SSAP

Technopole PIBS
Le Prisme
Place Albert Einstein
CP 1 56038 VANNES
www.eurogiciel.fr<http://www.eurogiciel.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/dev/attachments/20131206/77d21a64/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 14036 bytes
Desc: image001.gif
URL: <http://lists.tizen.org/pipermail/dev/attachments/20131206/77d21a64/attachment-0001.gif>


More information about the Dev mailing list