windows-mobile

Can I call REST web services from Windows Mobile app

青春壹個敷衍的年華 提交于 2020-01-06 05:25:11
问题 I would like to build a simple REST web service (using Ruby on Rails). However, I would like to be able to call this service from a Windows mobile app. Is that possible? or do I have to use SOAP? I don't have much experience with Windows Mobile apps so it would be nice if you can provide pseudo code or link to tutorial for the possible case. Thanks, Tam 回答1: Yes you can. I've done it lots using the Win32 wininet API. You can also do it in C# using the System.Net HttpWebRequest API. 回答2: dim

How to enumerate reminders windows mobile is showing?

房东的猫 提交于 2020-01-05 07:22:04
问题 Windows Mobile can show different kind of user notifications, like this: How can I enumerate through the reminders, windows mobile is showing to the user? 回答1: By P/Invoking CeGetUserNotificationHandles followed up by a call to CeGetUserNotification. The SDF already has it wrapped with Notify.GetUserNotificationHandles follwed by a call to GetUserNotification with each of those handles. 来源: https://stackoverflow.com/questions/2206910/how-to-enumerate-reminders-windows-mobile-is-showing

Random native exception from .NET Compact Framework 3.5 application

爱⌒轻易说出口 提交于 2020-01-05 04:10:08
问题 I have an application written wholly in C# on the .NET 3.5 compact framework that seems to be crashing at random moments with native exceptions. My application never logs any of these exceptions it just quits. Sometimes my application can run for hours or you can start it and 5 minutes later it will crash! I have been storing up the dump files that are sometimes produced but having difficulty understanding what the problem is because I lack debug symbols for the dll that is throwing

Setting file associations in Windows mobile 5+

蓝咒 提交于 2020-01-04 13:43:38
问题 Its basically the same as in windows, but when your trying to set file associations to a program that lives inside a folder that has spaces in it you need to get the "short" name of that folder. In regular windows i use this: [System.Runtime.InteropServices.DllImport("Kernel32.dll")] private static extern uint GetShortPathName(string lpszLongPath, [Out] StringBuilder lpszShortPath, uint cchBuffer); So my question becomes, does anyone know of a built in function i can use to replace the above

Possible to detect the *type of mobile device* via javascript or HTTP Headers?

北城以北 提交于 2020-01-04 09:12:41
问题 I've got a request from a customer to automatically detect the type of mobile device (not the browser, the type. ex: Moto Q, Blackjack II, etc.) and automatically select the device from a drop down with a list of supported devices. So far I've found that the HTTP Headers (submitted by mobile IE) contain information such as Resolution UA-CPU (i've seen ARM from WM 2003 and x86 from WM5) User Agent (which basically just says Windows CE) The only thing I can think of right now is possibly using

Possible to detect the *type of mobile device* via javascript or HTTP Headers?

◇◆丶佛笑我妖孽 提交于 2020-01-04 09:11:08
问题 I've got a request from a customer to automatically detect the type of mobile device (not the browser, the type. ex: Moto Q, Blackjack II, etc.) and automatically select the device from a drop down with a list of supported devices. So far I've found that the HTTP Headers (submitted by mobile IE) contain information such as Resolution UA-CPU (i've seen ARM from WM 2003 and x86 from WM5) User Agent (which basically just says Windows CE) The only thing I can think of right now is possibly using

WinCE - Unable to start debugging

ぃ、小莉子 提交于 2020-01-04 04:58:20
问题 Using a WinCE C# Forms app .NET3.5 on device link I can deploy fine and run the forms application. I can use the Windows CE Test Kit link which automatically deploys itself to the device and it runs the tests. Problem: Debugging wont start. It locks up VS2008. It seems to deploy the app fine, then hangs. Eventually comes up with "Unable to start debugging" I cannot use SOTI link as it fails to deploy itself to the device 回答1: The fact that CETK works is a red herring. It uses a different

How to obtain a Motorola (Symbol) Mobile Device Serial Number?

主宰稳场 提交于 2020-01-04 03:14:11
问题 How to obtain a Motorola (Symbol) Mobile Device Serial Number? I'm programming the Motorola ES400 which comes with "Symbol" libraries. There seems to be ways of getting the serial numbers of the various scanners, but not of the actual device itself! Anyone got any ideas? Whats the difference between "serial number" (as shown on the device) and "electronic serial number" returned by TerminalInfo? 回答1: I just dealt with this on the MC9090 device, which also uses the Symbol libraries (not sure

What's the best way to create a Windows Mobile application with multiple screens in C#

十年热恋 提交于 2020-01-03 19:40:11
问题 I am creating a Windows Mobile Application in C# and Visual Studio 2008. The application will have 5-6 main 'screens'. There will also be bar (/area) with information (e.g. a title, whether the app is busy, etc) above the screens, and a toolbar (or similar control) below the screens with 5-6 buttons (with images) to change the active screen (i.e. the screens will share the top bar and toolbar) What is the best way to implement this? Use multiple forms, and just include the toolbar and top-bar

Emulator not connecting to Windows Mobile Device Center after Emulator soft reset

浪尽此生 提交于 2020-01-03 06:43:05
问题 Am working on smartphone application. And Developing through Emulator (USA Windows Mobile 5.0 Pocket PC R2 Emulator). But after Cradle Windows Mobile Device Center does not connect with Emulator. But it was connecting three days ago. After that I do not know why its not connecting... Its get connected with device but not with emulator now. I think I did soft reset from Emulator. So after that It got dead or not connected with WMDC. please help.. 回答1: Just in case anyone is struggling with