Thanks, Tomeu.<br><br>I need to turn off some drawing code when the user switches to Home View (why waste so much of CPU power in the meanwhile)<br>How can I do that ?<br><br>thanks,<br>Arjun<br><br><div><span class="gmail_quote">
On 10/30/07, <b class="gmail_sendername">Tomeu Vizoso</b> <<a href="mailto:tomeu@tomeuvizoso.net">tomeu@tomeuvizoso.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Arjun,<br><br>On Tue, 2007-10-30 at 02:15 +0530, Arjun Sarwal wrote:<br>> (have posted to devel but realized this query is more suitable for<br>> posting on sugar)<br>><br>> Say I have Activity A and I then go to Home View and open Activity B.
<br>> At which point of opening of Activity B, does Activity A get to know<br>> that it is a background activity (inactive Activity) ?<br>> Is it immediately upon clicking the icon of Activity B ?<br><br>The 'active' property in Activity A will be set to False when the window
<br>of the Activity B opens (when the window manager tells the sugar shell<br>than that window has popped up).<br><br>Tomeu<br><br></blockquote></div><br><br clear="all"><br>-- <br>Arjun Sarwal <<a href="mailto:arjun@laptop.org">
arjun@laptop.org</a>>