Ear Test for iPhone/iPod touch

December 9th, 2008

I created fun application for testing your ears!

Ear Test for iPhone

Should be available on AppStore shortly. See http://www.dolejsky.com/ear-test/ for details.

Two-way iPhone and Google Calendar synchronization and SMS backup česky

July 31st, 2008

New version of ics is out! See instructions here. Download here.

The most important new feature is SMS backup & view:

ics - iPhone and Google Calendar Synchronization utility - SMS backup

Two-way iPhone and Google Calendar synchronization česky

May 8th, 2008

One thing I really missed about my iPhone was the ability to synchronize its internal calendar with my Google Calendar. I know it can be done via iTunes + MS Outlook + some iCal Outlook plugin, but I don’t use Outlook and would prefer more direct way. So I decided to write a simple utility called ics that’s able to do the 2-way sync of events.

ics - iPhone and Google Calendar Synchronization utility

Read the rest of this entry »

Quick ‘n’ dirty - manipulate GIF in Java

March 11th, 2008

I needed to directly modify pixel values of several images in a special way. First, I looked into Gimp’s Script-Fu functionality, but this seemed too complicated for what I needed so I decided to write such one-off utility in Java.

It simply reads all GIF images in specified directory, does some custom transformation of pixels, and then writes images back onto disk. It is really quick’n'dirty so be warned :-)

Source code: ImageManipulation.java

Oracle CLOB / BLOB & Spring

February 24th, 2008

Reading and writing CLOBs and BLOBs from/to Oracle database via Spring’s JdbcTemplate might be a little bit confusing as it significantly differs from dealing with other types. Interested? Read on… :-)

Read the rest of this entry »

OC4J, Spring and messaging

February 6th, 2008

I ran into several issues during the development of an application which is to be run in OC4J 10.1.3.1 and needs to use SOAP web services and Oracle AQ (Advanced Queueing) messaging:

  • Classpath hell debugging
  • Oracle XML parser crashes on SOAP response
  • Using custom AQ message payload (Oracle ADT message)

If anyone encountered such problems, read the rest of the article for tips and solutions.

Read the rest of this entry »

Tips on developing Eclipse plugins - VII.

February 4th, 2008

Have you ever wondered how to:

  • Run some code on plugin startup?
  • Set text file encoding?

If the answer to any of these questions is yes, be sure to read on!

Read the rest of this entry »

Tips on developing Eclipse plugins - VI. - Automatic exception reporting to Bugzilla

January 23rd, 2008

Bugzilla is well known bug tracking software. I would like to show simple solution on how to implement automatic submitting of uncaught exceptions (caused or somehow connected with our code) to company Bugzilla system.

Read the rest of this entry »

Tweaking XOM parser - element position support

January 22nd, 2008

XOM parser is a great piece of code. I was missing just one feature - to be able to get position of element in source file (line and column). So I did a quick and dirty hack resulting in two new nu.xom.Element methods: getLineNumber() and getColumnNumber().

Read the rest of this entry »

Tips on developing Eclipse plugins - V.

January 21st, 2008

Complex systems usually need some kind of asynchronous messaging and caching for better performance. And yes, that’s pretty much what this article is about. Let’s dive into the following issues:

  • Custom event listeners
  • Soft reference cache
  • Preventing memory leaks when using cached objects & listeners

Read the rest of this entry »