windows-mobile

How to capture high resolution image on Windows Mobile

走远了吗. 提交于 2019-12-13 03:27:03
问题 I would like to capture high resolution image with Windows Mobile device. I've tried the example from WM SDK, but it captures just a single frame of video camera and the resolution is poor. Has anyone any experience with image capturing on Pocket PC with C++? Thanks 回答1: You need to change the filter used by the example code to capture a high-resolution image. When you use the viewfinder in a digital camera, the camera "simulates" a video camera look by applying the lowest resolution filter

Windows Mobile 6.5 file system crash Motorola MC55 when running .NET CF 3.5 application

只愿长相守 提交于 2019-12-13 03:22:20
问题 I have issues with .NET CF 3.5 application on Windows Mobile 6.5 on Motorola MC55 device. We have around 150 devices which run a barcode scanning application written in C# Compact Framework 3.5. The application is for barcode scanning and communication with SOAP WebService through WIFI/GPRS. Every day around 10-15 devices go corrupted (file system errors) and need to be flashed again. Motorola support claims it is a fault of our application. For us this is not an argument. What can be source

.NET CF 3.5 SetTimeZoneInformation problem

霸气de小男生 提交于 2019-12-13 02:49:16
问题 I want to programatically set time zone in C# CF 3.5 application. The reason I want to do this is the fact that the application is installed on hundreds of Motorola MC55 devices and some of them get periodically discharged. After charging, the timezone device timezone is set to some "exotic" value not equal to my time zone (UTC+1 Warsaw). I use OpenNETCF.WindowsCE.DateTimeHelper.SetTimeZoneInformation API to set the timezone. I get the OpenNETCF.WindowsCE.TimeZoneInformation object by getting

Bluetooth human device interface for reading digital input channels

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 02:34:22
问题 An idea is to make Win Mobile phone become super alarm for car. Now I am searching for devices simalr to Velleman interface board, but I need device which can be connected to mobile device using bluetooth trough compact framework and C#. I need digital inputs for caching real events such as engine started or door opened. Is there a way to interface mobile device with outside world using inputs with voltage. 回答1: First off you need a custom piece of hardware that will hook in to the ECM of the

I got error PlatformNotSupportedException when I work with date's

家住魔仙堡 提交于 2019-12-13 00:22:23
问题 I work on windows-mobile 6.5 the region is English (United States) date: M/d/yy time: h:mm:ss tt I've this code: DateTime dt_1,dt_2; try { CultureInfo obj = new CultureInfo("en-US"); dt_1 = DateTime.Parse(TmpD_from, obj); } catch { CultureInfo obj = new CultureInfo("he-IL"); dt_1 = DateTime.Parse(TmpD_from, obj); } try { CultureInfo obj = new CultureInfo("en-US"); dt_2 = DateTime.Parse(TmpD_to, obj); } catch { CultureInfo obj = new CultureInfo("he-IL"); dt_2 = DateTime.Parse(TmpD_to, obj); }

Pop-up keyboard in Windows CE 5.0

南笙酒味 提交于 2019-12-12 23:36:32
问题 Is it possible force the build in keyboard to appear within a Windows CE 5.0 application? I am designing a project in C# and would like the keyboard or a numerical keypad to pop-up when the user has to input to the application. 回答1: You should look at the InputPanel control. Just drop one onto your form from the toolbox. Then just show and hide it on the GotFocus and LostFocus events of the input controls: private void textBox1_GotFocus(object sender, EventArgs e) { inputPanel1.Enabled = true

SQL Compact Database larger than configured size

旧时模样 提交于 2019-12-12 20:09:34
问题 I'm trying to search a mobile SDF database in Windows Mobile 6.1 and the database is about 270MB. Whenever the program tries to read from the database I get this error: "The database file is larger than the configured size. This settings takes effect on the first concurrent database connection only [Required Max Database Size (in MB; 0 if unknown) =0]" I tried specifying the size in the connection string but I get an error as well: public bool ConnectDB(string strDB, string strPassword) { try

Strategies for cell editing inside DataGrid

扶醉桌前 提交于 2019-12-12 19:44:22
问题 I am trying to find solution for DataGrid in .NET Compact Framework, for cell editing. Is it even possible to edit cell in default DataGrid in .NET Compact Framework in Windows Mobile, and how to do this? If it is not possible, what is another solution, maybe some other control if there is free. 回答1: No, you can't. From the source: In the .NET Compact Framework, you cannot directly edit the contents of the DataGrid at run time. You must bind controls, such as a TextBox, to your data source

Is it possible to view a silverlight or asp.net 3.5 website deployed on IIS 6.0 in Windows CE 5.0 browser?

南楼画角 提交于 2019-12-12 17:33:14
问题 I am planning to buil a website in silverlight and deploy it on IIS 6.0. I am not sure whether the application could be browsed in Windows CE 5.0 browser. If it is nto possible to view silverlight application than is it possible to view asp.net 3.5 application in Windows CE 5.0. 回答1: What you can or can't view on the device browser depends a whole lot on what the page does and how it does it. Keep in mind that the browser is not as full-featured as a desktop browser and that OS is not the

How to create a Virtual Com1 port in windows?

我是研究僧i 提交于 2019-12-12 14:53:30
问题 I am developing a mobile app to run on a pocketpc. We have a mobile printer and card swipe that uses com1 to send and get info. I'm using the device emulator and want to test without the printer. How do I create a virtual com1 port to right to and read from? I tried com0com but the device emulator will not set that as serial 0. 回答1: This isn't a direct answer, but if you get desperate enough, I had a friend use Detours to redirect output relating to COM interfaces to where he wanted it when