I have been trying to work on some applications with background service. It looks like the background service is automatically killed upon clearing the application from cache on android. So, I have tried to cover that up with a foreground service followith the example on github provided
here. However the issue is that I do not know how to add the drawable icon to the service. I want to use a png file but it looks like its not recognisable when put in the same folder or when one puts it in a 'res' folder as available in the android documentation.
Can Anyone to help me out?