Any idea why I see in the manage applications “Running” tab, both my application and google maps with “0 processes and 1 service”? My app has been dying, but not completely and it doesn’t restart. I was trying to connect the DDMS to see what is going on, but no processes show for the device (i have checked that my manifest has debuggable=”true”).
Share
The answer is….
A service is not a process, therefore it is valid for a service to be created, but not started. If the service is not started, then there are 0 processes.
In my particular case, i noticed that the logs stated “Scheduling restart of crashed service”. I assumed that it meant onStart() was going to be called, which is not the case. Here are two links which helped answer this question:
http://groups.google.com/group/android-developers/browse_thread/thread/a9d3c1acbd46e384#
"Scheduling restart of crashed service", but no call to onStart() follows