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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T09:12:25+00:00 2026-06-05T09:12:25+00:00

Is there any different behaviors about the WebView class on Android 2.2 and 3.1

  • 0

Is there any different behaviors about the WebView class on Android 2.2 and 3.1 ?

Here you go some informations I got testing the same app on two different devices, the first one with Android 2.2 and the another one 3.1

  • The app’s target is 2.1
  • The page that I want to access is an ASP.net page

Running on 2.2

  • shouldOverrideUrlLoading is called normally
  • onPageStarted and onPageFinished are called more than once
  • onNewPicture from webview is called once, when the page ends the loading

Running on 3.1

  • shouldOverrideUrlLoading isn’t called, only webView.load(url) is enough to do the same work
  • onPageStarted and onPageFinished are called once
  • onNewPicture from webview isnt called

My problem is. I need to show a dialog while the page is loading, and I don’t know how to do that with these differences.

If I create the dialog on onPageStarted and close it on onPageFinished it will show and close more than once on 2.2, but on 3.1 it will works fine

Otherwise, if I create the dialog on shouldOverrideUrlLoading and close it on onNewPicture it will works fine on 2.2 but on 3.1 it won’t even appear.

  • 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-05T09:12:27+00:00Added an answer on June 5, 2026 at 9:12 am

    I used the following:

    Android WebView progress bar

    to put a progress bar on a webview while it was loading, your could implement the same, bringing up a view when the percentage loaded is less than 100% and taking it down when it is 100%. I implemented this for an Android >= 3.0 type device though.

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

Sidebar

Related Questions

Is there any way with phpdoc to document the different values that a class
is there any different in Connection string between SQL server Authentication and Windows Authentication
Is there any different between NSString * str = @123; and NSString * str
In javascript, is there any different between these two: // call MyFunction normal way
Is there any performance different between hosting your asp.net in mono on linux and
is there any problem to install different oracle 11g versions. I mean if I
Is there any place that showcases a bunch of different types of rating systems
Are there any Open Source tools to compare different Oracle Schemas and provide the
Is there any c# library that handles lossless conversion between different image formats?
Is there any difference in behavior of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run registry key, when an user Logs

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.