M megzz Member Licensed User Longtime User Mar 11, 2018 #1 Hello I have added exoplayer to service and i have added file with activity to it. The problem is when i close the app , both service and app closes but what i want to do is keep the service running (im building a notification player) and make sound resume playing. Attachments service_online.zip service_online.zip 7.9 KB · Views: 651
Hello I have added exoplayer to service and i have added file with activity to it. The problem is when i close the app , both service and app closes but what i want to do is keep the service running (im building a notification player) and make sound resume playing.
Erel B4X founder Staff member Licensed User Longtime User Mar 12, 2018 #2 I haven't checked your code. You should play from the service and call Service.StartForeground to keep the service running. Upvote 0
I haven't checked your code. You should play from the service and call Service.StartForeground to keep the service running.