Running webapps in background of mobile devices
Why do we need that?
Imagine a web application showing locations in a map. This works perfectly in your desktop browser. For example in Android, if you dont have the browser in foreground the process is "sleeping". Android manage multitasking using services, but this is a native functionality that you cannot access from a JS Webapp.
it seems we have some progresses in this topic that we should study some day. There are some new specifications to allow notifications out of the broswer to do the notifications native to the OS
https://notifications.spec.whatwg.org/
Together with web workers:
http://caniuse.com/#feat=webworkers
Could be an excellent way to make web applications, that in mobile devices could be working in background, making notifications integrated in the native system (like android).
A great example about that ideas:
but the use GCM to publish/subscribe. We have to see how to do this with AEON. Very interesting, and something to study!!!