windows-mobile

What are some techniques for troubleshooting very intermittent Access Violation on a Windows Mobile Device?

风流意气都作罢 提交于 2019-12-18 13:54:30
问题 I have a large Compact Frameworks V2.0 application that in most cases works very well. On certain devices about once a day, a user receives a Native Error 0xC0000005 that is not caught with the standard managed Try/Catch block. My application synchronizes with the server via ASMX calls at fixed intervals. The problem appears to occur during synchronization. There is considerable business logic in addition to the ASMX call that happens at the time of the synchronization, but 98% of that is

How to get Windows Mobile Device Center To Connect to the Emulator

三世轮回 提交于 2019-12-18 12:16:22
问题 I have recently installed Windows 7 and I have come to a conclusion. While Active Sync was old and did not work great, it did work. I could connect to my devices and emulators after the proper rituals and incantations. The other conclusion I have come to is that Windows Mobile Device Center is worse that Active Sync was. I cannot get it to reliably connect to my emulator (yes, I have set the connection type to DMA) despite how many times I cradle and uncradle. (The emulator connects to the

Deploy a Desktop Shortcut to a Device running Windows CE 4.2 (VS2005)

怎甘沉沦 提交于 2019-12-18 10:57:22
问题 I have an application written using VS2005 in C# targeting the Compact Framework 2.0 SP2. As part of the solution, I have CAB deploy project which deploys to the device without a problem. What I can't do is create a shortcut to my application on the devices desktop. I have spent several hours reading various bits of documentation (why is the search at the MSDN site so bad?), followed the instructions but no joy. What I've done is: Add the "Windows Folder" node to the File System Created a

Mobile version of views for Ruby on Rails

孤者浪人 提交于 2019-12-18 10:00:49
问题 I'm after some validation that I'm doing the right thing. I have my Ruby on Rails application in the following structure: /home about.rhtml index.rhtml /display index.rhtml /data <--This is called by jQuery from the display\index page to provide the data to render push.js.erb pull.js.erb /layout home.rhtml display.rhtml Everything is working fine, but I now want to add a site targeted for mobile devices. While the iPhone renders the website correctly, it would be nice to provide a more

Mobile version of views for Ruby on Rails

人走茶凉 提交于 2019-12-18 10:00:04
问题 I'm after some validation that I'm doing the right thing. I have my Ruby on Rails application in the following structure: /home about.rhtml index.rhtml /display index.rhtml /data <--This is called by jQuery from the display\index page to provide the data to render push.js.erb pull.js.erb /layout home.rhtml display.rhtml Everything is working fine, but I now want to add a site targeted for mobile devices. While the iPhone renders the website correctly, it would be nice to provide a more

Java (ME) on Windows Mobile

亡梦爱人 提交于 2019-12-18 07:24:44
问题 Does anyone have experience deploying Java ME apps to Windows Mobile? What are the high-level steps to getting started with this, and are there any major drawbacks? 回答1: Well at first you need to install a JVM on your device (if one isn't already installed). There are currently two players for this: NSI Creme. This is a robust product but it only supports CDC profile (no MIDlets) and you need to buy a license for at least 1000 devices or so. IBM J9. This has CLCD support and can run MIDlets.

How can I shutdown a Windows Mobile device programatically

我只是一个虾纸丫 提交于 2019-12-18 05:13:38
问题 I would like to programatically shutdown a Windows Mobile device using Compact framework 2.0, Windows mobile 5.0 SDK. Regards, 回答1: It probably not a great idea to do it from your app - the device has a power button for a reason and shutting down the app can cause user confusion and frustration. If you must do it, and you are using Windows Mobile 5.0 or later, you can P/Invoke ExitWindowsEx like this: [Flags] public enum ExitFlags { Reboot = 0x02, PowerOff = 0x08 } [DllImport("coredll")]

How to add attributes to xml using XmlDocument in c# .net CF 3.5

会有一股神秘感。 提交于 2019-12-18 04:40:07
问题 I need to create an attribute "abc" with the prefix "xx" for an element "aaa". The following code adds the prefix but it also adds the namespaceUri to the element. Required Output: <mybody> <aaa xx:abc="ddd"/> <mybody/> My Code: XmlNode node = doc.SelectSingleNode("//mybody"); XmlElement ele = doc.CreateElement("aaa"); XmlAttribute newAttribute = doc.CreateAttribute("xx","abc",namespace); newAttribute.Value = "ddd"; ele.Attributes.Append(newAttribute); node.InsertBefore(ele, node.LastChild);

ETA on Smart Device Projects for Visual Studio 2010

孤人 提交于 2019-12-18 04:17:19
问题 I really want to upgrade to Visual Studio 2010. But since I do a lot of development for the Pocket PC version of Windows Mobile I cannot. (I develop for a Symbol device that does not support Windows Phone 7, so that is not a option.) Does any one know any kind of time frame of when Microsoft plans to add support for Smart Device Projects into Visual Studio 2010? Update: Since this is looking less and less likely without intervention from the users, Please go here and vote for this feature.

Access GPS functionality in WinMobile phones

我怕爱的太早我们不能终老 提交于 2019-12-18 03:48:26
问题 Say you have a Windows Mobile 6.0 phone that also has a GPS receiver. Does the WinMobile SDK support accessing GPS functionality? If not, what are the options (API) for programming with the GPS i.e write apps that will use the GPS capability. I am mainly interested in Windows Mobile 6.x but please do include generic replies also. I will surely vote for the most helpful answers. Thanks in advance. 回答1: Two options: There is the intermediate GPS driver, which has a howto article for .Net on