I did some log searching, and found that this happens before the service
stops working:
01-12 23:26:14.268: INFO/ActivityManager(109): No longer want
com.jakebasile.android.hearingsaver (pid 31188): hidden #16
01-12 23:26:14.287: WARN/ActivityManager(109): Scheduling restart of crashed
service com.jakebasile.android.hearingsaver/.RegistrationService in 5000ms
01-12 23:26:18.068: DEBUG/dalvikvm(496): GC_EXPLICIT freed 23K, 55% free
3445K/7559K, external 1625K/2137K, paused 69ms
01-12 23:26:19.322: INFO/ActivityManager(109): Start proc
com.jakebasile.android.hearingsaver for service
com.jakebasile.android.hearingsaver/.RegistrationService: pid=31563
uid=10064 gids={}
But afterwards, the service no longer works correctly. My onStartCommand
isn't called, so the receiver doesn't get re-registered.
I don't understand why it would be a "crashed service". There is no error
info being printed, and my code doesn't really *do* anything to cause a
crash. Any ideas?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en