473,394 Members | 1,875 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

GPS & Windows Mobile

Hi group,

Using an iPaq running Windows Mobile 2003. I have a need where I will
want to display a map and then using a bluetooth (or another form of
connectivity) GPS unit, receive the data and then store it on a db on
the device to later display points on my displayed map.

I have as yet to buy any hardware so this question is really one to see
if it is possible. So, is it possible to use VB2003 or VB2005 to
interface with a GPS device to receive data? If so, can anyone get me
started? Also, assuming it is possible, any other tips/hardware
recommendations etc?

Thanks in advance,
Hugh

Jul 25 '06 #1
3 4173
Hi,
>>
I have as yet to buy any hardware so this question is really one to see
if it is possible. So, is it possible to use VB2003 or VB2005 to
interface with a GPS device to receive data? If so, can anyone get me
started? Also, assuming it is possible, any other tips/hardware
recommendations etc?
<<

Yes. For VS 2003, you can download my CFDecodeGPS dll (see Software
Downloads on my homepage), or the SDF on www.opennetcf.org. These work with
all GPS receivers that output standard NMEA-0183 data, and yes, they work
with BT receivers. My CFDecodeGPS class works with VS 2005, too. VS 2003
does not have a built-in serial object, but the downloads that I suggested
above include serial connectivity.

For VS 2005, you can use the built-in System.IO.Ports class for serial
connectivity. There also is a GPS API included for Windows Mobile 5 devices
(though I haven't had any real success with it).

BTW, my book (see below) has example GPS source code for Compact Framework 1
and 2 (Pocket PC 2002/3 and Windows Mobile 5, and that can be used on a
variety of Windows CE platforms, too).

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
Jul 25 '06 #2
Yes. For VS 2003, you can download my CFDecodeGPS dll (see Software
Downloads on my homepage), or the SDF on www.opennetcf.org. These work with
all GPS receivers that output standard NMEA-0183 data, and yes, they work
with BT receivers. My CFDecodeGPS class works with VS 2005, too. VS 2003
does not have a built-in serial object, but the downloads that I suggested
above include serial connectivity.

For VS 2005, you can use the built-in System.IO.Ports class for serial
connectivity. There also is a GPS API included for Windows Mobile 5 devices
(though I haven't had any real success with it).

BTW, my book (see below) has example GPS source code for Compact Framework 1
and 2 (Pocket PC 2002/3 and Windows Mobile 5, and that can be used on a
variety of Windows CE platforms, too).

Dick
Thanks Dick. Rather than use a DLL, I want to do this using native
code that I have written, especially as I might want to distribute in
the future some/all of the the code. I plan to use VB2005 although I
am very tempted to stick with VB2003 because I have not yet used 2005
(however, the fact that 2005 has IO.Ports is very tempting). Am I
right in assuming that the 2.0 framework can be installed on CE, Pocket
PC and Windows Mobile?

Any other thoughts?

Thanks,
Hugh

Jul 26 '06 #3
Hi,
>>
Thanks Dick. Rather than use a DLL, I want to do this using native
code that I have written, especially as I might want to distribute in
the future some/all of the the code.
<<

I assume by "native code" you simply mean the VB code? The license that I
provide allows you to freely redistribute the executables (dlls), but
retains the copyright for the source, which cannot be redistributed without
permission (basically, I'd like to do that via book sales). Naturally, you
can do whatever you want with your own code.

The source code from OpenNETCF.org may be redistributed, but I think the
license says that it cannot be sold.
>>
I plan to use VB2005 although I
am very tempted to stick with VB2003 because I have not yet used 2005
(however, the fact that 2005 has IO.Ports is very tempting). Am I
right in assuming that the 2.0 framework can be installed on CE, Pocket
PC and Windows Mobile?
<<

The 2.0 framework is limited to Pocket PC 2003 (and Windows CE 5) and later
devices (such as Windows Mobile 5). For PocketPC 2002 and Windows CE 4.x,
you must use the CF 1.x. Of course, you can use the CF 1.x on Windows
Mobile 5 or WinCE 5 devices, too.

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
Jul 26 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jose Gonzalez | last post by:
How to apply a numeric format to a textbox using xhtml? I know you have to use the "-wap-input-format" style tag in css. I can get this to work in a regular xhtml page, however, I've been...
0
by: Nick White [MSFT] | last post by:
Hello fellow Microsoft Windows Mobile and Embedded enthusiasts: I invite you to peruse the list below of upcoming technical chats and Webcasts offered by the Windows Mobile and Embedded Devices...
1
by: Colin Graham | last post by:
My skills are in VB. Net/SQL Server and i have touched on PDA development mainly as a tester. i am aware of using webservices for functionality. I have been given a task to develop a solution...
0
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all my emails stored on the Yahoo! server. However sometimes I can’t get access to a PC/the web and I download my emails...
1
by: vbnovice | last post by:
windows mobile & vb.net -------------------------------------------------------------------------------- Anyone have any ideas on how I would use vb.net to remote control a windows mobile...
0
by: =?Utf-8?B?VmFuZXNzYQ==?= | last post by:
Hi, All of a sudden I have rapimgr.exe & vcescomm.exe processes that start running and seem to take over my PC. There is a website processlibrary.com that I go out to to look these up and they...
1
by: santosh singh | last post by:
for mobile browser i used the following code : Response.ContentType = "application/vnd.wap.xhtml+xml"; Response.AppendHeader("Content-Disposition","attachment; filename=SailBig.jpg");...
4
by: =?Utf-8?B?VGFtbXkgTmVqYWRpYW4=?= | last post by:
I am creating an application for windows mobile using Visual C# windows. I am using visual studio 2008 and I have windows Microsoft Vista on my computer. I also downloaded the professional and...
9
by: =?Utf-8?B?RGFuaWVs?= | last post by:
Hi, I downloaded the sample application that the Microsoft video ASPNETAJAXForWinMobile described but it doesn't work on my Windows Mobile 6 emulator. After enabling the script error reporting...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.