This question has already been answered:
Good evening everyone. I’ve come across a problem that generally comes from my inexperience ... There is an Android application that has a Mysql database (remote connection via php script). In this database, there is a Status table in which it is set to false default. is there a connection at the moment or not. Checking is done this way if the request status is 200 then I update the value and make it true. But if there is no Internet, how can I send false )))) ??? I really need help how to deal with it Is there a way? Thanks for the help.
falseon the internet if there is no internet? - Igor