posted on Thursday, January 20, 2005 3:49 AM by kevdaly

Multi-blog blogging app for Pocket PC released (by me that is)

It is now going under the name “Diarist”, because as I mentioned earlier I'm sick of “blog-this” and “blog-that”.
Anyway, it is available for download here.

Blog tools explicitly supported are .Text, Community Server, dasBlog, Blogger, BlogX and Blogsphere.
Categories are supported (although they still don't work for DotNetJunkies), and I've added a few features such as automatically backing up an unsaved new post when you exit the application (I haven't stated this anywhere, but if a textbox has focus you can exit the application by selecting Ctrl+Q from either a soft or hardware keyboard).
And this time I did remember to include a vertical scrollbar.

There is also real cut, copy and paste functionality for text: that one almost didn't make it in, since it took me a while to find a good workable solution. At first I was going to follow a suggestion to P/Invoke simulated keystrokes for Ctrl+C and Ctrl+V, but then I came across a comment from someone who had found that not to work with Windows Mobile 2003 SE, so that put me off that idea. Then my natural impulse was to use the Clipboard from the SDF, on the principal that it doesn't make sense doing work when a bunch of talented and very thorough people have already done it. But unfortunately that was a little more than I wanted, and by the time I'd finished trimming I'd naturally have had to include a disclaimer absolving the authors of all responsibility for the results of me butchering their code, which might not inspire a lot of confidence. So instead I went for a very minimal implementation from the CE.NET API docs. Not nicely encapsulated as P/Invokes should be, simplistic error-checking (”if nothing terrible happened, do the next bit”), but it at least seems to do the job. Currently however the Cut, Copy and Paste options can only be selected from the Edit menu: there's no tap-and-hold functionality. I'm not sure whether to include it or not, since the limitations of the CF mean it would only be useful for Paste. 

I have only tested with Compact Framework 1.0 SP2. I'm pretty sure SP3 would be fine, SP1 might be mostly OK, but I definitely wouldn't put any money on the original RTM version.

Comments