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 7703925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:34:12+00:00 2026-05-31T23:34:12+00:00

I am testing this sample on version 13 of android (3.2) and I have

  • 0

I am testing this sample on version 13 of android (3.2) and I have an issue when there is multiple touches on screen.

When I first touch, then there is an action_down event, if I make another simultaneous touch, then I won’t get another action_down, my first touch keeps active and I can keep getting action_move from the first touch.
The problem is, when I release the first touch and move the second, it creates a line to that touch, because it generates another action_move event.
I tried using Euclidean distance, but it seems to slow down too much, and makes the lines incomplete.
I tried creating a producer/consumer model, but still got the same problem.
I also tried checking the time from the last touch, but this is very inefficient.

Does anyone have any suggestion?

  • 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-05-31T23:34:13+00:00Added an answer on May 31, 2026 at 11:34 pm

    I admit I’m a little confused about what your actual problem is, but it seems to me like your problem might be solved simply by handling more of the touch events. When the second finger comes down, you can get an ACTION_POINTER_DOWN event, indicating a second touch, and you can then modify how your ACTION_MOVE events will be interpreted while the second finger is down, until an ACTION_POINTER_UP event comes through. Hope that answers or at least helps your question.

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

Sidebar

Related Questions

I'm wondering how to go about testing this. I have a method that takes
I have done a bit of testing on this myself (During the server side
For testing purposes I have this shell script #!/bin/bash echo $$ find / >/dev/null
I want to have a test that testing the inexistent of this http headers,
I am currently testing this in Mozilla FireFox 3.0.5 using FireBug 1.3.0 with jQuery
Will this work for testing whether a value at position index exists or not,
This question isn't about unit-testing. And it is for a desktop product. This is
I was testing on a customer's box this afternoon which has Windows Vista (He
I ran into this today when unit testing a generic dictionary. System.Collections.Generic.Dictionary<int, string> actual,
I recently stumbled across this entry in the google testing blog about guidelines for

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.