Twim with Unicode support

I added UTF-8 encoding support to the Twim application. In case you didn’t know, Twim is Twitter client software that runs on all phones that support J2ME. With the latest version you should be able to see correct characters in tweets if your phone has required fonts available. Here’s for example my test tweet containing simplified Chinese characters:

This was rather easy to implement since we can define encoding when constructing stream reader from input stream:

  1. public void doStuff(InputStream stream) {
  2.   try {
  3.  
  4.     // Try to initialize reader with UTF-8 encoding
  5.     reader = new InputStreamReader(stream, "UTF-8");
  6.  
  7.  
  8.     // Device doesn’t support UTF-8, use default
  9.     reader = new InputStreamReader(stream);
  10.  
  11.   }
  12.   // …read data and do stuff…
  13. }

This version also has a new feature for refresing the feed without the need for restart. You can download the application from Phoload page or from here.

OpenStreetMap Surveyor Feature

Mobile Trail Explorer v1.13 contains a new feature which is called OpenStreetMap Surveyor. With this feature all you OSM users can add common places to your OSM trails very easily. This is how you can active this feature:

  1. Choose “Keys” section from Settings menu
  2. Choose which key you want to configure, # or *
  3. Choose “Surveyor” action for selected key

Now you can activate the feature by clicking the selected key while you are recording your trail. When key is clicked you are shown a list of predefined placemarks from which you can select correct entry. This way it is quite easy to add bus stops etc. while you are walking, biking or driving around.

Surveyor Display

Surveyor Display

Trail Explorer v1.13

I was finally able to push the v1.13 release out of the door. There have been large amount of bug fixes that were annoying users in v1.12. There are also punch of excellent new features. Here’s the release notes for v1.13:

  • Option to prevent Map tiles from being downloaded over the network (Cached tiles will still be displayed)
  • Bug fix: When the locale is changed manually, it will be saved (From Kaspar)
  • Bug fix: LocaleManager does now respect the user-selected locale (From Kaspar)
  • Simplified the addition for additional locales (From Kaspar)
  • Find place by using Google service (From Kaspar)
  • German support tweaks (From Peter)
  • OpenStreetMap surveyor feature (From Vikas)
  • …plus tens of bug fixes and features

As always, you can download the binaries from here and source code from Google Code site, here.

You can (and you must) give some feedback on the Google Group: mobile-trail-explorer.

Have fun with GPS tracking! :)