How to make a service application in Firefox OS?

142 Views Asked by At

I need a service application in Firefox OS which should start at boot time. I searched several sites but didn't get anything useful. Also I would like to know what all changes should be made in the manifest file and js file. Also the requirement of index.html file.

2

There are 2 best solutions below

0
On

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

0
On

There is the Background Services, but it's not available yet, and tagged a certified app right now. So it's not possible at the moment.