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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:09:46+00:00 2026-06-01T07:09:46+00:00

I am using Webview to implement browser capabilities in my project. Lets say someone

  • 0

I am using Webview to implement browser capabilities in my project. Lets say someone searches for download.com in google, searches for a software (in download.com), and then clicks on the download link. A request will be made to the server which will respond back with the respective download file. Now is there any way I can catch the server response so that I can send it to some other app (lets say, to a download manager)? Note that I don’t know when will the user click on the download link.

Thanks in advance.

  • 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-01T07:09:47+00:00Added an answer on June 1, 2026 at 7:09 am

    WebView exposes a Download event that you could hook into to catch when something is going to be downloaded:

    webView.Download += (sender, args) =>
                        {
                            Console.WriteLine(args.Url);
                        };
    

    Alternatively, you could create your own implementation of an IDownloadListener:

    public class MyDownloadListener : Java.Lang.Object, IDownloadListener
    {
        public void OnDownloadStart(string url, string userAgent, string contentDisposition, string mimetype, long contentLength)
        {
            Console.WriteLine(url);
        }
    }
    

    and provide that to the WebView:

    var listener = new MyDownloadListener();
    webView.SetDownloadListener(listener);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using webview in android to display images (mainly using google ajax API),
I am trying to implement facebook like functionality using android webview. It is working
I'm loading .swf files into a WebView directly using webView.loadUrl(http://whatever.com/file.swf); . It works perfectly
I used Google chart api to generate the chart using webview in android. Now
I'm trying to implement the 1.6 Mobile Facebook API ( http://code.google.com/p/facebook-actionscript-api/downloads/detail?name=GraphAPI_Mobile_1_6.swc ) into an
I am using webview in my android app to fetch some webpages from multiple
I am developing hybrid application by using webview and native both. I am using
I did one sample application using WebView, in that web view the URL comes
The following view crashes the iPhone If I comment out the using (webView =
I'm trying to use CSS3 multi-column column layout in my android application using WebView,

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.