Thursday, January 14, 2016

Under .net2005 how to use GPS data to obtain gpsapi




            


I always find a place to introduce gps api function ~, ask the experts is not required to install windows mobile 5.0 sdk ?? Discover msdn found gpsopendevice and a range of methods are from gpsapi.lib, hope expert guidance! ! ! !
Reply:
gps data is not the api. Own analysis can be. Generally provide nmea format of the data. Commonly used so few:
Coordinates: GGA
Time: ZDA
Ephemeris: GSV
Reply:
You put that lib introduced is to pull
Reply:
The key now is to not find the LIB, seemingly WINDOWS MOBILE PPC SDK 5.0 - which is not required to install this file?
Reply:
Prawn Manga !!
Reply:
c ++?
c #?
c # on a line to get regular.
Reply:
I use VS2005, using VB thiophene ~ prawn guide us!
Reply:
lib is a static link library, c ++ where it can be used, if you want to use. It must be compiled into dll or tlb. Also registered. Thus on wince, installation is relatively cumbersome. gps data analysis can own. How to analyze specific. What do you want to see the data. According to the data write a regular expression can be.
My QQ: 32610303
Reply:
~ Now finally solved the problem of the workaround published at:
First install WINDOWS MOBILE PPC SDK 5.0, which has a C # to write the GPS example, after compiling, that is, after you build the project, find the generated DLL file, create a VB GPS project, the introduction of the DLL file, you can by a method Get
Code is as follows:
Imports System.Data.SqlClient
Imports System.IO
Imports System.Data.SqlServerCe
Imports System.Data
Imports Microsoft.WindowsMobile.Samples.Location 'introduced precompiled C # examples
Public Class GPSTest

Dim gps As New Gps
Dim GpsP As GpsPosition
Dim jd, wd, hb, c, a, t2jd, t2wd As Double
Private Sub gps

jd = Latitude
gps.GetPosition.DoubleLatitude acquiredwd = gps.GetPosition.DoubleLongtitude
hb = gps.GetPosition.EllipsoidAltitude

End Sub

Learn from each other! progress together! !
Reply:
Sample the example given, I can only see after running ON STARTING other gps information has not been
Also require any special configuration?
Reply:
C: \ Program Files \ Windows CE Tools \ wce500 \ Windows Mobile 5.0 Pocket PC SDK \ Samples \ Cs \ Gps

Here are some examples
Reply:
Can I use the VS2003, can be installed WINDOWS MOBILE PPC SDK 5.0 it?
Beginner, urgently?

No comments:

Post a Comment