what i did was that i added a directory named Images, which is full of png files to src\ (so all the images are in src\Images
and then reffered to it in code like this:
BitmapFactory.decodeFile("Images\\"+i+".png");
it didnt work, how can it be done correctly?
Add the images to the appropriate version of
res/drawable-*/, based on density, then reference it aR.drawable.basename(for an image namedbasename.png) for places where you need them (e.g.,setImageResource()on anImageView).