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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:37:07+00:00 2026-05-28T06:37:07+00:00

I have an application built using PhoneGap (Android) that is essentially a shell for

  • 0

I have an application built using PhoneGap (Android) that is essentially a shell for a web app, that would (in the future) allow for push notifications and offline reading of downloaded pages from the web app.

My problem is this – if the connection to the network is lost or turned off in the middle of use, and a link is clicked on a page, there is an error: Application Error: Could not find url: '...', and the app closes. I want to be able to prevent the app from closing, and if possible, change this error message.

I know that the standard would be to use the PhoneGap API to check the network connection, then handle it myself, but because this is a shell for a web App, the only place I can do this is on app startup. What are my options?

  • 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-28T06:37:08+00:00Added an answer on May 28, 2026 at 6:37 am

    I would start by checking out the source code for the childbrowserplugin.

    The code there for onlocationchange is allowing for intercepting all webrequests in and out of a webview. It sounds like your app has needs similar to this.

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

Sidebar

Related Questions

I have built a web application using Java EE platform that sells one of
I have been using phonegap.js with jqm to built a mobile android app. I
I have built a test app on android using this cool-ass PhoneGap framework, but
All, I have a PHP Web application built using Zend Framework and MVC with
I have an winforms application that was built using MVC. The controller is subscribing
I have an application, built using MVC, that produces a view which delivers summary
I have a legacy VB6 application that was built using MSDE. As many client's
We have a web based application in production built using django. It is deployed
We have an application that was built using .NET 3.5. There is a situation
I have an application that is built using ASP.NET, with an embedded Silverlight Object

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.