A
A
Alexey2015-02-01 11:57:49
css
Alexey, 2015-02-01 11:57:49

How to prevent app download on phonegap if there is no internet?

I have an Android application on phonegap that loads the site through an iframe, but if the phone is not connected to the Internet, it shows "Page not found" and that's it, I want the "Internet connection required to continue" window to appear and when you click the "OK" button, the application closed, tell me how to solve it using JavaScript or Html5

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2015-02-01
@xmoonlight

You will first load the local html, where the Internet connection will be checked via ajax and the necessary message will be displayed, depending on the situation...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question