On Thu, Mar 26, 2009 at 1:47 PM, [email protected]
<[email protected]> wrote:
>
> Thanks for the responses guys.
>
> My question was more like how come its smooth in the picture viewer
> app despite running multi processes? Its the only 2d app I've found
> that does this correctly, but its reassuring to know it DOES work.
>

Please, read carefully:

Running multiple processes is not a problem. If, however, a process
triggers GC you'll see stuttering in the picture viewer as well, and
*any* application, no matter how great was it implemented.
Let me explain what I'm talking about:

There's a myFaves service on the G1.
Apparently it tries to send an MMS once, or once in a while to T-Mobile.
Because my G1 is unlocked and running on a different network, the MMS
transmission fails.
However, myFaves won't give up and will try sending the MMS.

When I got my unlocked G1 December last year, it had the 1.0 firmware.
Perhaps the myFaves service was running very very rarely because I've
never seen my game stutter, even though many background processes were
in fact running.
That is, perhaps I was testing the game on the device when myFaves was
not trying to send the MMS.

When the OTA updated the firmware to 1.1, the myFaves service started
to attempt to send an MMS to T-Mobile more often.
This triggers GC for exactly 110 objects and N bytes of memory, and my
game stutters *every* time the myFaves service is attempting to send
an MMS (apparently, it will *always* try sending the god damn MMS
because I'm not on T-Mobile's network).

So, my point is not that background processes per se are the problem,
but these who actually perform any work which might trigger GC.

Cheers

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to