[codenameone-discussions] Re: long press in Javascript in browser component

2019-02-07 Thread Shai Almog
Hi,
how did you add the long press?
Did you do that after the onLoad callback?
Which Java code did you use?

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/275ceed5-0bcf-437c-8964-05ed68784c9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] long press in Javascript in browser component

2019-02-07 Thread Ivan
Hi guys,

I embedded https://fullcalendar.io/ into my application using cn1 
BrowserComponent and I added longpress event handling 
using https://github.com/vaidik/jquery-longpress (to create task in 
calendar)
Everything worked ok.
After longer time I want to create new version of the application but this 
longpress stuff stopped working, but ONLY ON REAL DEVICE (it works in 
browser, and on simulator too).
On device the longpress does not work I have to tap with two fingers 
instead to invoke "longpress" event.

What could cause this changed behaviour?

Thanks
Ivan

IDE: Eclipse
Desktop OS: Ubuntu 16.04
Simulator : Samsung S8
Device: Xiaomi Redmi Note 6, Android 8

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/dddcb998-9c5b-4314-a996-b945045f7b03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.