Aug  06
19
MobilePostIt 1.1 beta screenshot

Here is a screen capture of my MobilePostIt version 1.1 on a real WM5 device. I just loaded it onto my PPC6700 and will be doing some self testing.


Aug  06
18
Collection editor and string array

Getting edit control buttons to work on MobilePostIt is not hard, but I wanted to implement some “fancy” designer support such that once the button control is implemented, I can just drag-drop the button in place and configure them via the properties pane. [Continue Reading]


Aug  06
15
OpenCloseTagButton design time support

The next little feature I want to add to MobilePostIt is editing shortcuts, similar to the ones in Wordpress. I classify these buttons into two categories, one that pops up a dialog box, e.g. “img” and “link”, and the other that surrounds selected text with open and close tags. I started working on the second type first.

Free Image Hosting at allyoucanupload.com

I am calling my button type the “OpenCloseTagButton”. I thought about creating an user control but chose to derive it from System.Windows.Forms.Button instead.

Since I am working on MobilePostIt for the sake of fun, I decided to add a little Visual Studio 2005 design time support so I can use the designer to configure the controls. For this aspect I found three nice tutorials:

At first I made a mistake of not exposing getters on the class properties, so for a while properties just wouldn’t show up in the designer. I finally fixed that by trial and error. I guess that’s enough progress for tonight. :)


Aug  06
12
Version control at home

More than a year ago I asked myself which version control software I should use at home. I then more or less decided to go with Subversion. Unfortunately all was moot as I never put it into action.

That is until today. I just installed Subversion and TortoiseSVN (minus the Apache part) on my over burdened laptop. I wouldn’t have done it if not for two reasons:

  1. I found an excellent 2-part guide to Subversion installation: part 1 and part 2.
  2. I started tinkering with my MobilePostIt project again.

Aug  06
10
MobilePostIt v1 released

It’s been 6 months since I last worked on my little pet project MobilePostIt. After my comments on Pocket PC Thoughts, I am now putting it up as a >>free download<<. [Continue Reading]


Mar  06
24
Chinese MobilePostIt

This is just a Chinese test post using my MobilePostIt program:

大家好吗?
我现正坐在新加坡世界贸易中心的麦当劳里用它提供的免费无线网络上网.

中文输入是通过 CE-Star 2.8.


Feb  06
5
.NET setting management

One of the things I had wanted to do for my MobilePostIt project was to use .NET 2.0’s setting management to store blog settings. Right now I use file IOs to access a binary file. Using .NET’s setting management is not that useful of an enhancement, but it would result in less code in the application and more API experience for myself. Unfortunately I never got to it as I couldn’t find any quick examples and also other bigger bugs got in the way.

Then last Friday a colleague (thank you, if you are reading) gave me the Feb. 14, 2006 issue of MSDN Magazine. While flipping through it during lunch today, I found an article about Visual Studio 2005 enhancements and a section on Improved Settings Management. My curiousity about setting managment is fulfilled.

To access an user-scoped setting, in C#:

string myUserSetting = Properties.Settings.Default.MyUserSetting;
Properties.Settings.Default.MyUserSetting = "myNewUserSettingValue";

To save the settings, again in C#:

Properties.Settings.Default.Save ();

Simple enough. These APIs are almost the same as those for resource management, which I had jammed into v1 beta.

[update @ 2006-02-11 00:00] Well, looks like this setting management doesn’t apply to the .NET 2.0 compact framework afterall.


Feb  06
4
Wordpress 2.0.1 fixes XML-RPC bugs

I just noticed that Wordpress 2.0.1 has been released and that it fixed some of the XML-RPC bugs I have mentioned, bugs such as stripping of CSS in <div> and stripping of <!–– more ––>.

WP 2.0.1 bug fix list is here.
The 3 XML-RPC fixes are mentioned here.