Re: [android-developers] Touch event noisy

2010-07-21 Thread Dianne Hackborn
That sounds like normal, expected behavior. A touch screen is a very analog device -- the position never remains constant, and no matter how still you try to hold your finger, there are slight changes in the position that will be seen. You just need to do correct touch tracking: define the region

Re: [android-developers] Touch event noisy

2010-07-21 Thread Miguel Morales
Try sleeping at the end of the event, such as Thread.sleep(30). On Tue, Jul 20, 2010 at 11:50 PM, billconan wrote: > Hello everyone. > > I'm working on a simple game: when you press a button on the screen, a > character will run to certain direction. > > it's easy to support keyboard input. but,

[android-developers] Touch event noisy

2010-07-20 Thread billconan
Hello everyone. I'm working on a simple game: when you press a button on the screen, a character will run to certain direction. it's easy to support keyboard input. but, some phone doesn't go with a keyboard or even no a track ball. so I decided to draw a virtual "run" key on the screen (with ope