create a folder ( res) in your main project .
put all images in this folder.
add this folder in resource ..
I have created the folder res. Now how should I add this to resource?
What I have done till now is:
Created a directory structure
Main Project->resources->base, ScreenSize.128+x160+,ScreenSize.176+x220+,ScreenSize.240+x320+,ScreenSize.320+x240+
Now I have put the images in all these folders. base is the common folder and other are the screen size specific folders as mentioned in the documentation.
In build.xml I have done the following entry:
I am able to see the images in the mobile but the screensize specific images are not been used.
In
java files, I have coded the same way as told by you. My program is able to access the images only from the base folder and not from the screen size specific folders. In all devices whatever be the screensize, the images are been picked only from the base folder. Do I need to code anything in build.xml?