Test Mobile Website on Android Emulator - android

I have created Mobile Website on VS2010 4.0. I want to test this on Mobile browser. I have installed Android Emulator from http://www.asp.net/mobile/device-simulators. I just want to know how can I test the application on Emulator which is hosted on local IIS(my computer).

Use 10.0.2.2 as IP for server running on the same machine as the Android Emulator.

Related

Connecting android mobile to cloudly hosted Android Studio

For my project. I have given by an android studio which is hosted on cloud server.
Normally, while we are developing android applications we are able to connect our real devices to the android studio and run it simply and test on real devices. But Unfortunately, I could not able to connect my real android device to the remotely hosted android studio.
Do we have any solution to connect our real device to remotely hosted android studio.

Genymotion access to local web server

I have installed Genymotion 2.2 with Android 4.1 guest OS. Also, I have Apache running on host OS with several local sites.
Is it possible to get each local site from the guest's Android browser?
I tried to do this with ProxyDroid app, but it didn't work for me.
Yes, you can. As you can see in the image below, I am connecting to my Tomcat server running on my laptop via the browser in Genymotion machine. Notice that I have used my IP address to connect to Tomcat:

Run Asp.Net web application with android emulator

When I run my web application with Eclipse in Visual Studio, the machine says that
"The file 'http://localhost:18207/' could not be found".
If I launch the application with Firefox, IE or iPhone Simulator there are no problems, what could be the issue?
Are there any other ways I could simulate my application running in an android smartphone?

My application works on android emulator but don't work in android device

I made a web service in .Net Framework 3.5 in Microsoft Visual Studio 2008 and called it from android. I used Sql Server as a database.
When I am running my application in the android emulator, it will run fine but if I install it onto my android device, then it will throw a java.socket.SocketTimeOutException.
Is your server running on your desktop from Visual Studio? If so, you cant connect to it from any machine but that particular desktop unless you forward ports or use a proxy server (also on the same machine).
I got the solution. Please take care that your computer Firewall is off when you use IIS as virtual server on your local pc. If you turn off your firewall protection then it will be allowed you to access the web methods but if firewall is on then you get java.net.SocketTimeOutException

DNS Problem with Android Emulator

I cannot use the browser and internet connection in my android app with android simulator.
When I try to open a homepage using the native webbrowser in the emulator, but when I use the ip address, it opens just fine.
How can I fix DNS problems in the android Emulator.
I already turned off the Windows Firewall, but it didn't work.
Data: Windows 7 x64 / Eclipse Plugin for Android / Android version 2.1
Do you have multiple NICs on your machine? The emulator might be trying to use a DNS that it cannot access (i.e. going through the wired DNS server if wired is disconnected). You can check which DNS server is being used by starting the emulator with the -debug-slirp flag.
See here for more info.

Categories

Resources