I want to monitor(I want to check whether one currently running application fetches my contacts details) all installed application of android operating system using one application. Can any one help me to sort this out or is possible to create such application in android.
            Asked
            
        
        
            Active
            
        
            Viewed 2,215 times
        
    2 Answers
0
            
            
        I want to monitor all installed application of android operating system using one application.
What is your definition of monitor?
- To know when packages are added refer to this
 - To know which applications are running in the fg/bg use this
 - To know what the CPU speed and other stats use 
adb shell ps. Yes, you can run adb commands from an apk - The 
ActivityManagerclass is quite helpful 
- 
                    I want to check whether one currently running application fetches my contacts details. – user1061124 Nov 23 '11 at 06:26
 - 
                    As far as I know, you can't do that. You can only listen for changes to your contacts using a `ContentObserver` – Reno Nov 23 '11 at 06:55