I’ve got a Samsung Galaxy SII. When I compile and install a very simple corona (3 lines of code, below) everything works in the simulator. It works on the iPhone, too. But on my Android phone, when I try to launch it, it says: “Error This application has been corrupted”. Here’s the code:
mapImg = display.newImage(“map.gif”)
mapImg:setReferencePoint(display.TopLeftReferencePoint)
mapImg.x, mapImg.y = 0,0
Now, I changed the image from a .gif to a .png, and everything works fine again.
Curious, I searched everywhere in the docs and don’t see anything that says GIF images aren’t supported on Android. And since it works fine on iOS, why would I assume it is different on Android? So I then tried saving my “map” image out as a GIF again. Maybe it must be a full color 256 gif, not just 32 or 16 colors? Maybe “convert to sRGB” should not be checked when exporting. maybe it should. I tried a lot of combinations. Still no luck.
So, question #1: Are GIF files not supported on Android? And if so, then question #2: Why isn’t this in the documentation?
Or is this a bug of some kind? [import]uid: 10818 topic_id: 15587 reply_id: 315587[/import]