问题描述
Hello开发人员,
我有一个项目需要我在移动设备和PC之间发送和接收数据。以下是我想要实现的目标:
*在PC上申请
*在移动设备上申请
移动应用程序发送一个简单的字符串,例如PC上的应用程序的Hello PC,当PC应用程序获得消息时,它以字符串格式将响应发送回移动设备上的应用程序,例如, 我收到你的消息,移动
请注意,移动设备和PC都将通过USB线连接。
我很无聊对此,我不知道。我在互联网上搜索过,我无法获得带有示例的教程。拜托,我需要帮助。我知道如何将VB.NET用于桌面应用程序和J2ME用于移动设备。请帮助我!
Hello developers,
I have a project to do which requires me to send and receive data between a mobile device and a PC. Here is what i want to achieve:
* Have an application on the PC
* Have an application on the Mobile Device
The mobile application sends a simple string e.g. "Hello PC" to the application on the PC and when the PC application gets the message, it sends a response back to the application on the mobile device in a string format e.g. "I got your message, Mobile"
Note that both mobile device and the PC will be connected via USB cable.
I am cluless on this and i have no idea. I have searched all over the internet and i was unable to get a tutorial with examples. Please, i need help on this. I know how to use VB.NET for desktop app and J2ME for mobile. Pls help me!
推荐答案
这篇关于如何通过USB发送/接收数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!