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 <[email protected]> wrote:
> 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 <[email protected]> wrote:
>
> > Hi ,
> > I am creating an SDK .I have got some problems as follows:
>
> > i need to have some predefined images along with the jar.please
> > suggest any method to do this thing.
> > like
> > 1) how to keep the files in jar and
> > 2) how to use it in code.
>
> > If any code is very helpful or just any information is very helpful.
>
> > Thanks in advance.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to