When I am using with localhost the data is displaying in a web browser but it's not working with an emulator.
When I am using with android emulator is not working with this IP 10.0.2.2 not displaying the data
Plese find me solution
When I am using with localhost the data is displaying in a web browser but it's not working with an emulator.
When I am using with android emulator is not working with this IP 10.0.2.2 not displaying the data
Plese find me solution
You can use real IP of computer(the computer that emulator is running, example: 192.168.103.45) . If still not work you could try use newer API level . In my case i use API level 22, 24 and real IP. It work ok.