Archive for the ‘CodeProject’ Category.
September 18, 2009, 14:19
Update 2. august 2010: There is a fixed RDM client for WM6.5 which is available to OEMs to include in there ROM images. Possibly you get it with an OS update of your device and will not see this issue any more. See also http://blogs.msdn.com/b/raffael/archive/2009/09/11/remote-desktop-mobile-rdp-client-disconnects-after-10-minutes-of-inactivity.aspx
Unfortunately Remote Desktop Mobile (RDM) Client, if part of your Windows Mobile 6.1 device, will disconnect after 10 minutes of user idle time. This value seems to be hardcoded into the application. Various searches in internet lead to this assumption. So regardless of your server or client settings, RDM will disconnect after 10 minutes of user idle.

The following code is from this blog. For those of you not being able to compile the code I have attached an ArmV4i executable you can use directly on your device.
Continue reading ‘WM6.1: Remote Desktop Client disconnects after 10 minutes’ »
July 14, 2009, 14:55
Hello
for some reason you might want to rerun an application very day or every hour. In commercial applications, one may want to let the device sync data every 4 hours, So you need an application that runs periodically at specified times or intervals. As this first sounds easy, it is not as simple as you mean.You cannot simply use timers, timers will not continue to run within Suspend mode.
To have an application run at specific times, Windows Mobile supports a notification database. Your device will already wake up periodically to reschedule events and to clean up the notification database. Normally, Windows Mobile Phone devices will awake every night at 0:00.
There are also some other possible notifications that can launch an application, see my old web site.
How can we do a scheduled application ourself? At first run, the scheduler application has to delete all previous notification entries of the notification database. Then it has to create a new timed notification and in our sample, it will then launch another application. The scheduler application itself should be small and only care about the schedules. The worker application can be what you want and will be started by the scheduler application.
Continue reading ‘Howto run an application periodically’ »
Tags:
notification,
periodically,
power state,
resume,
schedule,
SetPowerRequirement,
SetSystemPowerState,
suspend,
SystemIdleTimerReset,
thread,
timer Category:
CodeProject,
Programming |
Comments Off on Howto run an application periodically
July 14, 2009, 09:34
Although ITC offers a nice keyboard remapper (part of the device resource kit) there is no tool to remap the ‘direct’ keys. Direct keys are for example the blue side buttons on a CN3(e), the PTT key on a CK3 or the front keys of a CV30. To remap those keys you need to change the registry. As fiddling with the registry is not always easy, I did this small tool: DirectKeyUI
New (14. july 2009):
- Added ArmV4 version as needed to use the tool on 700 color devices
Although the tool is mainly targetting ITC WM5 devices it is also usefull to map keys on ITC WM2003 devices as the 700 color series. The remapper for the WM2003 devices does not offer all possibly mappings and so DirectKeyUI may be usefull for you.
- Added source code as of 29. june 2009
- Fixed some bugs in v1.2
Continue reading ‘DirectKeyUI, a tool to manage direct keys on ITC devices’ »
July 1, 2009, 16:12
Attached is a demo application showing some aspects of barcode scanning in C# on ITC devices. The demo source is written against CF2 and needs the right ITC datacollection runtime installed.
Continue reading ‘Barcode Reader Demo’ »