Hi all
I'm developing an Android library that can be reused in future apps. The library does use several resources (mainly some small icons). I would like them to be packaged in the library jar file. However, when I activate the option that makes the project a library one, everything gets compiled, compressed in the jar, but the images are not included in the jar file.
Googling I've found some messages that suggest that you should put those images in the res directory in every new project that uses the library, but that solution seems a little bit odd and could probably induce some errors.
So, is there some easy (or maybe not so easy) way to include those images in the jar file and that they are directly used by the classes in the library?
Thanks for your time.
I'm developing an Android library that can be reused in future apps. The library does use several resources (mainly some small icons). I would like them to be packaged in the library jar file. However, when I activate the option that makes the project a library one, everything gets compiled, compressed in the jar, but the images are not included in the jar file.
Googling I've found some messages that suggest that you should put those images in the res directory in every new project that uses the library, but that solution seems a little bit odd and could probably induce some errors.
So, is there some easy (or maybe not so easy) way to include those images in the jar file and that they are directly used by the classes in the library?
Thanks for your time.