I want to build and application through which an user can input some settings and the application will start a background service to perform some tasks based on those settings. I want to run the application and the background service only in the Simulator (I know that it requires "certified" mode for running a background service, but I am not thinking right now for posting the app on Firefox Marketplace).
Can someone provide me with some links or tutorials on how to build and run a background service on FIrefox OS platform? Can anyone also explain how to communicate between the background service and the application? (I have search the MDN and on google, but no luck).
Also, is there some way for application (regular app or background service) to listen for notifications from a server?(I am looking for a method in which the application does not pool, but is notified by the server).
Thanks, Tamash
For example, are you finding Firefox (firefox.exe) in the Windows 10 Task Manager (Ctrl+Shift+Esc) on the Processes tab or the Details tab? If you confirm firefox.exe running in the Task Manager, you can right-click > End Process on it to "crash" it so you can start Firefox normally.
The background updates feature adds a Firefox Background Update entry to the Windows Task Scheduler that, when enabled, will check for Firefox updates every 7 hours when the browser is not in use.
If Firefox did not shut down normally when you last used it, Firefox might still be running in the background, even though it is not visible. If you try to open it while it's running, an error message will appear with the option to click Close Firefox.
When background updates are possible, the background update task will be invoked every 7 hours (by default). The first invocation initiates an update download which proceeds after the task exits using Windows BITS.
Can someone provide me with some links or tutorials on how to build and run a background service on FIrefox OS platform?
This is planned of a future version of Firefox OS. See "Background services" at https://wiki.mozilla.org/Webapi
Also, is there some way for application (regular app or background service) to listen for notifications from a server?(I am looking for a method in which the application does not pool, but is notified by the server).
This doesn't seem to be implemented yet. See https://wiki.mozilla.org/Webapi and https://wiki.mozilla.org/WebAPI/SimplePush
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With