Pergunta

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!

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top