GPS

所属分类:Windows Phone
开发工具:C#
文件大小:23KB
下载次数:98
上传日期:2009-08-27 21:06:12
上 传 者bruce_y
说明:  在Windows Mobile6下的PPC,用C#编程通过手机里的GPS设备能够精确定位
(In the Windows Mobile6 under the PPC, with the C# programming via mobile phones, GPS devices can pinpoint the location of the)

文件列表:
GPS\DegreesMinutesSeconds.cs (4046, 2007-03-30)
GPS\DeviceStateChangedEventArgs.cs (1376, 2007-03-30)
GPS\GPS.cs (13385, 2007-03-30)
GPS\Gps.sln (1615, 2007-03-30)
GPS\GpsDeviceState.cs (3279, 2007-03-30)
GPS\GpsPosition.cs (17723, 2007-03-30)
GPS\GpsSample\Form1.cs (8817, 2007-03-30)
GPS\GpsSample\Form1.resx (5126, 2007-03-30)
GPS\GpsSample\GpsSample.csproj (3708, 2007-03-30)
GPS\GpsSample\Properties\AssemblyInfo.cs (1570, 2007-03-30)
GPS\GpsSample\Properties\Resources.cs (3028, 2007-03-30)
GPS\GpsSample\Properties\Resources.resx (4771, 2007-03-30)
GPS\LocationChangedEventArgs.cs (1335, 2007-03-30)
GPS\Microsoft.WindowsMobile.Samples.Location.csproj (3198, 2007-03-30)
GPS\Properties\AssemblyInfo.cs (1630, 2007-03-30)
GPS\Utils.cs (1891, 2007-03-30)
GPS\GpsSample\Properties (0, 2009-08-27)
GPS\GpsSample (0, 2009-08-27)
GPS\Properties (0, 2009-08-27)
GPS (0, 2009-08-27)

Code Sample Name: Microsoft.WindowsMobile.Samples.Location Feature Area: GPS and Managed Programming Description: This sample shows how to wrap the native GPS Api in a simple to use C# class. Project ManagedGps contains the following classes: Gps: The interface to the managed gps api. use this class to open, close, query the device state, and query the position data from your gps hardware. GpsPosition: Contains the GPS position data received from the gps hardware GpsDevice: Contains GPS device state data received from the gps hardware Utils: Native memory allocation utilities Usage: Make sure your GPS hardware is setup correctly using the GPS control panel in Settings. You may also use the FakeGPS.cab in the Tools\GPS directory where you installed the SDK to use simulated GPS data. For more information see FakeGPSReadme.txt in the same directory. Once you have your GPS set up, you need to Build and Run the GpsSample to see it work. Relevant APIs/Associated Help Topics: GPSApi, Managed PInvokes, Managed and Native Data Marshalling Assumptions: GPS hardware is setup on the device. Requirements: Visual Studio 2005, Windows Mobile 6 Professional SDK, Activesync 4.5. ** For more information about this code sample, please see the Windows Mobile SDK help system. **

近期下载者

相关文件


收藏者