Re: [codenameone-discussions] Re: Advice from a developer

2021-03-11 Thread Javier Anton
That sounds like the right thing to do On Thu, 11 Mar 2021, 21:37 'P5music' via CodenameOne Discussions, < codenameone-discussions@googlegroups.com> wrote: > Maybe I have an idea, thanks to you Javier! > I just have to handle the events in JS, and using the callbacks only after > having detected

Re: [codenameone-discussions] Re: Advice from a developer

2021-03-11 Thread 'P5music' via CodenameOne Discussions
Maybe I have an idea, thanks to you Javier! I just have to handle the events in JS, and using the callbacks only after having detected the right longpress timing. I hope it works. As soon as possible I will test. Regards Il giorno giovedì 11 marzo 2021 alle 21:16:14 UTC+1 javier...@gmail.com

Re: [codenameone-discussions] Re: Advice from a developer

2021-03-11 Thread Javier Anton
Hi P5, BrowserComponent on Android is nothing more than a native window into a webview. Testing embedded html in any app needs to be done directly on a device, because each device uses a different browser engine to render (ios uses safari, Android uses Chrome). This isn't an issue with CN1, CN1

Re: [codenameone-discussions] Re: Advice from a developer

2021-03-11 Thread 'P5music' via CodenameOne Discussions
@Steve Hannah I will try to please you testing as you say, although in the next days because I am busy trying to resume my Swift project just in case this issue is not solved. Please be patient. In the meanwhile you can ponder about this: You can see that it is very likely that: 1-there is a

Re: [codenameone-discussions] Re: Advice from a developer

2021-03-11 Thread Steve Hannah
Did you take my advice from a few posts back? 1. Isolate your HTML/Javascript and test in device browsers. 2. When that works, test in Codename One webview, loading from a web server - without any Java <-> javascript communication. 3. When that works proceed to adding the java <-> javascript