Author Topic: Button touch registering multiple times - Android ICS 4.0.3  (Read 11555 times)

dubbreak

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
I have a couple of tablets I'm playing with here. A Toshiba thrive (on Honeycomb 3.2) and an Acer Iconia tab (a200) on ICS (4.0.3).

The Iconia is having issues with ngui buttons. Multiple presses are registered even though only a single press occurs. This does not occur on the thrive.

The interesting thing is it remembers the position of your last touch. If I hit a button it will register once or twice, but then my next screen press (which could be on another button or just empty screen) will register the first click once more then register the new press.

I've tried a bunch of configuration on the tablet side, but this isn't exhibited in other applications (only our own apps using ngui). We created a quick test app of a single button that adds a character to a string on each press, and as per my description it will add 1 or 2 characters on the first press, then if I click elsewhere it will add one more character.

My internet research has shown people are having issues with some other apps on this tablet with ICS (temple run for example, registering the wrong gestures). It's not system wide, just certain applications.

Anyone else experienced this? Any ideas on things to try?

I'm trying to get the 3.2 rom from Acer so I can test Honeycomb on this tablet. I'm not having any issues with the thrive on 3.2 so I'm hoping it's related to ICS.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Button touch registering multiple times - Android ICS 4.0.3
« Reply #1 on: May 10, 2012, 08:40:23 PM »
4.0.3 is not compatible with Unity at this time.

nsxdavid

  • Guest
Re: Button touch registering multiple times - Android ICS 4.0.3
« Reply #2 on: May 10, 2012, 08:43:35 PM »
This is a known issue at Unity.  They know what's going on and working on a fix for an upcoming release.

dubbreak

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: Button touch registering multiple times - Android ICS 4.0.3
« Reply #3 on: May 10, 2012, 08:48:00 PM »
Thanks for the quick reply!

ARghh.. why didn't I find that earlier (and on my own)? I assume since min api level 4.0 is on there, 4.0.3 wouldn't be a problem.

Not good. Anyhow, thanks again ArenMook. As always you are super helpful with your users.

dubbreak

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: Button touch registering multiple times - Android ICS 4.0.3
« Reply #4 on: May 10, 2012, 08:49:14 PM »
This is a known issue at Unity.  They know what's going on and working on a fix for an upcoming release.

Happen to have the Unity forum thread handy? My google-fu is failing me.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Button touch registering multiple times - Android ICS 4.0.3
« Reply #5 on: May 10, 2012, 11:04:41 PM »
David was working directly with Unity trying to track down this issue, so I doubt there is a thread handy.

dubbreak

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: Button touch registering multiple times - Android ICS 4.0.3
« Reply #6 on: May 10, 2012, 11:17:03 PM »
You'd think this would be something they'd post the progress on a little more publicly. Luckily I'm in the position that for the application of the app I can get away with ditching the acer tablet in favour of something running an older version of Android. The problem is finding a bunch of them this week (best buy was out of Thrives).

Acer got back to me and they said there is no way to revert to Honeycomb. They suggested a hardware and software reset. That's a no go as it's still 4.0.3. I don't have the time to be rooting tablets and putting other images on them.

I hope unity gets a fix out quick. This is bad for both Unity and all the devs that use it. I'm not going to hold my breath though as I need a solution in the next couple days.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Button touch registering multiple times - Android ICS 4.0.3
« Reply #7 on: May 10, 2012, 11:18:46 PM »
Yup. Now imagine the fun David had trying to figure out why Temple Run doesn't seem to work properly on 4.0.3 devices :)

dubbreak

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: Button touch registering multiple times - Android ICS 4.0.3
« Reply #8 on: May 11, 2012, 01:16:27 AM »
Ahhh.. wasn't sure temple run was Unity, but I suspected after hearing the issues. The wife loves that game. Luckily she has an iPad.

This is definitely reducing my enjoyment of being down in Cali (I'm from BC I should be enjoying the sun etc). Oh well, time for bed, I'll find a solution tomorrow.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Button touch registering multiple times - Android ICS 4.0.3
« Reply #9 on: May 11, 2012, 01:53:45 AM »
iOS version of it isn't in Unity. Only Android one is in Unity.

nsxdavid

  • Guest
Re: Button touch registering multiple times - Android ICS 4.0.3
« Reply #10 on: May 11, 2012, 05:06:00 PM »
I can confirm that 3.5.2 RC2 has this issue fixed.  RC2 is only available to those with access to Unity beta builds.  But good news is that it's RC2... RC means Release Candidate, so it'll be out soon.

David

dubbreak

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: Button touch registering multiple times - Android ICS 4.0.3
« Reply #11 on: May 11, 2012, 05:33:58 PM »
Thanks David. Much appreciated.

I had asked Unity about an eta on the next release as they stated the debug crashing issues have been fixed in the next release (after a bug submission to that effect).. they never got back to me.

We got one thrive today and ordered another 4 from another source (after returning the Iconia) and have a lead on a few more, so I'm set for now. Once the fix is out they can grab whatever kind of tablets they want. They needed tablets with a sturdy power connection and only the Thrive and Iconia had traditional barrel connectors (that I've seen so far). Everyone else has skinny little connectors that won't stand up to any real use. But hey, that's what you get with consumer grade stuff. We have a few leads on 12" tablets coming out soon that are a little more geared towards the intended usage.

Thrives have the best power supply anyhow. Looks like a netbook power supply, not a tiny little wallwart or usb charger.

dubbreak

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: Button touch registering multiple times - Android ICS 4.0.3
« Reply #12 on: May 15, 2012, 03:46:27 PM »
Yay.Unity 3.5.2 is has been release! http://unity3d.com/unity/whats-new/unity-3.5.2

And one of the fixes:

Android: Touch problems related to ICS upgrades on some devices have been fixed.

Hey David, thanks for working with Unity on the fix.

joreldraw

  • Guest
Re: Button touch registering multiple times - Android ICS 4.0.3
« Reply #13 on: May 16, 2012, 04:38:00 AM »
Tested and now work fine!