windows-mobile

Windows Mobile device incompatibilities - need suggestions for how to approach testing

北战南征 提交于 2019-12-25 04:30:36
问题 I have a user who runs my application on a Samsung BlackJack with WM 6.1. He reports issues, like labels not appearing on forms, that I cannot reproduce on any of the emulators or the device that I am developing with (T-Mobile Shadow and WM 6.0). What are my options to reproduce and identify issues like that, without getting any offending device myself and trying it out? 回答1: screen sizes are different. The resolutions may also be different. Microsoft has emulators for square pdas and vga

Reboot on installation of .CAB WM

被刻印的时光 ゝ 提交于 2019-12-25 04:23:13
问题 On a Windows Mobile 6 or CE 5 device, I need to install a CAB file and then initiate a reboot. I am aware of custom actions. You need to create a setup.dll for the CAB file in native C++. So I have the following code already made codeINSTALL_EXIT Install_Exit(HWND hwndParent, LPCTSTR pszInstallDir, WORD cFailedDirs, WORD cFailedFiles, WORD cFailedRegKeys, WORD cFailedRegVals, WORD cFailedShortcuts) { MessageBox(hwndParent, _T("A reboot is required to complete installation, Press OK to reboot.

httpRequest, httpResponse, send GET through Stream and Receive the Result in C#

拈花ヽ惹草 提交于 2019-12-25 04:19:16
问题 This is what i'm trying to do: Connect to a http service From here, i need to get a STREAM for comunicate with that. Now, i send GET request, and the service answer me. Then, after the first GET request and the answer, i need to intercept everytime the service send me something. How can i do? I'm trying from yesterday with httRequest, httResponse, GetResponseStream and so on, but not working :( How can i have the stream to "talk" with the service sending the GET request? all this for NETCF 3

Deserializing a JSON array to LongListSelector Windows Phone 8

跟風遠走 提交于 2019-12-25 02:58:52
问题 How can i deserialize this jsonx variable and put it on a longlistselector on windows phone? Currently i can only echo one string with messagebox. i need key-value sets on a longlistselector. edit: this is my answer http://pastebin.com/CcADHaab here is my code using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell;

Deserializing a JSON array to LongListSelector Windows Phone 8

£可爱£侵袭症+ 提交于 2019-12-25 02:58:10
问题 How can i deserialize this jsonx variable and put it on a longlistselector on windows phone? Currently i can only echo one string with messagebox. i need key-value sets on a longlistselector. edit: this is my answer http://pastebin.com/CcADHaab here is my code using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell;

setsockopt() with RCVTIMEO is not working in windows mobile5

夙愿已清 提交于 2019-12-25 00:29:45
问题 I am trying to timeout the recieve() call on the socket descriptor, by using setsockopt() API with so_rcvtimeo option set with time set to 5 seconds. but my recieve() call is not timing out after 5 seconds when data is not recieved from server. may i know if there is any settings to be enabled in windows mobile 5 to get this working or is there any other way to achieve this in windows mobile 5 / pocket pc Thanks and regards 回答1: The MSDN documentation for setsocketopt clearly states (in the

Audio player on Windows Mobile

☆樱花仙子☆ 提交于 2019-12-24 17:51:52
问题 I'm trying to develop specialized audio player for windows mobile devices (Professional ones). And I've ran into the problem an once. There no compressed audio APIs on WM or I was unable to found house in documentation. Yes there are WM6 Sound API but it cannot even pause playback or seek to specified position. There are allways Windows Media Player on WM device but I've not found it APIs documentation. So the question is: Is there simple way to play, pause, forward, rewind, getting playback

How can I detect suspend on Windows Mobile?

走远了吗. 提交于 2019-12-24 11:52:29
问题 We are seeing some occasional data loss with our application on Windows Mobile, and we suspect that some buffered data is not being flushed to disk when the device is suspending. We would like to manually flush data to the disk when the device is about to suspend. On Windows, we do this by catching the WM_POWERBROADCAST message, but this message is not available on Windows Mobile. I found a two-year-old quote on a message board that said: You need to realize that you are *not* guaranteed that

How can I detect suspend on Windows Mobile?

笑着哭i 提交于 2019-12-24 11:48:09
问题 We are seeing some occasional data loss with our application on Windows Mobile, and we suspect that some buffered data is not being flushed to disk when the device is suspending. We would like to manually flush data to the disk when the device is about to suspend. On Windows, we do this by catching the WM_POWERBROADCAST message, but this message is not available on Windows Mobile. I found a two-year-old quote on a message board that said: You need to realize that you are *not* guaranteed that

CListCtrl - how to enable multiple selection

本秂侑毒 提交于 2019-12-24 10:11:31
问题 I am creating a MFC application for Windows Mobile and don't know how to enable multiple selection for List Control (CListCtrl). In properties panel Single Selection is set to False but still can't select multiple items. Any idea? 回答1: I have never targeted Windows Mobile but you might try the following: list.ModifyStyle(LVS_SINGLESEL, 0); 回答2: ModifyStyle method of CWnd base will work (see post from Diego) if you desire to do this programmatically OR you can define the attribute within the