0

I am developing an app and there is requirement to know which app are launched by user. At any given point of time I would like to know which apps user is launching ( such as FB, Instagram, Candy Crush Saga etc. ) .

I did google quite a bit , however could not find any reference to do it. I did find reference to sys/sysctl.h and then finding running process and mapping process id to map name ( this )

I wanted to check if there is alternative and/or better/more efficient way of doing this.

Community
  • 1
  • 1
Vishal
  • 279
  • 3
  • 8
  • 18

1 Answers1

0

The answer is NO.

However you can get a list of running processesn name (not the whole application name's or titles). So there may be same names for different applications.

Shamsudheen TK
  • 30,739
  • 9
  • 69
  • 102