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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:53:04+00:00 2026-06-04T01:53:04+00:00

I have this android application which uses java-javascript bridge to pick up information from

  • 0

I have this android application which uses java-javascript bridge to pick up information from the pages browsed.

It works fine for all other links excepts for when there is a redirect.When the page is loading, i show a full screen translucent dialog box, and when loading is done i hide the dialog.

The problem is that the dialog box appears twice, one on top of the other but the the page finally redirects and loads completely, on the last dialog box still stays on the screen and freezes the whole application unless I force shut it down and re-install.

I wonder if anyone has had the same experience and any tips and tricks to work this out will be appreciated.

Thanks you!

  • 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-04T01:53:05+00:00Added an answer on June 4, 2026 at 1:53 am

    The onPageFinished callback is only called when the page finishes loading. When a redirect happens, the webview jumps to the next address without finishing the current request.

    A solution for your problem could be setting a flag that tells when the “Loading” dialog is being shown. If the flag is ON, you wouldn’t show a new one, avoiding the problem of multiple dialogs.

    If wanna know more about the inner workings of the WebView, I suggest checking out the Android’s source code, specially the webkit part:

    http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.3.7_r1/android/webkit/

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

Sidebar

Related Questions

In eclipse workset I have an android library and an application which uses this
I have an Android Application which uses JNI calls. Now i want this application
I have a Web Service and an Android application that uses this web service.
I have written an Android application that uses SQLite database which is saved in
I have written a simple Android application that uses a sqlite database which is
I have an Android application which uses C2DM services (aka push). I have a
I have an android application which uses jni and I'm trying to automate build
I have an application which uses a SQL database. This is encapsulated by a
I have an network application which uses a select loop like this: bool shutdown=false;
I have an application which uses the tts engine in Android, now as the

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.