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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -