about service perform refresh operations in the background <p>I have 3 activity:<code>Act_1, Act_2 and Act_3</code>, and a <code>service:RefreshService</code>.</p> <p>I want when the user clicks the home button,<code>RefreshService</code> stops refresh operations.</p> <p>now,i override the <code>Act_1.onStop()</code> method to stop refresh,but when <code>Act_1</code> start to <code>Act_2</code>,the refresh stop too,This is not what I want.</p> <p>And i override the <code>Act_1.onKeyDown()</code> method, it's not good too.</p> <p>Do you have any good design</p>