views:

53

answers:

0

Hi - hope someone can point me in the right direction.

I have written a simple tile sliding game which works fine on 1.6 to 2.1, however on 2.2 it starts up and lets the user make two moves then on the third move it hangs - just doesn't respond at all.

This is wierd because the code for all moves is identical.

I have tried to see if any obvious changes in the api etc which I may have overlooked but can't see anything.

From debug - seems as if it is stuck in android.os.Looper.java - I guess it is waiting for some user input to pass on to the handler and then from there on to the view - but for some reason is just not seeing that the user is doing something.

Any help or suggestions at all would be most welcome - even if only other sites to explore.

Thanks

Malcolm

Some extra information which might help :

The tiles are made of buttons, and they are activated with teh onclick method. So onClick is actioned twice correctly (two different buttons) but the third onClick seems to hang. However I have discovered that if then bring up the menu by hitting the menu button the third onClick is acted upon and then the menu is displayed. Thereafter every onClick only takes effect if the menu button is displayed.