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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:50:58+00:00 2026-06-05T11:50:58+00:00

This method in Android, MotionEvent.getPointerCount () , has only been starting to use since

  • 0

This method in Android, MotionEvent.getPointerCount (), has only been starting to use since API level 5.

However, my project is targeted to Android OS v2.2 (API level 8).

So I wonder what Android will do when run my project in a device with API level 4.

I have tried once, but it seemed no exception or crash, I do not know why?

@Override
public boolean onTouch(View v, MotionEvent event) {
    int pointCount = event.getPointerCount();
    ...
    }

FYI, the above codes will cause compiling error when I set the API level of my project to 4.

  • 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-05T11:51:00+00:00Added an answer on June 5, 2026 at 11:51 am

    In Android if you use a method that is not available you will get a NoSuchMethodException.

    You can look at Backward Compatibility for Applications for more information.

    So the answer to your question is: Yes, one app can run smoothly while having errors in a lower API.

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

Sidebar

Related Questions

I noticed that in Android API Level 11 (ICS) MotionEvent has a transform method
I don't exactly understand what the purpose of this method is. In the android
I tried this example from Android: The method OnClickListener() is undefined for the type
Similar to this question but for Android: Android GLES20 supports a method glShaderBinary, which,
I am implementing input method related application in Android. In this application I'm using
I have read the android spill on this method tons of times and it
I'm creating a new SQLite database in Android via this method: public void onCreate(SQLiteDatabase
I use this method on my container Activity to show a BFrag public void
I am working on an Android project in which I use a ViewFlipper for
HI, I need to use http post method for web-service in android application .But

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.