stopService doesn't stop's my service… why?

前端 未结 11 887
旧巷少年郎
旧巷少年郎 2020-12-03 07:02

i have a background service on my android APP that is getting my GPS position and sending it to a remote db. It work\'s fine.

The problem is when i want to stop the

11条回答
  •  死守一世寂寞
    2020-12-03 07:42

    i am sure that it's not stopped cause on my database i still recive gps positions from the emulator when i have press the button to stop the service.

    You probably are not unregistering your LocationListener.

提交回复
热议问题