Is there any provision in android to know which user application is using which system service
问题 Is there any provision in android or ndk by to know which user application is using which system service? OR another way by using pid:- Suppose i have an application which uses microphone, microphone is opened by the system service (named media serv).I can manage to get the pid of above service(media serv).Now i want to know which user application is using the the pid of above service(media serv). 回答1: If you are the implementer of the system service -- such as via creating your own fork of