Francisco Narro
Posts: 0
Joined: Thu Oct 03, 2013 9:58 am

Virtual click send two events

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?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Virtual click send two events

Hi Francisco,

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

Francisco Narro
Posts: 0
Joined: Thu Oct 03, 2013 9:58 am

Virtual click send two events

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Virtual click send two events

Hi Francisco,

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

Francisco Narro
Posts: 0
Joined: Thu Oct 03, 2013 9:58 am

Virtual click send two events

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Virtual click send two events

Hi Francisco,

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

Francisco Narro
Posts: 0
Joined: Thu Oct 03, 2013 9:58 am

Virtual click send two events

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).

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Virtual click send two events

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

Francisco Narro
Posts: 0
Joined: Thu Oct 03, 2013 9:58 am

Virtual click send two events

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.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Virtual click send two events

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?

Return to “Issues”