开发者

How to communicate between mobile with PC? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
开发者_运维百科

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 8 years ago.

Improve this question

I am developing a program that is used to communicate between a mobile and a pc. I don't have any idea how to start?


To do that you would need to write two separate pieces of software:

1) A Server

2) A Client

I would suggest you install the server on the PC and the client on the phone.

The client would establish a TCP connection to the server and would be able to send messages reliably. Upon receiving the messages from the client (phone) your server (pc) will act accordingly.

You can refer to the java documentation to find two simple samples about creating TCP servers and clients and these should be very helpful. Example Link


You can use the bluetooth of the mobile, and develop a Server in java for your pc.

I have done this process.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜