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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:03:11+00:00 2026-06-18T00:03:11+00:00

I am overriding webViewClient.shouldInterceptRequest() to return common resources like images and js files from

  • 0

I am overriding webViewClient.shouldInterceptRequest() to return common resources like images and js files from asset folder.But this is available for android >=3 .is there any alternative to use for android 2.x

I found onLoadResource() to provide similar behaviour but its return type is void

  • 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-18T00:03:13+00:00Added an answer on June 18, 2026 at 12:03 am

    I’ve been digging this for a while, and the practical way I found so far to achieve the similar purpose is to implement a local HTTP proxy for this web view.

    To set a proxy for webview, see this question: WebView android proxy

    There’re many open source HTTP proxy written in Java, like LittleProxy.


    Yet another possible but complex way: use shouldOverrideUrlLoading() to capture all page requests but always return true. Fetch the content of page with your own code, then parse and replace all remote resources with local cached copies, and finally load the modified content with WebView.loadData().

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

Sidebar

Related Questions

I am overriding a view from a Rails engine that has this code: <%=
I am overriding ProcessCmdKey in a control like this: protected override bool ProcessCmdKey(ref Message
I've tried overriding the OnLoad event, but the form is getting drawn before this
I'm overriding the draw method of CCLayerColor to draw a border, but the color
I understand overriding a method/function redefines its implementation in the derived class from its
I am overriding the addItem() function of an array collection and I would like
I've looked for overriding guidelines for structs, but all I can find is for
when overriding OnActionExecuting, how do I return a Json result without passing to action?
RelayCommands overriding the IsEnabled of my buttons. Is this is a bug? Here is
When overriding the baseadapter on an android listview, you have to implement this method

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.