I found the way to generate the MotionEvent, and it's MotionEvent.obtain
On Jan 8, 1:15 pm, Business Talk <[email protected]> wrote: > How can I programmatically press/release a button? I was playing with > the button.dispatchTouchEvent(motionEvent); but failed to > programmatically generate the MotionEvent to be passed to the > dispatchTouchEvent
-- 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

