Skip to content Skip to sidebar Skip to footer

Connect An Android App To Localhost Without Internet Connection

i have an Android app that needs to access offline a MySQL database that's hosted on my localhost (i'm using WampServer). i can't use USB tethering or port forwarding because my la

Solution 1:

You can setup wifi, connect your system which contains server and your android device to same wifi. Assign a static IP to your server system and let your android connect to that server's MySql through the IP you assigned. Basically it is nothing much different then your web api and db hosted on cloud server and your android application connect to that cloud using either the domain or ip.


Post a Comment for "Connect An Android App To Localhost Without Internet Connection"