after a tiring night going back and forth with my testers, this is what ive came up with
// somewhere in the prior code a pressure sample is needed public float dwnPressure if(event.getAction()==MotionEvent.ACTION_DOWN) { dwnPressure=float(event.getPressure()*0.99) }
return to the code where I had problems
if(event.getAction()==MotionEvent.ACTION_MOVE) { if(event.getPressure>dwnPressure) { lockdown=true; } } else if(event.getAction()==MotionEvent.ACTION_UP && lockdown==false) { ... } else if(event.getAction()==MotionEvent.ACTION_UP) { ... lockdown=false; }
This change works fine on some phones that have had a problem. Some phones have a significant performance improvement, but a bit went. I decided that id would at least share my hard work, even if itโs not 100%, since I didnโt answer this question as quickly as I used for stackoverflow
Syzix source share