Question about focus and activites on Android
<p>I have a chat application here that uses a handler and a runnable to frequently poll for updates. On receiving an update as HTML, it adds this content to the TextView in the main activity.</p>

<p>Now, I've noticed that when the activity loses focus and I use other applications/view the home screen, the runnable keeps going on and when I re-open the application, I see the TextView with the updated content.</p>

<p>Is this considered unsafe and should I build a service to do this, or is it fine to modify the UI when it's unfocused like that?</p>
