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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:42:44+00:00 2026-06-03T23:42:44+00:00

I have created an application that requires the popupMenu to be displayed when a

  • 0

I have created an application that requires the popupMenu to be displayed when a particular link is clicked in the html file.

Now I am not sure how I can get the click event for the link to open the popupMenu. Can anyone please advise? Am I going at this the right way?

  • 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-03T23:42:46+00:00Added an answer on June 3, 2026 at 11:42 pm

    Craete a WebViewClient for your WebView.
    Now each time the user clicks a link, the function shouldOverrideUrlLoading is called and the link pressed is passed as a String parameter. In this way, you can catch when your user clicked the link by checking this url parameter (second param of the function).

    Finally, when you catch that the link is pressed, you show the popup.

    webview.setWebViewClient(new WebViewClient()
    {
        public boolean shouldOverrideUrlLoading(WebView view, String url) {
                 //if the url is your popup url
                 //show the popup
                 //if you want the web view to load the url return false; else return true;             
                 //by default return false btw!
    
           }
     });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a JavaScript application that requires all images to be preloaded first.
I have created a Backbone.js/Require.js application that dynamically loads HTML templates to use as
I have created a Silverlight business application, that require the user to login, and
I have created an application that uses settings.settings to store some user specific settings
I have created an application that records a series of longitude and latitude values
I have created an application that creates bar graph based on inputs read from
I have a problem regarding Android App. I have created an application that download
I have created one application in flex that is accessing the Java webservice using
I have created an application server side that will create a pdf of a
i have created an mvc3 web application that uses forms based authentication. one part

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.