Code: Select all
on orientationChanged
revUpdateGeometry
end orientationChanged
Another problem I have is for catching when the application is about to be exited. I already have the following code inside the card script:
Code: Select all
on closeStackRequest
answer "Are you sure?" with "No" or "Yes"
if it is "Yes" then pass closeStackRequest
end closeStackRequest
And finally, how do I detect the Back, Home, Search, and Menu buttons in Android? Is there a way to show a native Android menu when the Menu button is pressed? Or do I have to roll out my own implementation?
EDIT:
I somehow can't attach my source file, so I uploaded it here instead: http://s.coffeecone.com/Untitled_1.livecode