touch performance on UI list with latest client build in Android and iPhone

34 views
Skip to first unread message

nir...@nvsoft.com

unread,
Sep 28, 2013, 11:14:42 AM9/28/13
to codenameone...@googlegroups.com
Hi Shai, 

I have my app created with earlier version of codename1 (1.1) and with latest version of codename1.

However, I see that in version 1.1, the click on the UI (List) was always resulted in the actionEvent being called, but in new version the touch sometime is recognized but sometimes not. Sometime the touch on menu causes the event to be called but sometime you have to click multiple times.

I am not able to figure out what is causing this. Can you please advice how to debug this or has anyone faced similar issue?

I am getting the same behaviour in iPhone and android build. However in simulator it is not happening.

Thanks,
Nirmal

Shai Almog

unread,
Sep 28, 2013, 3:11:36 PM9/28/13
to codenameone...@googlegroups.com, nir...@nvsoft.com
Hi,
we made some modifications to the drag threshold which controls the touch sensitivity portion here.
There is a setter for this in the Display, try setting it to 4 or 5 percent and see if it makes your UI feel better. Let us know so we can review our tweaks.

nir...@nvsoft.com

unread,
Sep 30, 2013, 3:53:43 AM9/30/13
to codenameone...@googlegroups.com, nir...@nvsoft.com
Hi Shai,

Thanks for the info. I tried by setting a value of 4 for dragStartPercentage and that has improved the responsiveness.

Thanks,
Nirmal
Reply all
Reply to author
Forward
0 new messages