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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:18:11+00:00 2026-05-28T17:18:11+00:00

I learned that haptic feedback on a button press on Android has to be

  • 0

I learned that haptic feedback on a button press on Android has to be programmed individually for each button in each app.

However, is there anywhere a general setting that one can/should access that defines if the user wants haptic feedback at all?

Is there anything like a general setting to know how strong/long it should be?

Or has everything to be defined in the individual app – also posibly a setting that asks for haptic feedback on/off?

Many thanks!

  • 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-28T17:18:12+00:00Added an answer on May 28, 2026 at 5:18 pm

    Look for View.performHapticFeedback(int feedbackConstant, int flags). You specify the the underlying event (e.g. long press) and qualifier (e.g. ignore view setting, use global setting) and you get a standard vibration which is conditioned on the global Haptic Feedback setting.

    It returns true if haptic feedback actually performed.

    Check the source code here for more details

    http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.0_r1/android/view/View.java#View.performHapticFeedback%28int%2Cint%29

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

Sidebar

Related Questions

So today I've learned that BouncyCastle is the default RSA Encryption Provider on Android
I have learned that SO has put questions and answers in the same table.
I learned that the name attribute has been deprecated. But this is how I
I recently learned that when using onclick, for a button, the field name and
I learned that the Android Scripting Environment (ASE) supports python code. Can I take
I learned that Python class attributes are like static data members in C++. However,
I have recently learned that there are bugs in JDK7 for hotspot compiler optimization.
I learned that memset(ptr, 0, nbytes) is really fast, but is there a faster
Today I just learned that Adobe Air has a local SQL database, which is
EDIT: Learned that Webmethods actually uses NLST, not LIST, if that matters Our business

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.