Hi,
How do people solve multitouch issues? I have been trying a very simple test of the touch events on my ASUS Transformer tablet, running Android 4.1.1: TouchExample2.as on this page
I even tried modifying the code to get rid of most the extraneous items - currently, I am only updating the textfield when a TouchEvent occurs - I've commented out the stuff about creating new labels/circles, which was causing the player to crash.
This is what happens:
Alternatively:
But:
It continues in this fashion if I touch up to five times (that's the Multitouch.maxTouchPoints for this tablet).
So is there a workaround? It's too broken to use at present. Is this a known issue?
A second issue (which has been mentioned on this forum before - here ) is that if using MouseEvents in AS3, the mouseX and mouseY are not updated if you do the following:
Is there a workaround for this issue?
Thanks.
Different, but kinda same problems here.
I'm using exactly the same sample code (which, by the way, works well if project is published with AIR runtime). After the first touch, application register it. Second touch is not registered. If I release the screen, application says there's no points registered, and if I touch the screen again, application crashes. If I try to profile this using AmpClient, application crashes the moment I touch the screen for the first time.
I'm using SDK 4.2.24. Tested on two devices: Google Nexus 7 (first gen, Android 4.4.3) and Sony Xperia Tablet Z. Results are the same.
The way I see it, multitouch doesnt seem to work now on Android.
Update: with Scaleform 4.4 same test multitouch application looks this way:
* while tested with FxPlayerMobile it registers touches and tracks their coordinates. However in about 1-2 seconds after first touch application closes with error;
* compiled info APK with ShippingPlayer it doesn't crash and registers touches. However x-coordinate of each touch is 0, y is something strange, it doesn't register touch release (i.e. application thinks I still touching the screen) and coordinates updates only on touch, not on finger moving.
I will test it on other devices, but given the simplest sample application and it's behavior on my Nexus 7 it seems multitouch still way from working.
Thanks for letting us know. We don't see the problem when we build with r9d, but we are seeing the problem with an r10d build of our libraries. We are investigating further and hope to have a fix soon.
Thank you