Author Topic: Nexus one & multi touch  (Read 5764 times)

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Nexus one & multi touch
« on: August 03, 2010, 06:54:36 am »
i've spent several hours to implement a multi touch based control system. basicly one joystick like touch button on one side of screen and one jump button on other side. i've tried several different ways. none were as good as i expected. movement goes jerky at some point. finally i tried 4 separate arrow buttons and a jump button. didnt help either.

then after some googling, found this post:
http://groups.google.com/group/android-developers/browse_thread/thread/d0aa3eea8fd9a2b8/fcc36fe03fe8886d

it basicly says, N1's screen is not capable of multi touch. when two touch points come too closer or their axes come closer, hardware cannot separate two signals. their coordinates flip. as this is a hardware issue, there is no workaround. many HTC phones have the same issue since they use the same screen.

and a video visualizing the fault:
http://www.youtube.com/watch?v=qzhUzq6bTPg

i bought this phone to develop this game. i feel robbed >:(

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Nexus one & multi touch
« Reply #1 on: August 03, 2010, 07:06:59 am »
Touch controls are bit of a performance problem anyway...look here: http://code.google.com/p/android/issues/detail?id=7836

That's why i added trackball controls to my game in addition to touch events. Not all devices have one (mine has some keys for it, which is virtually the same things), but those who have will benefit from that.

Edit: My phone (just like many older ones) doesn't support multi touch anyway...
« Last Edit: August 03, 2010, 07:13:17 am by EgonOlsen »

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Nexus one & multi touch
« Reply #2 on: August 03, 2010, 07:49:11 am »
that doesnt stress N1 that much. framerate hardly drops %10 or so when screen is touched. but i suppose as written there, this mostly effects older phones.

multi touch in software came with android 2.0. as i read, most older samsung phones (like your galaxy) has a resistive screen. so even if you update it to 2.0 it wont support multi touch. as it has a capacitive screen, G1 does support it, if you even call it a support ::)

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Nexus one & multi touch
« Reply #3 on: August 06, 2010, 03:12:10 pm »
Egon, can u please try the following application in Galaxy S ? it's the multi touch test application seen in the youtube video above
http://aptalkarga.com/tmp/MTVisTest.apk

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Nexus one & multi touch
« Reply #4 on: August 06, 2010, 04:29:11 pm »
I don't have access to a Galaxy S, just the normal Galaxy, which supports no multi touch.

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Nexus one & multi touch
« Reply #5 on: August 06, 2010, 04:34:29 pm »
mm ok, i thought you bought a Galaxy S. nevermind ::)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Nexus one & multi touch
« Reply #6 on: August 06, 2010, 10:28:17 pm »
No, i just posted the benchmark result of one. As much as i like the Galaxy S, because it wipes the floor even with the N1, i dislike Samsungs update policy. So i'm not sure, that i would buy a Samsung again...

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Nexus one & multi touch
« Reply #7 on: August 06, 2010, 11:17:28 pm »
speaking of N1, google started selling N1 as a developer phone.