[android-developers] Re: how to keep images inside the JAR and How to access the files

2010-10-28 Thread cindy
Your SDK should be defined as a library project. put the image in SDK. And create an other project to implement other stuff not related to resource. Export the second project to jar. On Oct 26, 8:22 am, Bret Foreman bret.fore...@gmail.com wrote: You can put images into /res/drawable and access

[android-developers] Re: how to keep images inside the JAR and How to access the files

2010-10-26 Thread Bret Foreman
You can put images into /res/drawable and access them with R.drawable.imagename. You can also create multiple resolutions of the image and put files by the same name into drawable-hdpi, drawable- ldpi, and so on. On Oct 26, 7:38 am, RamaMohan rama.mohan...@gmail.com wrote: Hi , I am creating an