Reply
Thread Tools
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#11
Originally Posted by HELLASISGREECE View Post
But i don't like how clock , music and other apps appear frozen though. they are not frozen but their thumbnails are not live.
The thumbails could be live, if the application developers chose to allow it. The stock music player still updates it's UI when mimimized, but it only does so every 10 seconds rather than at the same rate as when maximized. This saves quite a few CPU cycles, since it's likely that the music player will spend a lot of time in mimimized state. I imagine the clock application behaves in a similar way, with the hour/minute hands still being updated, but not the second hand.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub
 

The Following 4 Users Say Thank You to marxian For This Useful Post:
misterc's Avatar
Posts: 1,625 | Thanked: 998 times | Joined on Aug 2010
#12
Originally Posted by marxian View Post
The thumbails could be live, if the application developers chose to allow it. The stock music player still updates it's UI when mimimized, but it only does so every 10 seconds rather than at the same rate as when maximized. This saves quite a few CPU cycles, since it's likely that the music player will spend a lot of time in mimimized state. I imagine the clock application behaves in a similar way, with the hour/minute hands still being updated, but not the second hand.
in fact even the clock icon in the main menu view is update occasionally. haven't figured out on which basis. sometimes it is stuck for nearly an hour, sometimes it updates after a few minutes...
__________________
information is a necessary though no sufficient condition to rationality...
 
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#13
Originally Posted by marxian View Post
I haven't tested, but I'm fairly sure that applications can still access the accelerometer when mimimized in Harmattan, just the same as in Fremantle.
I can confirm it:

Code:
accelerometer.setProperty("alwaysOn", true);
__________________
My Fremantle projects: InternetRadioPlayer, QRadio, InternetRadioWidget, AutoRemoveSms, PSAutoLock, TodoListWidget, MediaPlayerWidget
My Harmattan projects: InternetRadioPlayer, QMLRadio, SigmaPlayer, WidgetCanvas, NotesExporter, 3DTris, NoStopPlayer, NotesImporter
 

The Following User Says Thank You to gionni88 For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#14
I am fairly positive that multitasking is the same. The OS doesn't do anything to freeze your app. It's up to the developer.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla –– contactlaunch –– timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 
Posts: 397 | Thanked: 185 times | Joined on Oct 2011
#15
I don't understand how an OS gives good options to help developers determine how his/her app uses phone resources on background is inferior in multitasking. It's not logical for most apps to provide high visual changes operating on background, it's a waste of clock cycle, battery, electricty, fossil fuel and trees.
 
misterc's Avatar
Posts: 1,625 | Thanked: 998 times | Joined on Aug 2010
#16
the fossil fuel, trees and all aspects are maybe more relevant in a general smart versus dumb phone discussion then in a multitasking discussion... tasks running quietly in the background are probably more efficient then if the tasks have always to stop and resume whenever they get the focus back.
but that's just my gut feeling (inactive tasks are more likely to be swapped out of RAM, thus time / energy needed to get the data & instructions back from storage aso.)
of course, if the active tasks use up all the available working memory, swapping will become a performance and thus efficiency issue, but the N9 has 1 GB of RAM, plenty to go for your average mobile apps.

either way, "smart" phones are energy sloth's
then again, that comes with the territory.
being on-line thus connecting to a cell tower all the time to check statuses and mail boxes uses a tremendous amount of energy
period.
if on top of that you want to post pictures with location, or simply give updates about your (exact) location (thus using GPS), well, you may not even make it through the day with one charge.

use a N9 simply to make or receive calls and maybe send an SMS every now & then & you are good to go several days with one charge, especially if you disable the "default" saving screen and make it a black slab ¦-)))

all in all, the energy consumption isn't caused by the hardware or even the OS, even though hardly any Linux (or BSD) based mobile will ever get close to the energy efficiency of Symbian but by the "usage", respectively the "hype" of always having to be on-line & "updated" & all that
and lets not even start about m$ crap.
lucky if you can do your daily shuttle with one charge >¦-)))))))))))))))))))))))

just turned off all networks & put saving screen to "black" on my N9
will see how long it goes, doing nothing
last few days i had it in Flight mode (thus without network but with the default clock displaying the time in HH:MM; uses about 6 mA in that state...
__________________
information is a necessary though no sufficient condition to rationality...

Last edited by misterc; 2012-11-25 at 17:31.
 
Posts: 397 | Thanked: 185 times | Joined on Oct 2011
#17
I think you misunderstood what I said. I didn't mean to say task should get suspended and reloaded like Windows Phone. I meant task should have no need to provide visual updates in real time while minimized
 

The Following User Says Thank You to kai_en For This Useful Post:
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#18
Originally Posted by kai_en View Post
I meant task should have no need to provide visual updates in real time while minimized
It should always provide visual updates with opt-in or opt-out system chosen by user...I point my browser to an auto-updating site and it doesn't update when minimized hence live scores are made more difficult to follow...Thanks to a developer I got a test browser especially for this purpose...
 

The Following User Says Thank You to thedead1440 For This Useful Post:
misterc's Avatar
Posts: 1,625 | Thanked: 998 times | Joined on Aug 2010
#19
Originally Posted by kai_en View Post
I think you misunderstood what I said. I didn't mean to say task should get suspended and reloaded like Windows Phone. I meant task should have no need to provide visual updates in real time while minimized
my favourite file manager?
Midnight Commander
works from any command line (providing framebuffer)
thus, i am a command line junkie, and i couldn't care less about "visual".
however, even on a command line it is nice to see whether a command is still running with a quick glance (minimized) without caring what files / stage is being processed...

this is being said your argument is trollish.
if an OS supports multi-tasking, it is unwise to stop "just" the display update, unless it is completely hidden in which case the display feeds are simply disabled.
in command line this is achieved by redirecting standard output stream to /dev/null.
what about standard error stream (#2 in shell parlance)? goes to /dev/null as well?
what if the process hits an error and needs input from user?

freezing a view of a running process is asking for (code) trouble.
the last step before the dreaded "blue screen of death" LostDOS users are so familiar with >¦-)))))
__________________
information is a necessary though no sufficient condition to rationality...
 
Posts: 397 | Thanked: 185 times | Joined on Oct 2011
#20
Originally Posted by misterc View Post
my favourite file manager?
Midnight Commander
works from any command line (providing framebuffer)
thus, i am a command line junkie, and i couldn't care less about "visual".
however, even on a command line it is nice to see whether a command is still running with a quick glance (minimized) without caring what files / stage is being processed...

this is being said your argument is trollish.
if an OS supports multi-tasking, it is unwise to stop "just" the display update, unless it is completely hidden in which case the display feeds are simply disabled.
in command line this is achieved by redirecting standard output stream to /dev/null.
what about standard error stream (#2 in shell parlance)? goes to /dev/null as well?
what if the process hits an error and needs input from user?

freezing a view of a running process is asking for (code) trouble.
the last step before the dreaded "blue screen of death" LostDOS users are so familiar with >¦-)))))
Oh I'm trollish? Please read carefully what I said. I said and I quote "I don't understand how an OS gives good options to help developers determine how his/her app uses phone resources on background is inferior in multitasking."

Keyword is good option, understand? N9 has good options to freeze the visual update or let your app running wild while minimized. It's up to how the developer want to use it. The compass app is the perfect example.

Last I checked, terminal updatew visually while running on the multitasking screen.

Jesus, can you guys stop cringing everytime someone mentioned "Live", "Update" and "Multitasking" in the same sentence?
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:42.