No call to onStartCommand() follows the restart of a crashed service in Android 2.3

前端 未结 2 1572
心在旅途
心在旅途 2021-02-15 02:55

I have a problem with Android service restart. I am building against API version 7 and running on a device with Android 2.3.3.

The problem is, that when my service is ki

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-15 03:21

    You might be seeing a bug in Gingerbread. There was a thread in the android-developers group about it: onStartCommand bug thread

    See the post numbered 26 by Dianne Hackborn for details.

提交回复
热议问题