1

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.

Rohith Murali
  • 5,551
  • 2
  • 25
  • 26
  • I'm not sure you're able to do it with an app. You might have to change Gecko itself. I'm saying that, because with apps you don't have permission to do that without creating a certified app. And even if you manage to create a certified app, I'm not sure you'll be able to do so. – msaad Apr 05 '14 at 03:44

2 Answers2

1

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.

fharper
  • 559
  • 2
  • 13
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

gasolin
  • 2,196
  • 1
  • 18
  • 20