This is a migrated thread and some comments may be shown as answers.

Cant access the WCF Web Api Service on Android

1 Answer 93 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Syed
Top achievements
Rank 2
Syed asked on 12 Jun 2012, 12:46 PM
Hi There,

               I was testing out the demo introduction project for android downloaded from here. As I was thinking that this will be my starting point for a mobile application for my Web application on Telerik MVC 2. But the mobile application cant seems to work. If I access teh Web Api service through Chrome it working fine. attached file has the output of the chrome for service.

           But on the emulator I cant access the service and its just keep on loading. I have checked and found that the request is not reaching the service. 

               Any help will be appreciated.

Thanks Syed

1 Answer, 1 is accepted

Sort by
0
thanhmcad
Top achievements
Rank 1
answered on 17 Aug 2012, 02:28 PM
Use address 10.0.2.2 instead of localhost for emulator.
Tags
General Discussions
Asked by
Syed
Top achievements
Rank 2
Answers by
thanhmcad
Top achievements
Rank 1
Share this question
or