I am working with a library project which internally contains .JAR files and my code as well.
I want to have a single JAR file for all the project(including drawables). I was able to do it with the help of FatJar plugin with eclipse. I have called resources as R.drawable.icon in JAR file code.
Now the question is I want to use these drawables in creating a notification.
For example:
Notification notification = new Notification(icon, tickerText, when); Here icon is a integer ID must be in JAR file itself. I do not want drawable to be in my Application that will use that library.
I have seen this post from Packaging drawable resources with a JAR? But unable to depict any solution.
Please provide any suggestions on the same.
Thanks.