localhost refer to the emulator itself 10.0.2.2 point to your localhost from emulator
localhost refer to the emulator itself 10.0.2.2 point to your localhost from emulator


localhost will refer to the emulator/device itself and not to the
server. 10.0.2.2 point to your localhost from the emulator
baasbox/Android-SDK,aozisik/Android-SDK,engine-turning/Android-SDK