Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Support for GPS devices

2 posts in General Discussion Last posting was on 2007-02-15 02:23:36.0Z
Shao Chan Posted on 2007-02-14 17:12:03.0Z
From: "Shao Chan" <noemail@noemail.com>
Newsgroups: ianywhere.public.mbusinessanywhere.general
Subject: Support for GPS devices
Lines: 25
Organization: VT Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
NNTP-Posting-Host: i-83-67-79-206.freedom2surf.net
X-Original-NNTP-Posting-Host: i-83-67-79-206.freedom2surf.net
Message-ID: <45d342e3$1@forums-1-dub>
Date: 14 Feb 2007 09:12:03 -0800
X-Trace: forums-1-dub 1171473123 83.67.79.206 (14 Feb 2007 09:12:03 -0800)
X-Original-Trace: 14 Feb 2007 09:12:03 -0800, i-83-67-79-206.freedom2surf.net
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:1038
Article PK: 9204

Hi all,

We wish to implement support for GPS devices within M-Business Anywhere so
that periodically we can retrieve the location of the device and write it to
the database to give the device's exact position.

Quick question. I assume that accessing the GPS device through programming
techniques requires calling a proprietary API as devices will be made by
different manufacturers. Is this true or is there a Windows generic library
that can be called.

Has anyone implemented somthing like this and how did they go about it?

If specific GPS device hardware is required, any recommendations?

I assume that having the GPS dongle separate from the device and connected
either through a wire or BlueTooth will give the best compromise between
supporting GPS and not supporting too many different devices with different
APIs.

Cheers,

Shao


Greg Fenton Posted on 2007-02-15 02:23:36.0Z
From: Greg Fenton <greg.fenton@googles-mail-site>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: ianywhere.public.mbusinessanywhere.general
Subject: Re: Support for GPS devices
References: <45d342e3$1@forums-1-dub>
In-Reply-To: <45d342e3$1@forums-1-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: cpe00096b10fe8a-cm000f212f9e50.cpe.net.cable.rogers.com
X-Original-NNTP-Posting-Host: cpe00096b10fe8a-cm000f212f9e50.cpe.net.cable.rogers.com
Message-ID: <45d3c428$1@forums-1-dub>
Date: 14 Feb 2007 18:23:36 -0800
X-Trace: forums-1-dub 1171506216 74.103.108.213 (14 Feb 2007 18:23:36 -0800)
X-Original-Trace: 14 Feb 2007 18:23:36 -0800, cpe00096b10fe8a-cm000f212f9e50.cpe.net.cable.rogers.com
Lines: 24
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:1039
Article PK: 17865


Shao Chan wrote:
>
> Quick question. I assume that accessing the GPS device through programming
> techniques requires calling a proprietary API as devices will be made by
> different manufacturers. Is this true or is there a Windows generic library
> that can be called.
>

I am not aware of any generic API for GPS calls. If you are up to the
task, you could write an MBA PODS (a C/C++ DLL on MS-Windows) that makes
the GPS calls and interact with the PODS in MBA using JavaScript.

If you design PODS object well enough, it should have the exact same
interface to MBA on all platforms. Then you simply need to write a
platform-specific version of that PODS for each platform you want to
support.

The MBA client will pull down the appropriate PODS for the platform it
is running on (well, you can set MBA up that way).

g.f
--
Greg Fenton
Some Random Dude