compact framework - Querying GPS location (only long. & lat.) from WM6 phone using .NET CF -


I'm looking for a much easier solution to recover GPS data from WM6 cell phones. I'm not looking for a GPS wrapper library (Google only seems to be GPS LIBs ...) I just appreciate the one piece code which actually does this: GPS launches, long and late, retrieve the end GPS Do nothing else. I think that with the .NET compact framework I would need to use P / Inserts.
Any thoughts? thanks a lot.

You say that you are not looking for a GPS wrapper library, but you want to ask GPS The easiest way to do this is by using the GPS Intermediate Library, which is a stream interface driver. To call it with managed code, some type of wrapper is required, which makes P / Azez calls. Whether you write it or you are using one already available, it is up to you, but you are using a rapper.

To open just GPS, get the position and turn it off one set of three calls :, and, even after calling GPS OnDevice, you really should know that when the GPS Is started, you should also know when it's ready.

If you do not need those notifications, calls to GpsOpenDevice are simple - Just for all of the parameters passed in zero (or IntPtr.Zero depends on how you defined your p / call method)

GpsGetPosition takes a pointer to a structure to make it a little of an ugly beast As a bit too bad it is not to be allocated any signal and CF Marshaler, with little help, it can not be quite martial enough, but no.

As it is long, along with it it is already done in the GPS sample application that Microsoft provides with WinMo SDKs (% Program Files% \ Windows Mobile 6 SDK \ samples \ PocketPC is not going to write that code here to see it on your hard drive \ CS \ GPS ).


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -