Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is my process always showing in the DDMS processes list?

Using DDMS, I see 3 processes active in my Android: Viber, logitech harmony and a process with my package name. The thing is that I never created any process.

Why have Android opened a process on my behalf? For what purpose?

Also, why can't I see all the other apps' processes, like gmail, maps, etc. even when they are found in the foreground?

Some thoughts: I do listen to folder changes using a FileObserver. Perhaps that's the thing? Perhaps it's something related to running the app in a development environment?

like image 531
AlikElzin-kilaka Avatar asked Nov 20 '25 04:11

AlikElzin-kilaka


1 Answers

Why have Android opened a process on my behalf? For what purpose?

Because you ran your application.

Also, why can't I see all the other apps' processes, like gmail, maps, etc. even when they are found in the foreground?

Because they are not compiled in debug mode. On a production device, only debug builds (or apps with android:debuggable set to true in the manifest) will appear in DDMS.

like image 53
CommonsWare Avatar answered Nov 21 '25 18:11

CommonsWare



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!