April 2005 Entries
This is how the managed Date Picker, CalendarSP, looks like (click here for download details):
The .NET Compact Framework lacks a Date Picker control for the SmartPhone development platform. I have written CalendarSP that overcomes this limitation of the .NET CF and is targetted for the SmartPhone 2003 platform.Its free to use and comes with complete documentation.Download it from http://www.wintoolzone.com/...
I have added support in CERapi to determine the type of device (PocketPC, SmartPhone, etc) connected to via ActiveSync. The CESystemInformation class has a DeviceType property that will return a CEDeviceType enumeration value which indicates the type of device. The snippet below exemplifies this: CESystemInformation si = rapi.SystemInformation; // Device TypeConsole.WriteLine("You are connected with a {0}",si.DeviceType.ToString... And below is the output for my Typhoon: Download the updated CERapi...
Snap of the Bangalore team is here.
I love the city of Hyderabad and the weekend of 10th April is the DevCon of the Microsoft User Group, Hyderabad. I would be speaking there - do join the community; it will be fun. Registrations are free and can be done at http://www.mugh.net/devcon.htm
Read it at http://blogs.msdn.com/relea
There's no programmatic way to determine if the Windows CE device connected via ActiveSync to the desktop is a PocketPC or a SmartPhone. If you wish to determine the same, open HKEY_CURRENT_USER\Software\... CE Services registry key and lookup the value of DeviceType value. Its a REG_SZ and contains the type of device you are connected with
Whenever you publish a new version of an assembly that has some breaking changes relative to its predecessor version, its an exercise in itself to publish the breaking changes. BradA points to LibCheck, an application used internally for doing the same. Check it here
CERapi allows you to work with the file system of the Windows CE device and the snippet below shows how easy it is to do the same: // Working with device foldersCEFolder rootFolder = new CEFolder(\\storage\\My Documents);Console.WriteLin... {0}",rootFolder.Path);Conso... Files: {0}",rootFolder.TotalFileCo... SubFolders: {0}",rootFolder.TotalSubFol... // Copy File from desktopConsole.WriteLine("Move C:\\CASDEMO.TXT to device: {0}",rootFolder.MoveFileFro...
CERapi, the managed implementation for Windows CE Remote API (RAPI) has been updated to work with the file system of the Windows CE device. The CEFile and CEFolder classes have been introduced that make navigating the device easy. You can: Get list of files in specified folder Create/Delete folders Create/Delete/Move files Get folder/file attributes File's folder and its name - property Create shortcut to files Find files as per custom search filter Set file attributes Set filetime Launch files...