I have an App(A) in Android device and a C++ program(B) in PC. I want to connect A to B to share datas from A to B. How can I do that? Thanks.
If I understand correctly then you want to transfer data from Andriod to PC application. If you want this then you can do it using socket. You can send or receive data using socket communication between Andriod and PC devices or some other device.
One of such example you can found in below links
how to Send string from Android to PC over wifi
https://github.com/codepath/android_guides/wiki/Sending-and-Receiving-Data-with-Sockets
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.