Android to Wamp Server Connection using Android Studio and PHP

后端 未结 4 687
闹比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:54

    Thanks to @e4c5 (for the suggestions) and to @Laser for the answer(s).

    I solved it!

    So for the others who will stumble upon this problem, check this out! ^_^

    Go to cmd >> type ipconfig >> then look at IPv4 Address...

    Then paste it on private final String serverUrl = "your path here"

    Replace your path here with http://192.168.1.8/android_user_api/index.php

    Thank you guys!

    Happy Coding!

提交回复
热议问题