//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
Code Sample Name: MobileGPS
Feature Area: The GPS Intermediate driver
Description:
This sample demonstrates how one, can use native GPS APIs, to asynchronously
retrieve both the location data and the GPS intermediate driver�s state.
Code organization
The code is organized in 3 projects that work together and integrate with one solution.
Project1 : MobileGPSUI
This project was generated by the VS wizard to implement the device UI. Minor
changes have been made to this project to use MobileGPSDemo
Project2 : MobileGPSLib
This lib file implements the core logic required to communicate with the GPS
intermediate driver. In addition, it provides an abstraction to ease the process
of asynchronously handling the GPS Intermeidate events
Project3 : MobileGPSDemo
This project uses MobileGPSLib to communicate with the GPS Intermediate driver.
Relevant APIs:
GPS APIs:
- GPSOpenDevice
- GPSGetPosition
- GPSCloseDevice
- GPSGetDeviceState
Usage:
Load the project from Visual Studio 2005, Ensure that the Intermediate Driver is
set to fake the GPS hardware. Then, compile and run the project.
Assumptions:
Either the retail device is GPS enabled or the device emulator has been setup to fake
the GPS hardware. Check the GPS Intermediate Driver section on MSDN for further
information.
Requirements:
Visual Studio 2005,
Windows Mobile 6 Professional SDK
Windows Mobile 6 Standard SDK
Activesync 4.5.
** For more information about this code sample,
please see the Windows Mobile SDK help system. **
gps.rar_GPS_gps windows mobile_mobile gps_mobilegpsui.c_windows
版权申诉
88 浏览量
2022-09-24
00:39:20
上传
评论
收藏 4.73MB RAR 举报
我虽横行却不霸道
- 粉丝: 72
- 资源: 1万+
最新资源
- pta题库答案c语言之排序4统计工龄.zip
- pta题库答案c语言之树结构7堆中的路径.zip
- pta题库答案c语言之树结构3TreeTraversalsAgain.zip
- pta题库答案c语言之树结构2ListLeaves.zip
- pta题库答案c语言之树结构1树的同构.zip
- 基于C++实现民航飞行与地图简易管理系统可执行程序+说明+详细注释.zip
- pta题库答案c语言之复杂度1最大子列和问题.zip
- 三维装箱问题(Three-Dimensional Bin Packing Problem,3D-BPP)是一个经典的组合优化问题
- 以下是一些关于Linux线程同步的基本概念和方法.txt
- 以下是一个简化的示例,它使用pygame库来模拟烟花动画的框架.txt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈