process - Monitoring android processes -


i working on project in monitoring of processes required (creation of process...). can running processes api activitymanager::getrunningappprocesses().

but calling above api every few seconds (polling) not efficient way. there way in android system through intimated create of new app process? information or guidance helpful.

thanks.

found monitoring zygote task able monitor creation of new process.

monitor "/proc/zygotepid/task" folder. not give when created app(process) brought foreground. give information creation of new process.

replace zygotepid actual pid of zygote in system. since every process created zygotepid, getting parent process id in application give zygotepid


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -