GPS Programming Tips for Windows Mobile - Part 1
NETCF: Memory leak... now what??
Supporting Kiosk-Applications on Windows Mobile (Technically achievable vs. supported)
Wireless Programming on Windows Mobile: supported or not supported?
Establishing GPRS Connection on Windows CE and Windows Mobile: Sample Codes
Disable WebBrowser's Context-Menu in NETCF applications
MAPI on Windows Mobile 6: Programmatically retrieve mail BODY (sample code)
Microsoft released a HotFix for NETCF v3.5 on Windows Mobile 6.1.4 onwards, to address basic functionalities of WebBrowser control
The right approach to get a Contact’s last communication (IItem’s PIMPR_SMARTPROP)
Remote Desktop Mobile (RDP Client) disconnects after 10 minutes of inactivity
Support Boundaries for Windows Mobile Programming (Developing Drivers, for example... Or even WiFi Programming)
Miei post in italiano sul team-blog del Supporto Tecnico agli Sviluppatori
Sometimes it happens that a developer asks for suggestions about how to design an application from the very beginning so that it'll be power-efficient, and therefore I now have a list of links\suggestions that may be interesting to share...
DWORD PwrFlag, NameLength; TCHAR StateName[64] = { 0 }; GetSystemPowerState(StateName, NameLength, &PwrFlag); if(POWER_STATE_ON != PwrFlag) //perform action only if display is on. //for example, in case of Home plugins: InvalidateRect(hPlugInWnd, NULL, TRUE);
HDC gdc = ::GetDC(NULL); VIDEO_POWER_MANAGEMENT vpm; vpm.Length = sizeof(VIDEO_POWER_MANAGEMENT); vpm.DPMSVersion = 0x0001; vpm.PowerState = VideoPowerOff; // Power off the display ExtEscape(gdc, SETPOWERMANAGEMENT, vpm.Length, (LPCSTR) &vpm, 0, NULL); Sleep(5000); //just for demonstration purposes vpm.PowerState = VideoPowerOn; // Power on the display ExtEscape(gdc, SETPOWERMANAGEMENT, vpm.Length, (LPCSTR) &vpm, 0, NULL); ::ReleaseDC(NULL, gdc);
SetSystemPowerState(NULL, POWER_STATE_ON, POWER_FORCE)
I imagine there are many other techniques out there to save devices to drain battery... feel free to add whatever link or suggestions in a comment!
Cheers,
~raffaele
Power-Efficient applications on Windows Mobile
Interessante post relativo alla gestione dell’alimentazione su dispositivi con Windows Mobile: Sometimes
" My NETCF application takes long to start, on both devices and emulators... is there any way to