W
W
Wilson2021-02-10 00:08:44
Java
Wilson, 2021-02-10 00:08:44

How to show a modal window in Android or JS if there is no internet connection?

I'm doing a project in Android Studio and the very essence of the question is - How to show a modal window with the error "You have no Internet, check your connection" if the user is disconnected from the Internet?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2021-02-10
@402d

https://stackoverflow.com/questions/6362314/wifi-c...
https://stackoverflow.com/questions/25678216/andro...
And the like. Do not forget that there is still wired Internet

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question