When the background services closes, it would just silently fail.

However, at some point in the future, should the user launches your app*,
you should be able to do |window.open('...', 'background_page');| to launch
the background service again.

* Every 3rd app is always present on home screen.


On Mon, Jan 21, 2013 at 7:29 PM, Zulewski, Kamil (REC) <
[email protected]> wrote:

> Thanks for quick reply. Where can I find some examples or description? ***
> *
>
> ** **
>
> What do you mean by:****
>
> “You will be able to launch it again only until the user has launch the
> app.”****
>
> ** **
>
> This service shouldn’t have UI nor home screen icon. So as I understand
> only possibility to re-launch it is phone reboot. ****
>
> ** **
>
> -- ****
>
> BR, Kamil ****
>
> ** **
>
> *From:* Tim Chien [mailto:[email protected]]
> *Sent:* Monday, January 21, 2013 11:36 AM
> *To:* Zulewski, Kamil (REC)
> *Cc:* [email protected]
> *Subject:* Re: [b2g] Background services API****
>
> ** **
>
> Hi, replay inline:****
>
> ** **
>
> On Mon, Jan 21, 2013 at 6:20 PM, Zulewski, Kamil (REC) <
> [email protected]> wrote:****
>
> Hi,
> I've questions about Background services API mentioned here:
> https://wiki.mozilla.org/WebAPI/#Planned_for_the_future
>
> 1) What's the status of this API?****
>
> ** **
>
> Implemented in Gaia, useable to certified app with backgroundservice
> permission. However, no Gaia core apps is currently using it.****
>
>  ****
>
> 2) Is it possible to use it currently to create service:
>         a. which starts automatically at boot time and runs in background.
> ****
>
> ** **
>
> Yes****
>
>  ****
>
>         b. has no UI and it's not visible in task manager and/or on home
> screen.****
>
> ** **
>
> Yes****
>
>  ****
>
>         c. won't be killed in low memory conditions ( too much apps
> opened).****
>
> ** **
>
> It will be killed. You will be able to launch it again only until the user
> has launch the app.****
>
>  ****
>
>
> --
> BR, Kamil
>
>
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g****
>
>
>
>
> -- ****
>
> Tim Guan-tin Chien, Senior Front-end Dev., Mozilla Corp. (Taiwan)****
>



-- 
Tim Guan-tin Chien, Senior Front-end Dev., Mozilla Corp. (Taiwan)
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to