How to use images?
in
Android Processing
•
2 years ago
These is an excerpt from an Android program I am working on. I have an image called "menubar.png" in a folder called "data" in the same directory as the .pde file. It keeps on giving me an error saying it couldn't find the image.
PImage menu;
int menupos = 320;
int menumove = 0;
void setup()
{
size(480,320);
background(255,255,255);
orientation(LANDSCAPE);
menu = loadImage("data/menubar.png");
}
Thanks!
1