12-30-2009 01:01 AM
I'm really just trying to understand whats going on rather than getting frusterated. I'm trying to understand why every time i add a new image to a folder, fresh my project so it shows up, but it still wont load into my Bitmap object unless i close eclipse and open it again, then run the app... what the heck! Is that normal?
12-30-2009 01:28 AM
actually closed the app didnt work, i thought it did, maybe it did once, but now no bueno!
"getBitmapResource" is the functoin im using. the files are indeed added to the project folder and wont load. Only the files i added about 2 hours ago work (same dir same file type, just new name)...
12-30-2009 03:39 AM
Do you have them in a package or in an extra folder inside the project? In last case you should add this folder to the Java Build Path.
12-30-2009 09:05 AM
getBitmapResource searches from the root of the project, so if you add your image (test.bmp) to the folder test (with the namespace being this.is.a.test) then you need to do Bitmap.getBitmapResource("this.is.a.test.test.bmp"
You get it? Or is that not the problem you are having?