I have a function that changes an image when a button is clicked. Works fine in simulator, but not on Droid.
function ChangeImage(QString)
local ImageString =examplemod.returnImage(QString)
ch2=display.newImage(ImageString)
ch2.x=xx
ch2.y=yx
yx=yx-20
xx=xx-20
end