windows-mobile

Windows Mobile Application for barcode scanning with Emulator

China☆狼群 提交于 2019-12-07 16:42:44
问题 i want to develop simple application for Motorolo MC 9190 G mobile it has inbuilt bar code scanner, i want to scan the bar code and display them in the msg box. i dont have the mobile so i have to test it in Emulator. when i deploy the code in emulator it gives null exception error. my code is i add sample.barcode dll Private barcodeReader As Symbol.Barcode.Reader // error occurs here itself barcodeReader = New Symbol.Barcode.Reader() barcodeReader.Actions.Enable() Dim nextReaderData As

Programatically check which versions of .NET Compact Framework are installed

戏子无情 提交于 2019-12-07 11:36:21
问题 I have a Windows Mobile application that is built for .NET CF 1.0. It is written in C#. How can this program check what versions of the .NET Compact Framework are installed on the device it is running on? 回答1: It really depends on what you mean by "installed". If they were installed via CAB file (the most common), there will be entries in the registry under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETCompactFramework that you could programmatically check. 来源: https://stackoverflow.com/questions

How to read GPS signal strength in Windows Mobile?

老子叫甜甜 提交于 2019-12-07 08:27:31
问题 How can I read the GPS signal strength from my Compact .NET app in Windows Mobile 5 and/or 6? I've only seen accessors for GPRS and Wi-Fi signal strength in the API. 回答1: Check out the GPS Application Windows Mobile code sample at MSDN. It's what taught me most of what I needed to know to get started with Hineini. 来源: https://stackoverflow.com/questions/2064996/how-to-read-gps-signal-strength-in-windows-mobile

How to include only BOOST smart pointer codes into a project?

泪湿孤枕 提交于 2019-12-07 07:58:26
问题 What are best practices to include boost smart pointer library only without adding all boost libraries into the project? I only want boost smart pointer library in my project and I don't want to check in/commit 200 MB source codes (boost 1.42.0) into my project repository just for that. What more, my windows mobile project itself doesn't even reach 10% of that size! 回答1: For just the smart pointer library, you have two options. Copy the headers you include in your source files ( shared_ptr

c# windows mobile device information

帅比萌擦擦* 提交于 2019-12-07 02:02:30
I have googled and searched after this topic, but could not find any good answer. How can i get the imei for the phone, or at least a unique id. I am also interested in finding the phonenumber through the simcard. Right now im using the systemstate to get the owner's phonenumber, but that is only set if the owner has set it himself If you really need the IMEI, have a look at this blog: http://dotnetslackers.com/Community/blogs/ruslantrifonov/archive/2007/07/10/_2200_How-To_2200_-Series_3A00_-Retrieving-IMSI-and-IMEI-on-Windows-Mobile.aspx it contains a download which demonstrates using

Async/await for compact framework v3.5 - manual implementation

筅森魡賤 提交于 2019-12-07 01:30:45
问题 I have to develop an application for WinCE 5.0 which communicates/synchronizes data with a regular PC application which offers a webservice I can talk to with my mobile (industrial) device. Since it is obvious to result in code which is hard to maintain on the mobile device side (check connection → when completed: check webservice availability → when completed: check whether mobile device is eligible for syncing → when completed start exchanging data) I would love to use the syncronous way of

How can I detect when scrolling has started in a ListView on Windows 10 UWP?

一个人想着一个人 提交于 2019-12-06 17:09:29
问题 I'd like to subscribe to an event which tells me that scrolling has started in a ListView and get the direction of scrolling. Is there any way to do this in Windows 10 UWP API? Thanks 回答1: You should first obtain the ScrollViewer inside the ListView and then subscribe to its DirectManipulationStarted event. However, to get the direction of the scrolling can be tricky. I'd suggest you to have a look at the new Windows Composition API where there's a way to use ExpressionAnimation to link the

How to enable ARMv6 unaligned access on WinMobile6?

匆匆过客 提交于 2019-12-06 16:53:52
ARMv6 introduce a great feature - unaligned memory access , which make some things in code much more simplier and faster. But microsoft gives API for it only in winCE6. And most PDAs now based on WinMobile6 (which is on CE 5.x). And unaligned access is disabled by default :( I've try to set unaligned flag in CP15 register, but this doesn't work - I have a crash on read unaligned data. Is it possible to enable unaligned access on WinMobile6? Edit: I've found the tool, which can enable unaligned access, but I want to on/off it from my code. It's nueAdvancedProcessor . There is an unaligned

How to automate importing certificates on a Windows CE device?

*爱你&永不变心* 提交于 2019-12-06 16:35:29
I'd like to automate importing cert(s) on a Windows CE device. Pushing the certs down to the devices is not a problem, but once they are there I cannot determine how to import them without using the UI. (I'm currently using Avalanche Mobility Center) Another way to push certificates onto windows mobile devices is to use Windows Mobile Device Provisioning. MSDN Provisioning Mobile Devices Article For examples of certificate provisioning, in any of the Windows Mobile SDK directories, there is a SDKTools directory with examples xml files. e.g. on a standard VS 2008 install with the SmartDeice SDK

Using CeGetFileNotificationInfo

非 Y 不嫁゛ 提交于 2019-12-06 15:32:51
I have a Windows Mobile 6.5 application where I'm trying to monitor a file for changes. If I run the code below, then open WordPad and edit and save "\MyDir\Foo.txt", I only get notifications about temporary files being changed. For reference, I'm using Windows Mobile 6.5 Professional CE OS 5.2.23090.5.3.0. And, I have the same issue with Windows Mobile 6.1 Professional CE OS 5.2.21051.1.6.4. #include <vector> int _tmain( int argc, _TCHAR* argv[] ) { HANDLE change = ::FindFirstChangeNotification( argv[ 1 ], FALSE, FILE_NOTIFY_CHANGE_CEGETINFO | FILE_NOTIFY_CHANGE_LAST_WRITE | FILE_NOTIFY