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

  • Home
  • SEARCH
  • 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 8731195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:10:39+00:00 2026-06-13T09:10:39+00:00

What Gesture file should be downloaded and paste it in Raw folder under res?

  • 0

What Gesture file should be downloaded and paste it in Raw folder under res? How if user’s drawn gestures would be recognized from gesture file which has been downloaded. Could anyone tell me this?

If i do compare, i should be able to know about the Gestures and its description in Gesture File which has been downloaded. It will be a easiest way to recognise the gestures (User Drawn) from Gesture library.

  • 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-13T09:10:40+00:00Added an answer on June 13, 2026 at 9:10 am

    in android emulator open gesture builder app then –> click on add gesture –> draw ur gesture there which you want to use for your application.
    After adding gesture go to your eclipse ide –> open ddms –>open file explorer.

    in file explorer there is folder called mnt/sdcard/gestures you find your gesture file.
    now copy that file to your project in Raw folder where you want to use that gesture action.

    after that

      private GestureLibrary gestureLib;
    private static final int LARGE_MOVE = 20;
    private GestureDetector gestureDetector;
    
    make your class implements OnGesturePerformedListener
    
    //put following code inside your on create method
    
    GestureOverlayView gestureOverlayView = new GestureOverlayView(this);
            View inflate = getLayoutInflater().inflate(your layout file, null);
            gestureOverlayView.addView(inflate);
            gestureOverlayView.setGestureColor(Color.TRANSPARENT);
            gestureOverlayView.setUncertainGestureColor(Color.TRANSPARENT);
            gestureOverlayView.setGestureStrokeLengthThreshold(LARGE_MOVE);
            gestureOverlayView.setGestureStrokeSquarenessTreshold(1);
            gestureOverlayView.addOnGesturePerformedListener(this);
            gestureOverlayView.setEventsInterceptionEnabled(true);
    
    
    
            try{
                gestureDetector = new GestureDetector(your class name.this, new SimpleOnGestureListener() {
                     @Override
                     public boolean onFling(MotionEvent e1, MotionEvent e2,float velocityX, float velocityY){
    
                         if (e1.getX() - e2.getX() > LARGE_MOVE) {
    
                            // do some thing here
    
                             return true;
                         } else if (e2.getX() - e1.getX() > LARGE_MOVE) {
    
    
                            // do some thing here 
    
                             return true;
                        }
                        return false;
                        } });
                }catch(NullPointerException e){
                    e.printStackTrace();
                }
    

    Hope this works for you .
    Happy Coding

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

Sidebar

Related Questions

I have noticed in the android gesture examples, that it reads the gestures from
I added a gesture to a label and when tapped i would like to
I have a gesture recognizer pulled from storyboard and it is working fine and
I succesfully implemented the shake gesture, but now I would like to limit it
I have a list of Gesture classes in my application: List<Gesture> gestures = new
From what I can tell, my app should be firing accelerometer events while Im
I use the Gesture Build to build some gestures for my app on the
I have a custom gesture that fires if the user slides his or her
Say we're using Ctrl+S input gesture for saving the project. In File menu -
I have just discovered the Gesture Recognizers in IB and I would like to

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.