Question:
I have an Android project that uses a Web Service, but I have to restart everything I use or test, activate it in Tomcat through eclipse and sometimes when I test on different networks, I have to change the ip in the Web Service project, I would like to know how I can put this project of mine on a fixed hosting so I don't have any more problems with it, I don't know how to do it, if I have to play the whole project or some other trick.
Answer:
If you already have hosting, configure the environment for production:
Server side:
- Java installation
- Tom Cat installation/configuration
- Install your Database
- Deploy your application
Application side:
- Get the new url for communication ex: 192.168.0.200/WebServiceREST/app
- Make the transitions.