Quote:
Originally Posted by HansTWN
Is this new? I have yet to see an application that can do it, which browser is capable of doing that?
The logical thing would be to just let the video continue in the background (the user could always pause it himself, if he wanted to), just like in Windows or in WebOS. Only when you switch to take a phone call should there be an automatic pausing of background video.
I have no detailed knowledge of the deeper workings of Android, but I have yet to see real multi-tasking being implemented (except for music players). Perhaps the system supports it but almost no application does? Which would leave us no better off, of course.
|
I don't think it's logical to have the video running in the background when you can have only 1 active (focused) window; it's not like on a PC where you can have the video on one corner, without focus, and a different window (like the browser), in a different corner, with focus. If it is assumed that when you lose focus you can't see the video, what would be the point of continuing to play? It makes more sense to pause the video, so when you return to it it resumes at the point it paused.
The services, as I described earlier, are not paused when the application loses focus. This is how you can have a download in the background, with the application (browser, or dropbox) not having focus. A music player works in the same way, it has a service running in the background to stream the music, which runs regardless of focus. Any activity can have one or multiple background services that would continue to run (if so chosen) after losing focus. A well designed app will listen for focus events and act accordingly - by pausing its services if needed.