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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:14:49+00:00 2026-06-01T21:14:49+00:00

when I ask Google (or stackoverflow.com) for a gesture detection example it always comes

  • 0

when I ask Google (or stackoverflow.com) for a gesture detection example it always comes with the GestureDetector which is NOT available for Android 2.1 / API version 7.

So here is my problem: I use a class that inherits from View and shows one single bitmap. The bitmap-draw-method can be called together with a matrix. I plan to use this matrix to show scaled variants of that bitmap within my View.

The scale factor has to be set via a scale-gesture of the user (the two-finger-thingy where fingers go closer to each other to zoom out or where the user spreads them to zoom in).

But how can I detect such a gesture when my API is 7 (Android 2.1) and when no GestureDetector is available?

Thanks

Elmi

PS: to clarify that: I don’t want to implement my ap for later API versions only since 2.1 and 2.2 are most used versions of Android

  • 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-01T21:14:50+00:00Added an answer on June 1, 2026 at 9:14 pm

    actually the GestureDetector IS available in API level 7

    import android.view.GestureDetector;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Iam developing an android app.about google maps API for android i want to ask
I would like to ask which is the best solution for integrating google maps
I'm not sure what keywords to google for, so i'm gonna ask SO. I
I noticed that HTTP://STACKOVERFLOW.COM/QUESTIONS/ASK and http://stackoverflow.com/questions/ask both works fine - actually the previous one
I am not sure if StackOverflow is the right service to ask this question
as google does not deliver what i want to know, i try to ask
After searching stackoverflow and Google for the past hour I thought I would ask.
As I don't know how to ask it to google, I'll try here. I
I would like to ask if there is any tools for Google App Engine
google produced nothing, so I wanted to ask SO. What does ccp achieve? Here's

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.