java - How to communicate between mobile with PC? -
i developing program used communicate between mobile , pc. don't have idea how start?
to need write 2 separate pieces of software:
1) server
2) client
i suggest install server on pc , client on phone.
the client establish tcp connection server , able send messages reliably. upon receiving messages client (phone) server (pc) act accordingly.
you can refer java documentation find 2 simple samples creating tcp servers , clients , these should helpful. example link
Comments
Post a Comment