Process running

Process running

BY 16 Jul 2014 Web Application Development

 I am trying to find a way to recognize what application is on foreground. I tried to get list of contexts by “getAppsContext()” but it seems the list only sorted by installed date. Is there any way to find out which application is most recently lunched ? 

Written by