⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 wince 模拟iphone 界面 wince 这是自己带的 不是我自己写的
💻 TXT
字号:
//
// 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抯 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. **

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -