I have built an Android application using the emulator to test. It connects to localhost to get and send data which works well. Now I want to try that application on my mobile device. I have read that I have to:
- connect my computer to my router network
- connect my mobile to my router network
- go to the code and replace the
10.0.2.2with the IP of my computer
Am I right? If so, is that computer's IP the IP that connects my computer to internet?