Tag Archives: API

Validate and Format Addresses using Google API

Suppose you want to make some web app that lets users input addresses. I would be nice to

  1. Weed out minor misspelling
  2. Standardise format (proper capitalisation, abbreviated province/state or full name etc)
  3. Input in freeform but store civic number, street name, city etc separately
  4. Verify the address exists of course

Some governmental entities provide this information via public APIs but if you want a uniform service, why not use Google? Continue reading


Draw Line/Shape in FarPoint FpSpread

If you worked with FarPoint Spread, you know that it uses conventions and APIs entirely different from what’s used in normal Winforms. When it comes to drawing inside a FarPoint spread, CreateGraphics will definitely not work. If only FarPoint made their documentations Google-friendly, you will find that there are in fact APIs specifically made for drawing. Continue reading


Google Android 1.6 Camera Exposure

While developing an image processing software on G1, we noticed that our pictures are constantly overexposed although the API seemed simple enough and that we don’t have that many parameters to play with. Especially at API level 4.

Turns out, we need to make use of Camera.autoFocus() to adjust metering from the G1. It’s a bit lame that we can’t set them separately…