Can i create an application that contains the client and server in the same device? if it's possible ,can someone give some real android application examples. And thank you
Yes can make Client-Server app in same device using JAVA Servlet. Refer this github project Android HTTP Server
Small but powerful multithreaded web server written completely in Java SE and then ported to Android.
A complete zero-dependency implementation of a web server and a servlet container in Java with a sample Android application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With