Page 1 of 2

Virtual click send two events

Posted: Fri Oct 18, 2013 8:07 am
by Francisco Narro

Hi,

In my project I use the virtual click event, but when I compile and test in my android, I can see that when touch in the screen two events are sent to my application.

How can I avoid this?


Virtual click send two events

Posted: Fri Oct 18, 2013 9:11 am
by Kateryna Grynko

Hi Francisco,

What code do you use for virtual click?
What is your Android version?


Virtual click send two events

Posted: Fri Oct 18, 2013 9:27 am
by Francisco Narro

I have detected this issue in two pages.
One is a Splash screen and here I have a Tap event over the page.
In other, I have a html component with img with onclick event.


Virtual click send two events

Posted: Fri Oct 18, 2013 12:57 pm
by Kateryna Grynko

Hi Francisco,

If I understand you correctly, Tap event for another page and component click event fire on Panel component click, don't they?


Virtual click send two events

Posted: Fri Oct 18, 2013 1:03 pm
by Francisco Narro

Yes, the events are fired from one page to the next.


Virtual click send two events

Posted: Fri Oct 18, 2013 1:58 pm
by Kateryna Grynko

Hi Francisco,

Please try changing "Render all pages in one HTML file" parameter in App settings.


Virtual click send two events

Posted: Mon Oct 21, 2013 7:57 am
by Francisco Narro

Hi Katya,

With this parameter On, I have worst results, if I put this off, I have some pages that runs OK but in the first one (the splash) I have the same result, (when I tap in the screen, this tap event goes to second page too).


Virtual click send two events

Posted: Mon Oct 21, 2013 12:20 pm
by Maryna Brodina

Hello! Please check this post https://getsatisfaction.com/apperyio/...


Virtual click send two events

Posted: Mon Oct 21, 2013 1:15 pm
by Francisco Narro

Hello Maryna;

Very interesting post, but it doesn't work to me, because the fast button isn't solution to me.

I have put the virtualclick in all my pages, but when I press in an image (for instance) the event goes to the next.

I have test with render all in one page and with render in separated pages.


Virtual click send two events

Posted: Mon Oct 21, 2013 1:39 pm
by Maryna Brodina

There are some workarounds suggested here developing https://getsatisfaction.com/apperyio/.... If it doesn't work for you wy don't you use Click event instead. Are there the same problems with Click event?