views:

16

answers:

0

Hello,

I want to be able to measure the "responsiveness" of an application automatically. So I want to get the time difference between the moment when I click a button (i.e. when the corresponding event has been created) and the moment when my onClick method is being run.

Do you know what happens (what methods are being called) when I click the button? As far as I can see the method loop() in Looper.java in the android.os package will consume all events in one applications message queue and call the appropriate callback methods. But I can't figure out where the events are being passed to the message queue.

Kind regards, Samuel