문제

how can WCF Webservices be tested locally from android emulator? is that by using the IP as 10.0.2.2?

도움이 되었습니까?

해결책

You cannot consume the service located locally, You may have to setup the DNS in you device or emulator, so that it can resolve the host name.The way is

Settings -> Wireless Control -> Mobile Networks -> Access Point Names

click on the one that is in use, fill in Proxy and Port with your DNS server.

Access local service

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top