I am developping a phonegap android app, that needs to connect to a server on the same wifi network.
the app works fine if I provide the server ip, but in case the router shutdown , the ip changes !. I am using a XAMPP server on my laptop. and the app is going to be installed in about 20 devices. Meaning that the manual approach is painful !!
- So, is there anyway to reconnect automaticly without knowing the new ip?
- and, How to do so?