Home > Mobile >  Android PC communications
Android PC communications

Time:04-20

Novice small white ask: write an android application will always want to get the information through the wifi real-time transmitted to the PC, such as steps will get the android real-time synchronization to PC, what communication bosses should use excuse me? About how to design, thank you!

CodePudding user response:

HTTP, you can adopt okhttp3
Socket to also go, but must carry on the long connection, you can use the websocket (instant messaging, two-way, long connection)
The two will be made on the PC server build
Or with bluetooth