如何包括使用C#.NET CF手持的Compass程序? [英] How to include Compass program in hand held using C#.NET CF?

查看:121
本文介绍了如何包括使用C#.NET CF手持的Compass程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

如何在使用C#.NET CF的手持设备的程序中包含Compass功能?

Hi!

How can I include Compass functionality in a program for a hand held device using C#.NET CF?

推荐答案

如果您要定位的设备具有GPS,则可以使用指南针功能.对于想法,您可能会发现这有帮助: http://www.cjcraft.com/blog/2008/06/04/30DaysOfNETWindowsWindowsMo​​bileApplicationsDay03GPSCompass.aspx [ ^ ]
由于指向代码下载的链接有点想在这里找到它,所以它是: ^ ]

最好的问候,
Manfred
If the device you''re targeting has GPS you could use that for compass functionality. For ideas you might find this helpful: http://www.cjcraft.com/blog/2008/06/04/30DaysOfNETWindowsMobileApplicationsDay03GPSCompass.aspx[^]
Since the link to the code download is kind of hare to find here it is: http://www.cjcraft.com/blog/ct.ashx?id=ec8761dd-a8df-40b2-a1b7-4d38600a658d&url=http%3a%2f%2fcid-0779b8ef58de4561.skydrive.live.com%2fself.aspx%2fPublic%2fGPSCompass.zip[^]

Best Regards,
Manfred


如果您的意思是如何在C#中为.NET Compact Framework编写指南针程序?"那么它将取决于设备是否完全可以在硬件中支持它(Windows Phone可以)以及您在互操作编程方面的水平:当前版本中不包括罗盘支持:http://social.msdn.microsoft.com/Forums/zh-CN/windowsphone7series/thread/adf69ffd-b512-4177-8733-c6256d4439df/ [
If you mean "How can I write a compass program for .NET Compact Framework in C#?" then it will depend on whether the device can support it in hardware at all (Windows Phone does) and how good you are at interop programming: compass support is not included in the current version: http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series/thread/adf69ffd-b512-4177-8733-c6256d4439df/[^]


这篇关于如何包括使用C#.NET CF手持的Compass程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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