Service stops working when app gets closed

前端 未结 2 2014
孤城傲影
孤城傲影 2020-12-07 04:26

Here I have implemented functionality to read messages of incoming push notifications using Text-To-Speech. I created a separate service class for it which works fine and a

2条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-07 04:53

    You better to use IntentService for background services if service is not in Opened. Follow this document IntentService , Keep Coding :)

提交回复
热议问题