Reputation: 682
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
Upvotes: 3
Views: 594
Reputation: 85
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.
Upvotes: 1