Android server

Asked

Viewed 69 times

2

I would like to know how apps like this, provide a web service through the smartphone?

Is there a Tomcat that runs on Android? or something that does this?

Ps.: Google showed me just the Talking Tom Cat, for Tomcat Android !

  • Thiago in principle this application should have a webservice somewhere running. It should not be a service on Android.

  • Thiago, there should be a separate running web service where the app only accesses it via ip to consume. You can deploy your Webservice and access normally.

1 answer

2

Libraries like Okhttp go up local servers on Android that are used for unit testing. Since it is open source, you can take a look at the source code to see how it does it. I hope I help you.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.