0
I have an Android app in Android Studio and am using the retrofit library to connect with a php server. I want to know how I can test this app on a real phone with the server running on my laptop. In case, what structure do I have to assemble to perform the test?
There are several ways to do this and there are thousands of posts/tutorials on the internet teaching you how to do this from scratch. In order for your question to be answered, you would have to be more objective about some problem you had when trying to implement some example of web service consumption.
– viana
@acklay I was thinking of connecting the mobile phone and the notebook in my wifi network and put the ip of my notebook in the code of the app that makes the call of Web Services. That would work?
– Matheus Emanuel
Yes @Matheusemanuel, it would work because this is how I do in the company I work when I need to test my services in apps.
– Grupo CDS Informática