Background Service Stopped When Activity Killed Or Stop or force close
问题 My Problem Is When I M Pressing Home Button And Close My App At That Time Background Service stoped And After That It Requires To LOgin Again In App Then Background Service Will Start So How Can I Do Like Whatssapp If App Will Close Or Kiiled Then Also Sevice Can Run In Background..... 回答1: I had the same problem. When you swipe an application out of the application tray, the process of the background service is killed. You can add the following code in your service or see this question