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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:40:50+00:00 2026-05-18T08:40:50+00:00

On this page of Android Development, -at step 6- they say : Instead of

  • 0

On this page of Android Development, -at step 6- they say :

Instead of adding an intent filter to
view web pages, you can override the
WebViewClient class and enable this
Activity to handle its own URL
requests.

But I would like to learn how to do it with intent-filters as well.

I have a WebView widget and a Button widget on my default Activity and when user clicks on the Button, the WebView loads a page – pretty simple. But as it is mentioned in Step-6, I need to enable my Activity to do so.

Can somebody show me intent-filter which does the same things here as WebViewClient – overriding shouldOverrideUrlLoading(WebView view, String url) method.

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-05-18T08:40:50+00:00Added an answer on May 18, 2026 at 8:40 am

    But I would like to learn how to do it with intent-filters as well.

    This is effectively the same thing as a previous question, asked minutes before yours, though they might not seem so on the surface.

    You can advertise, via a properly-constructed <data> element in your <intent-filter>, that you can VIEW documents that are text/html. However, the user will be prompted for every link to a Web page they click on anywhere on their phone (plus redirects).

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

Sidebar

Related Questions

Can anyone help me figure out why this page causes Android browsers to crash?
I'm working on web page for Android tablet devices and iPad. This page works
This page in the Android documentation defines an element id as follows: <TextView android:id=@+id/label
I'm relatively new to java and android development so sorry if this is a
http://developer.android.com/guide/practices/ui_guidelines/icon_design.html#tabstructure Are we sure this page was written correctly? It states that UNSELECTED icons
I'm trying to use a ListView which is just like on this page: http://developer.android.com/resources/tutorials/views/hello-listview.html
I am following the video on this page http://zegoggl.es/2009/12/building-android-apps-in-scala-with-sbt.html which use SBT to create
I'm following this book, Teach Yourself Android Application Development in 24 Hours, 2nd Edition
I was looking at this page: http://developer.android.com/guide/basics/what-is-android.html The section about Applicatiosn says that android
I am playing around with HTML 5 apps according to this tutorial: http://sixrevisions.com/web-development/html5-iphone-app/ It's

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.