I made an app that connects to a php file. The code is working using the AVD without a problem. Now when I tried the app in my android device it force closes. My android device is connected through a wifi network. I'm using wamp server on windows 7.
I have pinpointed the problem but I cannot resolve it. I'm hoping one of you good guys can help me. This is my culprit (192.168.1.100 is the machines IP):
private static String url_all_products = "http://192.168.1.100/android_connect/get_all_products.php";
How can this be solved? 100% working in AVD but won't work in actual android device.