Hi all, I am trying to make a basic game.
I want to call the update() function every few seconds. So I found that it can be done using Handler. Whenever my handler receives a message, i will execute the update() function. However, when I try adding User Inputs, it gets more complicated. Under the onKeyDown() function, I send another message to the handler to call the updateInput() function. The problem is that when i continue clicking the key, update() function is never called. I believe that is because onKeyDown() keeps sending the message to the handler. Can any one let me know how to solve this problem? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using "remove me" as the subject.

