In an attempt to track down a different issue, I noticed an odd behavior with a display object popping up just as i’m closing the app (on android, closing via the “back” button, on a nexus one)
I will attempt to describe the issue, but I can provide code if needed.
-
In main.lua, load an image using display.newImage(), and scale the image to full screen
-
Hook up a touch listener, which when called will destroy the object
-
Load the app on an actual device, touching the screen should now destroy the image causing the screen to go black
-
Exit the app using the “back” button
When I perform that last step, just as the app is exiting I see my image pop back up for a split second. I’m guessing Corona may not be handling surfaces correctly in the generated java (complete guess, though).
Just thought that might be useful information to somebody.
PS. I also tried changing the touch event to fire off a transition to alpha=0. If you touch once, and let the image fade all the way out, you don’t see the image when you exit. However, if you touch (to start the fade), then touch again before it’s done, you will see the image just before the app exits. [import]uid: 54784 topic_id: 9934 reply_id: 309934[/import]