B4X FEED TOUCH_ACTION_MOVE alternatives?

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: TOUCH_ACTION_MOVE alternatives? است. این موضوع تا کنون 55 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع TOUCH_ACTION_MOVE alternatives?
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
55
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
Jun 6, 2020
11,517
4,383
Im trying to develop a canvas (panel/B4Xview) which has a grid
When the pointer is dragged across the grid, each square will change color.. like a bitmap icon editor.

When detecting TOUCH_ACTION_MOVE events, I get a bunch of them, then inexplicable pauses.
This means that I cannot fill a row of squares by dragging the pointer.. some are missed.

I have read in other posts that 'too many events' may be happening, and to try handling 'every 5'
That's not the issue, and it makes things worse if I skip additional messages in this way
Even if I log every received event, there are gaps in the events, and moving the pointer slowly is sometimes not enough.. events just stop happening, leaving gaps of an inch or so on screen.

It may be my low-end Android tablet, but since my potential users may have similar tablets, it has to work for them.
Games work fine , after all

What can be done to improve this?


In the Touch event , I have only this code:
B4X:

Dim thex As Int =Floor(X/...


 

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
عقب
بالا