Hi,

Is it possible to find out which application is currently in the foreground? My application is being sent to the background and I need to know which application will be in the foreground when this happens.

Any suggestions welcome

Thanks