Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop
Title: sensorapi-11841 Download
 Description: 这个工程包含了两个项目,第一个项目中封装了一个被我取名为CHTCGSensor的类(是不是被一排不知所云的大写字母弄晕了?我只不过是在模仿vc的命名风格…)。这个类提供了对HTC手机重力感应传感器进行读取和处理的基本操作,不过如果将初始化语句修改一下,放到其他windows mobile手机中(如Samsung)也能用。使用时应先调用InitSensor,然后根据需要调用RegisterStateEvent,RegisterChangeEvent或RegisterShakeEvent并进行相应的消息处理,不过一般来说只需要调用GetGVector就足够了。
 Downloaders recently: [More information of uploader rzlcg]
 To Search:
  • [HTCGSensor] - G-Sensor
  • [GSensorHelper] - 这个程序就简单许多,也给了我不少帮助。我的SensorInit.cpp中几个函数
  • [lfgpsmap] - Rotating image GPS application
  • [Gps] - windows mobile GPS
File list (Check if you may need any files):
sensorapi-11841\GSensorTest\bin\Debug\GSensorTest.exe
...............\...........\...\.....\GSensorTest.pdb
...............\...........\...\.....\Microsoft.WindowsMobile.dll
...............\...........\...\.....\Microsoft.WindowsMobile.PocketOutlook.dll
...............\...........\...\.....\Microsoft.WindowsMobile.PocketOutlook.xml
...............\...........\...\.....\Microsoft.WindowsMobile.Status.dll
...............\...........\...\.....\Microsoft.WindowsMobile.Status.xml
...............\...........\...\.....\Microsoft.WindowsMobile.xml
...............\...........\...\.....\Sensors.dll
...............\...........\...\.....\Sensors.pdb
...............\...........\GSensorTest.csproj
...............\...........\GSensorTest.csproj.user
...............\...........\GSensorTestForm.cs
...............\...........\GSensorTestForm.Designer.cs
...............\...........\GSensorTestForm.resx
...............\...........\obj\Debug\GSensorTest.csproj.FileListAbsolute.txt
...............\...........\...\.....\GSensorTest.csproj.GenerateResource.Cache
...............\...........\...\.....\GSensorTest.exe
...............\...........\...\.....\GSensorTest.GSensorTestForm.resources
...............\...........\...\.....\GSensorTest.pdb
...............\...........\...\.....\GSensorTest.Properties.Resources.resources
...............\...........\...\.....\ResolveAssemblyReference.cache
...............\...........\...\.....\TempPE\Properties.Resources.Designer.cs.dll
...............\...........\Program.cs
...............\...........\...perties\AssemblyInfo.cs
...............\...........\..........\Resources.Designer.cs
...............\...........\..........\Resources.resx
...............\LightSensorTest\LightSensorTest.csproj
...............\...............\LightSensorTest.csproj.user
...............\...............\LightSensorTestForm.cs
...............\...............\LightSensorTestForm.Designer.cs
...............\...............\LightSensorTestForm.resx
...............\...............\Program.cs
...............\...............\...perties\AssemblyInfo.cs
...............\...............\..........\Resources.Designer.cs
...............\...............\..........\Resources.resx
...............\NavSensorTest\NavSensorTest.csproj
...............\.............\NavSensorTest.csproj.user
...............\.............\NavSensorTestForm.cs
...............\.............\NavSensorTestForm.Designer.cs
...............\.............\NavSensorTestForm.resx
...............\.............\Program.cs
...............\.............\...perties\AssemblyInfo.cs
...............\.............\..........\Resources.Designer.cs
...............\.............\..........\Resources.resx
...............\Sensors\bin\Debug\Microsoft.WindowsMobile.dll
...............\.......\...\.....\Microsoft.WindowsMobile.PocketOutlook.dll
...............\.......\...\.....\Microsoft.WindowsMobile.PocketOutlook.xml
...............\.......\...\.....\Microsoft.WindowsMobile.Status.dll
...............\.......\...\.....\Microsoft.WindowsMobile.Status.xml
...............\.......\...\.....\Microsoft.WindowsMobile.xml
...............\.......\...\.....\Sensors.dll
...............\.......\...\.....\Sensors.pdb
...............\.......\GSensorBase.cs
...............\.......\HTCGSensor.cs
...............\.......\HTCLightSensor.cs
...............\.......\HTCNativeMethods.cs
...............\.......\HTCNavSensor.cs
...............\.......\HTCStylusSensor.cs
...............\.......\IGSensor.cs
...............\.......\ILightSensor.cs
...............\.......\INavSensor.cs
...............\.......\IStylusSensor.cs
...............\.......\LightSensorBase.cs
...............\.......\NativeMethods.cs
...............\.......\obj\Debug\ResolveAssemblyReference.cache
...............\.......\...\.....\Sensors.csproj.FileListAbsolute.txt
...............\.......\...\.....\Sensors.dll
...............\.......\...\.....\Sensors.pdb
...............\.......\PollingSensor.cs
...............\.......\.roperties\AssemblyInfo.cs
...............\.......\SamsungGSensor.cs
...............\.......\SamsungLightSensor.cs
..............

CodeBus www.codebus.net