Refreshing an Activity from service when Active
<p>I've an app where I wish to update the Activity (List activity to be precise) only when the activity from Service is in foreground (Active)</p>

<p>I can use ListActivity Intent but the problem is this brings up activity even when its in background. </p>

<p>I also considered using registerDataSetObserver on ListAdapter but that mandates that cursor should be updated. Updating the Cursor from external service may not be feasible.</p>

<p>Do we have a generic solution to this ?</p>
