hyGps
所属分类:Windows编程
开发工具:Visual C++
文件大小:27KB
下载次数:2
上传日期:2007-05-21 17:11:59
上 传 者:
doublewinws
说明: Make sure your GPS hardware is setup correctly using the
GPS control panel in Settings.
Once you have your GPS set up, you need to Build and Run the GpsSample
to see it work.
(Make sure your GPS hardware setup is correc tly using the control panel in the GPS Settings. Onc e you have set up your GPS, you need to Build and Run the GpsSample to see it w contex.)
文件列表:
Gps (0, 2007-05-21)
Gps\Gpssample (0, 2007-05-21)
Gps\Gpssample\Properties (0, 2007-05-21)
Gps\Gpssample\Properties\AssemblyInfo.cs (1354, 2005-04-05)
Gps\Gpssample\Properties\Resources.cs (2399, 2005-04-05)
Gps\Gpssample\Properties\Resources.resx (4771, 2005-04-05)
Gps\Gpssample\Form1.cs (8188, 2005-04-15)
Gps\Gpssample\Form1.resx (5126, 2005-04-15)
Gps\Gpssample\GpsSample.csproj (3708, 2007-05-21)
Gps\Gpssample\bin (0, 2007-05-21)
Gps\Gpssample\bin\Debug (0, 2007-05-21)
Gps\Gpssample\obj (0, 2007-05-21)
Gps\Gpssample\obj\Debug (0, 2007-05-21)
Gps\Gpssample\obj\GpsSample.csproj.FileList.txt (180, 2007-05-21)
Gps\Gpssample\GpsSample.csproj.user (198, 2007-05-21)
Gps\Properties (0, 2007-05-21)
Gps\Properties\AssemblyInfo.cs (1414, 2005-04-05)
Gps\DegreesMinutesSeconds.cs (2836, 2005-04-15)
Gps\DeviceStateChangedEventArgs.cs (747, 2005-04-15)
Gps\GPS.cs (13169, 2005-04-15)
Gps\Gps.sln (1615, 2005-04-13)
Gps\GpsDeviceState.cs (3063, 2005-04-15)
Gps\GpsPosition.cs (18321, 2005-04-15)
Gps\LocationChangedEventArgs.cs (706, 2005-04-15)
Gps\Microsoft.WindowsMobile.Samples.Location.csproj (3198, 2007-05-21)
Gps\Utils.cs (1675, 2005-04-05)
Gps\bin (0, 2007-05-21)
Gps\bin\Debug (0, 2007-05-21)
Gps\obj (0, 2007-05-21)
Gps\obj\Debug (0, 2007-05-21)
Gps\obj\Microsoft.WindowsMobile.Samples.Location.csproj.FileList.txt (42, 2007-05-21)
Gps\Microsoft.WindowsMobile.Samples.Location.csproj.user (198, 2007-05-21)
Gps\Gps.suo (21504, 2007-05-21)
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.
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 5.0 Pocket PC SDK,
ActiveSync 4.0.
** For more information about this code sample, please see the Windows Mobile SDK help system. **
近期下载者:
相关文件:
收藏者: