Android to Wamp Server Connection using Android Studio and PHP

后端 未结 4 691
闹比i
闹比i 2021-01-17 00:06

I\'m newbie here. I want to connect my android app to wampserver database. I found a tutorial on this link, But where should I find my serverUrl in wampserver? It should loo

4条回答
  •  暖寄归人
    2021-01-17 00:45

    you need to find your IPV4 address of your computer, run command prompt in your computer(go to Windows start button and start typig cmd) and type ipconfig and enter to see your IPV4 address of your computer.

    Successfully Running WAMP server on your computer indicates a green icon on system tray, click on that, with a menu pop up click on put online item. Wait for few second to process its task.

    To test your app for PHP MySQL in your android studio emulator, just enter address as http:\\IP Address\ followed by path of your PHP file in your code.

    For example: http:\\192.168.1.7\test\example.php

提交回复
热议问题