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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T15:57:02+00:00 2026-05-29T15:57:02+00:00

Im making a Web app. I want block it’s selecting texts. When I use

  • 0

enter image description here

  1. Im making a Web app.
    I want block it’s selecting texts.
    When I use Facebook application, I can’t select text likes the picture’s.
    Because facebook app, it’s a hybrid app.
    How can I control…
    Is there a any method for blocking text selection??…

  2. When I touch some text which hyper linked,
    Webview showing up orange color border, where around the texts,
    Can I change it color??? or not showing up…??

This is my very simple webviewClient source..

public WebView webViewDefault;
    private Context context = null;
    private String strListsURL = URLOperation.strListsURL;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        this.context = this;

        webViewDefault = (WebView) findViewById(R.id.mainWeb);
        webViewDefault.setVerticalScrollBarEnabled(false);
        webViewDefault.setWebViewClient(new MyClient());
        webViewDefault.loadUrl(strListsURL);


    private class MyClient extends WebViewClient {

        @Override
        public boolean shouldOverrideUrlLoading(WebView view, String url) {
            view.loadUrl(url);
            return true;
        }

        @Override
        public void onPageFinished(WebView mWebView, String url) {
        }

        @Override
        public void onPageStarted(WebView view, String url, Bitmap favicon) {
            super.onPageStarted(view, url, favicon);
        }

        @Override
        public void onReceivedError(WebView mWebView, int errorCode, String description, String fallingUrl) {
            mWebView.loadData("<html>Load Error</html>", "text/html", "utf-8");
        }
    }
  • 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-29T15:57:04+00:00Added an answer on May 29, 2026 at 3:57 pm

    In android webview, it enters the text selecting mode by long press the text. you can override the onPerformLongClick() to take over the control and return true to prevent from entering the webtextview mode.

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

Sidebar

Related Questions

We recently built a web app using Prototype, making a fair amount of use
We are making an application with the details below. 1) Web/Desktop App on C#.Net
I'm making a web application for a customer that has clients who want to
I want to port a web-app to PC, making it full-screen and offline, and
i've been making web app's and working with various server side language like php,
I am practicing making a web app which tries to read the user's twitter
I'm making a web app. In it there are times when a form may
We're making this web app in PHP and when working in the reports we
I'm making a Django web-app which allows a user to build up a set
I'm currently making an iphone web app based on Google App Engine (python). I

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.