How to Bring Android Activity to the Foreground and Detect if its in background?
<p>I have a callback inside an Activity which is called by a remote service.  I fire a Toast when it gets called so, i know its getting called but its in the background, so I need a way from within the activity to make it go to the foreground.  How can this be done.  Also detect if I am in Foreground or not.  How can this be done?</p>
