与webservice的蓝牙连接 [英] Bluetooth connectivity with webservice

查看:157
本文介绍了与webservice的蓝牙连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我们可以使用蓝牙在ASP.net c#中连接一个带有webserivce的Android应用程序。



例如



在我的Android设备中,我已经构建了一个应用程序,它有两个编辑文本和一个名为Add的按钮。

在我使用ASP.neet构建的web服务中,c#将添加两个数字。

现在的情况是,在我的Android设备上,我将输入两个数字并按添加,使用蓝牙,请求将被发送到桌面上的ASP.net应用程序将返回结果。



能否完成?

解决方案

< blockquote>可以做到吗



几乎任何事都有可能,但为什么你会遇到开发 Web 的所有麻烦应用程序,而不是通过网络将数据发送到ASP.NET服务?看似错误的技术选择,在这一点上更容易做一个Windows服务或后台控制台应用......


Hi

Can we connect an android application with a webserivce in ASP.net c# using bluetooth.

For example

In my android device i have built an applicaion that has two edit texts and a button named Add below.
In my webservice which i have built in ASP.neet c# will add two numbers.
Now scenario is that on my android device i will enter two numbers and press add,using bluetooth the request will be sent to the ASP.net application on a desktop which will give result back.

Can it be done?

解决方案

"Can it be done"

Just about anything is possible, but why would you go through all the trouble of developing a Web app and not send the data to the ASP.NET service through the web? Seems like the wrong choice of technologies, at that point its easier to just do a windows service or background console app...


这篇关于与webservice的蓝牙连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆