如何将数据从Android设备发送到VB.NET
问题描述:
我将多个Android设备连接到WiFi模块/路由器。
但我想将这些连接设备的数据传输到vb.net。 />
任何人都可以帮我解决硬件和软件连接问题。
我需要Android代码/逻辑和硬件名字。
我尝试过:
我试过将多个设备连接到路由器/模块并且它正在连接但我无法传输数据。 :(
I'm connecting multiple android devices to a WiFi module/Router.
But i want to transfer data from those connected devices to vb.net.
Can anyone help me with hardware as well as software connectivity.
I Need Android Code/Logic and Hardware names.
What I have tried:
I have tried to connect multiple devices to router/module and it's connecting but I can't transfer the data. :(
答
你需要一个服务,你可以选择不同的服务,但我会推荐一个来自设备的REST服务。其中包括目前的事情。 Web API非常容易开发。
我没有在vb.net找到一个例子,但我确实找到了一个好的地方开始研究那个。
ASP.NET Web API示例| ASP.NET站点
最终如果你的标签是正确的,你主修Java,然后考虑使用你的设备连接的任何地方当前进行交互(java?)并使用后端使你的vb.net环境可用
You need a service, you could opt for different ones, but i'd recommend a REST service from devices. Amongst those the thing going at the moment for sheer ease of development is the Web API.
I didn't manage to find an example in vb.net but i did find a good place to start looking into that.
ASP.NET Web API Samples | The ASP.NET Site
Ultimately if your tags a right and you major in Java, then consider using whatever place your devices connect to interact currently (java?) and use the backend to make available to your vb.net environment