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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:50:28+00:00 2026-05-28T16:50:28+00:00

I am trying to implement a GestureOverlay and Listener in my application so it

  • 0

I am trying to implement a GestureOverlay and Listener in my application so it can perform actions based on input gestures. I have tried many different things but I cannot figure out what is wrong with my code. Any guidance would be much appreciated!

From onCreate method:

GestureOverlayView gestures = (GestureOverlayView) findViewById(R.id.gesturesoverlay);
gestures.addOnGesturePerformedListener(this);

From main.xml if it is of any help:

<android.gesture.GestureOverlayView
  android:id="@+id/gesturesoverlay"
  android:layout_width="fill_parent" 
  android:layout_height="0dip"
  android:layout_weight="1.0" 
  android:gestureColor="#FF33B5E5"
  android:uncertainGestureColor="#FF33B5E5" />

The error I get is from the gestures.addOnGesturePerformedListener(this); line. The error is

The method addOnGesturePerformedListener(GestureOverlayView.OnGesturePerformedListener) in the type GestureOverlayView is not applicable for the arguments (GestureLauncher).

Thanks again.

  • 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-28T16:50:29+00:00Added an answer on May 28, 2026 at 4:50 pm

    The error is saying that the argument to addOnGesturePerformedListener() needs to be an object that implements OnGesturePerformedListener. You are passing this which is evidently a GestureLauncher but does not implement OnGesturePerformedListener.

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

Sidebar

Related Questions

Trying to implement the following behavior on an iPad. I have a map-centric application
I am trying implement an alphabetical range to perform a query in Solr 3.3.
Ok well I'm trying implement something similar to the 'undo' function in many image
Trying to implement an autocomplete based on this It looks like it's very straight
Trying to implement NSCopying for the first time, and I have a question about
Trying to implement what I thought was a simple concept. I have a user
Trying to implement a simple notification system based on private pub ( something like
When trying to implement a simple OpenGL application, I was surprised that while it
Im trying to implement pagination using multiple searching criteria. Supposed I Have student table.
I'm trying implement a custom login page to use in my JSF 2.0 application.

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.