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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:12:56+00:00 2026-05-24T21:12:56+00:00

I have created an application where in I have a page which contains for

  • 0

I have created an application where in I have a page which contains for text and one ‘Next’ button and one ‘Previous’ button. Clicking ‘Next’ button, page shows some next text that is being takes from a list which contains a list of String text. ‘Previous’ button shows the last visited text.

It is working fine. But now I want to implement something new where swipe of finger by user would take to the next text or previous. Finger swipe as used while accepting a call.

  • 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-24T21:12:57+00:00Added an answer on May 24, 2026 at 9:12 pm

    You are looking for gesture detectors. And you can find it here.

    http://android-journey.blogspot.com/2010/01/android-gestures.html

    http://coderzheaven.com/2011/03/using-gestures-in-androida-simple-example/

        @Override
        public boolean onTouchEvent(MotionEvent me) {
            return gestureScanner.onTouchEvent(me);
        }
    
    
        public boolean onDown(MotionEvent e) {
            viewA.setText("-" + "DOWN" + "-");
            return true;
        }
    
        public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
            viewA.setText("-" + "FLING" + "-");
            return true;
        }
    
    
        public void onLongPress(MotionEvent e) {
            viewA.setText("-" + "LONG PRESS" + "-");
        }
    
    
        public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
            viewA.setText("-" + "SCROLL" + "-");
            return true;
        }
    
    
        public void onShowPress(MotionEvent e) {
            viewA.setText("-" + "SHOW PRESS" + "-");
        }
    
    
        public boolean onSingleTapUp(MotionEvent e) {
            viewA.setText("-" + "SINGLE TAP UP" + "-");
            return true;
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created an application that uses settings.settings to store some user specific settings
I have a dashboard web application. It contains some controls on it which are
I have a C# 2010 application that contains a report created using Crystal Reports
I have a web application in Asp.Net. I've created my master page and inside
I have a .Net application that dynamically creates a small HTML page and pops
Today we have a windows application that, using an OCX, creates a web page
I have created an application which needs to have a profile box tab which
We have created an application which we want to run in a 64 bit
I have a web application that runs multiple websites from one codebase. I have
I have a page in JQuery mobile, which contains a form. The form has

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.