Answer the question
In order to leave comments, you need to log in
The Android application takes data from the server, if I change the server in the future, it will not work. How to be?
There were ideas when changing the server to notify using SMS. But there may be other ways, for example, put the server address in another special server whose address never changes.
Answer the question
In order to leave comments, you need to log in
Address the server by DNS name
If the IP server changes - change it in DNS and that's it ..
What a stupid question.
Either you insert a code in advance that will check the availability of the server, or you redirect requests from the old server to a new one, or you correct the application code, or, or, or
Who will work? Server if you change it? It will be, why not, but depending on how you change it))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question