On Tue, Jan 1, 2013 at 12:06 PM, Noit <[email protected]> wrote: > > Hi all how can I keep an app running in the background? It's mean to just > listen to calls and when a call comes in it announces the number that is > calling.
We've been avoiding having apps that run in the background since they end up consuming memory and CPU. Instead we're using an even driven model where applications can subscribe to notifications. These work even if the application isn't currently running, Firefox OS simply starts the application and then delivers the notification. We have such a notification for incoming phone calls which you could use. However currently the telephony API, and thus this notification, is currently limited to built-in apps. / Jonas _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
