windows-mobile

JVM choices on Windows Mobile

Deadly 提交于 2019-11-26 16:45:59
问题 What are the JVM implementations available on Windows Mobile? Esmertec JBed is the one on my WinMo phone. Wondering how many other JVM vendors are in this zone. Are there any comparison or benchmarking data available? 回答1: JVM Choices for Windows CE in general (including Pocket PC and Windows Mobile): CrE-ME Mysaifu Skelmir CEEJ If you're looking to have a common code base between WinMo and Symbina, you might also look at Red Five Labs. They have a Symbian runtime that allows you to run

how to put checkboxes in datagrid in windows mobile 6 using c#?

五迷三道 提交于 2019-11-26 16:38:39
问题 how to put checkboxes in datagrid in windows mobile 6 using c#? dataset dsAgent=table; DataTable dataTable = dsAgent.Tables[0]; DataGridTableStyle tableStyle = new DataGridTableStyle(); tableStyle.MappingName = dataTable.TableName; GridColumnStylesCollection columnStyles = tableStyle.GridColumnStyles; DataGridTextBoxColumn columnStyle = new DataGridTextBoxColumn(); columnStyle.MappingName = "FirstName"; columnStyle.HeaderText = "Name"; columnStyle.Width = 80; columnStyles.Add(columnStyle); /

Convert image to 1 bpp bitmap in .net compact framework

我与影子孤独终老i 提交于 2019-11-26 16:37:48
问题 I have an image of a signature I am trying to save as 1 bpp bitmap to save file space. The full .NET Framework has the enum PixelFormat.Format1bppIndexed , but the .NET Compact Framework does not supported it. Has any one discovered a way to accomplish this in Windows Mobile? 回答1: I had to do this in the past for generating black & white reports printed via Bluetooth (color or greyscale images were too large for the printer's buffer). Turned out I had to create the images using native code.

Disable sleep mode in Windows Mobile 6

≯℡__Kan透↙ 提交于 2019-11-26 16:37:35
问题 Does anyone know how could I programatically disable/enable sleep mode on Windows Mobile? Thanks! 回答1: If you want your program to not be put to sleep while it's running, the best way is to create a KeepAlive type function that calls SystemIdleTimerReset, SHIdleTimerReset and simulates a key touch. Then you need to call it a lot, basically everywhere. #include <windows.h> #include <commctrl.h> extern "C" { void WINAPI SHIdleTimerReset(); }; void KeepAlive() { static DWORD LastCallTime = 0;

Write once deploy on Windows Mobile 6, Windows Phone 7, Android and iPhone? [closed]

被刻印的时光 ゝ 提交于 2019-11-26 16:18:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Was just wondering if there were any cross platform development platforms which would run great for corporate type apps on various mobile devices. Would be ideal if the language was C# but feel free to suggest others. 回答1: have you checked out Titanium at http://www.appcelerator.com And then there is the

What mobile platform should I start learning? [closed]

扶醉桌前 提交于 2019-11-26 11:58:56
问题 What mobile platform should I start learning? What matters is: ease popularity of the platform low cost of the SDK and actual handheld 回答1: I think 3-4 platforms have a future. But it depends on what platform do you like and how you like freedom in distributing your applications :) Windows Phone 7 .NET and Silverlight through Windows Phone Marketplace Android Java through Android Market (fees) or like normal applications iPhone Objective-C or Java (Developing iPhone Applications using Java)

How to estimate the thread context switching overhead?

假装没事ソ 提交于 2019-11-26 11:54:06
问题 I am trying to improve the performance of the threaded application with real-time deadlines. It is running on Windows Mobile and written in C / C++. I have a suspicion that high frequency of thread switching might be causing tangible overhead, but can neither prove it or disprove it. As everybody knows, lack of proof is not a proof of opposite :). Thus my question is twofold: If exists at all, where can I find any actual measurements of the cost of switching thread context? Without spending

Auto detect mobile browser (via user-agent?) [closed]

别说谁变了你拦得住时间么 提交于 2019-11-25 22:26:42
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 years ago . How can I detect if a user is viewing my web site from a mobile web browser so that I can then auto detect and display the appropriate version of my web site? 回答1: Yes, reading the User-Agent header will do the trick. There are some lists out there of known mobile user agents so