GPS-enabled smartphones

N

n33470

Admittedly I'm a software engineer, not a cell phone junkie. I'm in
the design phase of an app that should run on the Smartphone developed
with VS2003. This app will be primarily a GPS location tracking
system.

The question is this....where can I find a list of Smartphone devices
that are truly GPS-enabled? I'm looking for true satellite GPS, not
the cellular tower triangulation stuff that is used for 911 (it might
be called "A-GPS", but I'm not sure).

Is there a Smartphone that is GPS enabled?

Thanks for any info, or direction, you can give me!

--steve
 
D

Dick Grier

AFAIK, there is no API for the GPS that may (or may not) be available in
Windows Mobile 2003 SmartPhones, and Visual Studio 2003. Windows Mobile 5,
and Visual Studio 2005 will have a GPS API. I think you are SOL until that
happens (Windows Mobile 5 devices become available -- at that point, more
details will be forthcoming).

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 
P

Peter Foot [MVP]

Any Smartphone device with Bluetooth can be used with a separate Bluetooth
GPS receiver (Most Smartphone devices don't have a wired serial port of any
kind). While there is no standard GPS API to get the location from such a
device there are several libraries available to read the data from a virtual
COM port and parse the raw NMEA data into meaningful latitude/longitude etc.
One such example is part of the SDF - www.opennetcf.org/sdf/
I would expect even with the release of Windows Mobile 5 there will still be
relatively few devices with built in GPS hardware in the short-term, it's
happening in a few Pocket PC devices such as the HP Mobile Communicator 65xx
series, but I think we are still a way from having GPS built in as standard
to every device.

Peter
 
N

n33470

Dick,

Thanks for the reply! I've been reading about Windows Mobile 5 and saw
there is a built-in GPS API. Having the integrated API would make
development a snap, however since Mobile 5 is so new, I would imagine
that it won't be released on devices for a while.

Is there a short-term solution that we can develop right now? If
there is no API for the Smartphone, how do the GPS apps that are out
today work?

The absolute first question I need answered is this:
1. For hardware, is there a Smartphone with integrated GPS capability?
If not, what are the alternatives...a Bluetooth GPS receiver, are
there others?

--steve
 
N

n33470

Peter,

Thanks for the info on your OpenNETCF project. I've downloaded and
installed the code, but haven't tried to run it yet. Our app will be
primarily built around the OpenNETCF.IO.Serial.GPS namespace.

When we get around to developing with this, is there an emulator for
the Bluetooth GPS device? We'll be using the Smartphone emulator in
the Mobile 2003 SDK, but I'm wondering if there is a way to emulate the
GPS device also?
Is the only alternative to do development and testing on the actual
hardware?

It would be nice if there was a way to develop and debug the app
outside of the actual hardware platform. Are they any alternatives
available?

Thanks again!

--steve
 
M

ManniAT

Hi Steve,

we do such a thing when testing our apps.
Let me explain - we first built a wrapper for an existing navigation application. (http://ttncf.pp-p.com)

So we have a routine the where we have to send NMEA sentences to this navigation software. In the field we do this by receiving the
data via a serial port (you can do this easy with OpenNETCF).
The data (if you use nmea) comes in ASCII strings ended with CRLF. So it is a pretty easy format to read.
Our algo is very simple:
Read single characters from the serial port (you can also read more).
Parse the data for the beginning sign of a GPS sentences.
If found read on until CRLF is found (or to much data was readed or another start sequence was found -- use for easy comm. error
handling).
After we found the sentence this layers informs (via event) an above layer about the sentences.
This layer (I call it "Sentence layer")can
a.) parse the sentences
b.) transfer the sentence to the navigator SW
c.) record the sentence as a single line in a textfile
---or all togeather

This works fine with the device - but it is hard to debug motion data.
Of course we do debug session via laptop and an equiped car (with someone driving it) - but the practice is to work on the desktop.
I don't like emulators (since a real device is most of the time acting different) - but we have an other "problem" - on the desktop
we get only static data from the attached GPS device.

So how did we solve this?
We recorded a lot of GPS Sentences in files - with a working serial port (like OpenNETCF) a recording application is not more than
10 lines of code.
After that we take the files to the desktop - and now (after the serial communication is proofed via device tests) we don't need
real GPS.
We wrote a litte class acting below the "sentence layer". Instead of reading the serial port it reads (via timer) a recorded file
and sends the sentences (lines).

So we can:
a.) simulate real routes on the desktop
b.) change the speed by bringing the sentences in a higher frequency
c.) work with an emulator as well as with a real device

A last word for GPS enabled smartphones - take car a lot of them only have A-GPS which means "Assisted" GPS.
In other word the cell phone provider must support the positioning - if not you have extreme fxing times and often loses of GPS
fixes. Although some manufacturers handle A-GPS as something "pretty cool" it is more or less some kind of "reduced GPS".

If interrested you can see such a recorded tour on http://aqua.pp-p.net/Tour/Over.htm (German - choose "Streckenübersicht"), or if
you have MS MapPoint 200x you can download the map ("Mappoint Datei zur Tour").
From Mappoint you than can export the data (for an example) to Excel.

By the way - this data was recorded via a webservice to a SQL Database.
Most of the time we use SQL-Stored Data when testing desktop apps - instead of reading a textfile we made some "DB-Info to GPS
sentence" class.

HTH

Manfred
 
D

Dick Grier

Hi,
Is there a short-term solution that we can develop right now? If
there is no API for the Smartphone, how do the GPS apps that are out
today work?
<<

You can only use external GPS receivers, not the ones that are internal to
some phones. For the external devices you can use CFSerialIO and DecodeGPS
from my homepage, or download SDF from www.opennetcf.org.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top