Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8513715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:39:24+00:00 2026-06-11T04:39:24+00:00

I’m having a real issue here which I’m desperately trying to figure out since

  • 0

I’m having a real issue here which I’m desperately trying to figure out since the last couple of hours. Not getting anywhere…

While writing an application in which I need to process the exact positions of two fingers on the screen, I ran into an unexpected behavior (for me).
After some debugging I figured out that when I keep one finger at a static position on the screen while sliding with another finger across the same screen changes the coordinates not only of the moving but also of the static finger! (not in real life though :D)

Here is a sample log output of only the y-coordinates.
y(0) is the static finger held at the bottom of the screen and
y(1) was moving from top to bottom.

It is also interesting, that y(1) reached the maximum of 480 before I reached the bottom of the screen.

Can somebody please explain this behavior to me?

Here is the code I used to generate the log, maybe I made a silly mistake…

Edit: Tested on a “htc desire”.

    @Override
    public boolean onTouchEvent( MotionEvent e ) {
        String s = "";
        for ( int i = 0; i < e.getPointerCount(); i++ ) {
                s += "y(" + i + ")=" + (int)e.getY( i ) + " ";
        }
        Log.d( "some tag", s );
        return true;
    }
  • 09-11 17:57:09.257: D/TouchHandler(14932): y(0)=480
  • 09-11 17:57:09.267: D/TouchHandler(14932): y(0)=480 y(1)=5
  • 09-11 17:57:09.287: D/TouchHandler(14932): y(0)=480 y(1)=10
  • 09-11 17:57:09.327: D/TouchHandler(14932): y(0)=480 y(1)=30
  • 09-11 17:57:09.367: D/TouchHandler(14932): y(0)=480 y(1)=70
  • 09-11 17:57:09.427: D/TouchHandler(14932): y(0)=480 y(1)=121
  • 09-11 17:57:09.528: D/TouchHandler(14932): y(0)=480 y(1)=206
  • 09-11 17:57:09.608: D/TouchHandler(14932): y(0)=480 y(1)=271
  • 09-11 17:57:09.618: D/TouchHandler(14932): y(0)=480 y(1)=281
  • 09-11 17:57:09.628: D/TouchHandler(14932): y(0)=447 y(1)=293
  • 09-11 17:57:09.638: D/TouchHandler(14932): y(0)=447 y(1)=304
  • 09-11 17:57:09.658: D/TouchHandler(14932): y(0)=428 y(1)=311
  • 09-11 17:57:09.668: D/TouchHandler(14932): y(0)=419 y(1)=317
  • 09-11 17:57:09.678: D/TouchHandler(14932): y(0)=415 y(1)=325
  • 09-11 17:57:09.688: D/TouchHandler(14932): y(0)=413 y(1)=333
  • 09-11 17:57:09.698: D/TouchHandler(14932): y(0)=411 y(1)=351
  • 09-11 17:57:09.708: D/TouchHandler(14932): y(0)=411 y(1)=363
  • 09-11 17:57:09.718: D/TouchHandler(14932): y(0)=411 y(1)=373
  • 09-11 17:57:09.728: D/TouchHandler(14932): y(0)=411 y(1)=383
  • 09-11 17:57:09.748: D/TouchHandler(14932): y(0)=480 y(1)=480
  • 09-11 17:57:09.758: D/TouchHandler(14932): y(0)=459 y(1)=438
  • 09-11 17:57:09.768: D/TouchHandler(14932): y(0)=459 y(1)=432
  • 09-11 17:57:09.778: D/TouchHandler(14932): y(0)=445 y(1)=431
  • 09-11 17:57:09.788: D/TouchHandler(14932): y(0)=439 y(1)=432
  • 09-11 17:57:09.798: D/TouchHandler(14932): y(0)=437 y(1)=436
  • 09-11 17:57:09.818: D/TouchHandler(14932): y(0)=439 y(1)=441
  • 09-11 17:57:09.828: D/TouchHandler(14932): y(0)=443 y(1)=447
  • 09-11 17:57:09.838: D/TouchHandler(14932): y(0)=450 y(1)=456
  • 09-11 17:57:09.838: D/TouchHandler(14932): y(0)=459 y(1)=467
  • 09-11 17:57:09.858: D/TouchHandler(14932): y(0)=469 y(1)=480
  • 09-11 17:57:09.868: D/TouchHandler(14932): y(0)=476 y(1)=480
  • 09-11 17:57:09.878: D/TouchHandler(14932): y(0)=479 y(1)=480
  • 09-11 17:57:09.888: D/TouchHandler(14932): y(0)=480 y(1)=480
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T04:39:25+00:00Added an answer on June 11, 2026 at 4:39 am

    Well, I was looking all over the internet for quite some time now.
    I came across this article which describes the problem even with a short video and links to an app on google.play which can be used to reproduce this behavior on certain devices.

    Dianne Hackborn, a google engineer commentated this on the official Android Developer Group.

    It seems that this is not an Android-Bug since Android is only working with the data coming from the hardware. Therefore it is most likely a driver issue or something that we developers have no control over.

    Now I’m on the lookout for a workaround since I really need accurate multitouch gestures in my application.
    Help will be greatly appreciated.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
I'm trying to select an H1 element which is the second-child in its group
I used javascript for loading a picture on my website depending on which small
I have a jquery bug and I've been looking for hours now, I can't
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am trying to render a haml file in a javascript response like so:
I would like to run a str_replace or preg_replace which looks for certain words

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.