Question

All,

I'm writing a native application for Android and i'm stuck trying to acquire historical data for motion events. It seems that AMotionEvent_getHistorySize() returns always 0, but if i query the 0'th element for X and Y I seem to get the valid data (current X and Y).

so is there any way I could get historical data or is it just plain broken..?

thanks for your help!

Was it helpful?

Solution

Well we gave up, eventually. The same behavior has been observed on a number of android devices and we eventually implemented history by ourselves.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top