生成一个WPF应用程序以通过蓝牙将照片从手机传输到应用程序 [英] Building a wpf application to transfer photo from phone to application via bluetooth

查看:138
本文介绍了生成一个WPF应用程序以通过蓝牙将照片从手机传输到应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我目前正在做我的FYP.我被要求做一个wpf应用程序,以通过蓝牙将照片从手机传输到应用程序中的文件夹.如果有人可以帮助,请感激!


-------------------------------------------------- -------------------------------------------------- ------------
感谢回复 !我的wpf项目中已经有蓝牙代码,可以通过蓝牙将应用程序中的照片发送到手机.该代码来自http://code.msdn.microsoft.com/Surface-Bluetooth-Connect-dbe7e0e8[^]
因此,我想问一下我现在是否已经允许使用编码来编写编码以将照片从手机发送到应用程序?

我还在这里寻找示例代码,探索通过蓝牙连接的OBEX设备[^],以尝试手机是否允许首先将照片发送到PC桌面.但是当我运行程序并想连接到手机时,它给了我一个错误连接失败,所请求的地址在其上下文中无效".我不明白该错误是什么意思.


我需要在这里更新代码来显示问题吗?

HI everyone, i currently doing my FYP. I was asked to do a wpf application to transfer photo from phone to a folder in the application via bluetooth. Appreciate it if someone could help !


----------------------------------------------------------------------------------------------------------------
Thanks for replying ! i already have the bluetooth code in my wpf project where it can send photo from application to phone via bluetooth.The code is from http://code.msdn.microsoft.com/Surface-Bluetooth-Connect-dbe7e0e8[^]
Hence, i would like to ask that if the coding i have now allow me to go further into writing coding to send photo from phone to application ?

I have also look for a sample code here Exploring OBEX Devices Connected via Bluetooth[^] to try if the phone allow to send photo to pc desktop first . but then it give me a error of "connection failed, the requested address is not valid in its context", when i run the program and wanted to connect to a phone. I don''t understand what does the error mean.


DO i need to like update the code here to show the problem?

推荐答案

这个问题无法在这样的论坛中回答,您需要完整的信息.解决方案.您需要做的第一件事是根据类,动作,输入和输出来设计您的设计.然后看一下如何在应用程序的各个端点之间进行通信:通过蓝牙等进行通信的最佳方法是什么.与Google花费大量时间将是一个很好的第一步.请记住,这是您的您的项目,因此您应该做这项工作.同样,您的教授很可能会在此问答网站上关注,并会密切关注那些不做自己工作的人.
This question is impossible to answer in a forum such as this, you are asking for a complete solution. The first thing you need to do is work out your design in terms of classes, actions, inputs and outputs. Then look at how you can communicate between the end points of your application: what is the best way to communicate via Bluetooth etc. Lots of time with Google will be a good first step. Remember, this is your project so you are expected to do the work. Also it is most likely that your professor follows this Q&A forum and will be watching closely for people who do not do their own work.


这篇关于生成一个WPF应用程序以通过蓝牙将照片从手机传输到应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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