1

我需要 Firefox OS 中的一个服务应用程序,它应该在启动时启动。我搜索了几个网站,但没有得到任何有用的东西。另外我想知道清单文件和js文件中应该进行哪些更改。也是 index.html 文件的要求。

4

2 回答 2

1

后台服务,但它还不可用,并且现在标记了一个经过认证的应用程序。所以目前是不可能的。

于 2014-05-09T15:18:31.957 回答
0

The most relevant API that could act as 'service' is alarm API, which allow app to trigger itself periodically and do some stat checking. Calendar/Email App use that technique to pull new event/mail from internet.

Ref: http://tech.mozilla.com.tw/posts/2223

于 2014-05-19T09:30:33.190 回答