Hi

I want to move an image around the screen according to the trackball  
movement. I am able to capture the movements using the  
onTrackballEvent method. But this is being called for very small float  
values (I believe for each rotation?) of the trackball.

Now as X and Y positions of views should be integers when specifying  
with LayoutParams, it makes no sense to move the view with every  
rotation. Instead I want to move the view only after the user stops  
rotating the trackball.

Is there any method by which we can get whether the user stopped using  
the trackball or not?

Thanks.




--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to