Android multitouch gesture detectors

Android has a ScaleGestureDetector since API level 8 (Android 2.2). From this point on the first Android devices with multitouch screens appeared. This was great, and the ScaleGestureDetector too ofcourse.

What’s a mistery to me however, is why this is the only multitouch gesture detector that is in the API! Why isn’t there something like a RotateGestureDetector to find out rotations between two (or more) fingers… Is it one of the issues in the patent war between Apple and Google? I don’t know, but I want to be able to use it anyway… so I built this small extendable framework and I’ll explain in this article how you can use it in your Android apps! Now hope I won’t get sued for building the obvious :shock: ! Read More »

Tags | 29 Comments

Water ripple FX with Canvas and Javascript

It’s not new and it was done many, many times with Java Applets: the Water Ripple effect! Yeay! I created one some years ago since I just like to play with it so much. Nowadays we have the HTML5 canvas but also fast javascript engines . I still wanted to experiment with the HTML5 canvas anyway so I decided to port my applet to a canvas.

Check the Water Ripple Effect here!

In this article I will show the effect, explain how the effect works and also how you can reuse the highly configurable javascript classes. You could use it for nice cheesy banner effects or just to impress your site visitors ;) . Anyway… lets check it out! Read More »

Tags | 42 Comments

VisualVM and fixing remote JVM problems

I wrote an article about how VisualVM helped fixing a problem I had on my day job at TTY Internet Solutions some time ago. The CPU load on a webserver became to high and the performance of the webapplication dropped ofcourse.

Now, with JMX (Java Management Extensions) you can (remotely) connect to a JVM (Java Virtual machine) and take a look at what’s going on in that JVM. A great tool to do this is VisualVM. In the article I explain how we setup JMX on the remote server, how we connected VisualVM, how we read the info VisualVM gave us and how it helped us find and fix our bug.

Read the article here

Tags | Leave a comment

Experimenting with Firefox Audio API

As I am an electronic music creator and a software developer, guess what I like to program ;) … Yes, DSP (Digital Signal Processing) and audio stuff. About two years ago I worked on a DSP platform in Java which became to big of a project to finish.

Recently (april 2010) I found out some guys at Firefox (David HumphreyCorban BrookAl MacDonald, and more) are working on an experimental Audio Data API build on the HTML5 audio tag. This I had to experiment with!
Read More »

Tags | 7 Comments

How to create a CSS3 tag cloud like on this blog

As part of my CSS3 try-out (also read my post on why I started using CSS3 on this site) I created a tag cloud that’s designed with CSS3 features. You can find the tag cloud under each article on my blog and also on the right on every page. In this article I’ll explain how you can create this CSS3 powered tag cloud yourself? Read More »

Tags | 12 Comments

Why and when to use CSS3

If you browsed to this site with a latest version of a more modern browser like Google Chrome, Apple’s Safari, Mozilla Firefox or Opera you are looking at many CSS3 features. If you are watching this site with IE you won’t see any of the CSS3 features and you might think this site looks pretty boring (well, you might think this anyway ;) ). But the CSS3 usage should degrade gracefully making this site still available for you die hard IE users out there. Read More »

Tags | 8 Comments

404′s on WordPress Permalinks (IIS with ISAPI Rewrite)

So, one day I decided to start a blog. I had available a windows server with IIS 6.0 and I PHP enabled it some time ago. After some looking around I found WordPress was what I wanted to use.  The whole installation works like a charm and with not much hassle. But for SEO reasons, I wanted to use WordPress’s permalink (common structure)  feature. For this to work you need a URL rewrite solution. Apache can use mod_rewrite here, but on IIS we could use for example Helicon’s ISAPI Rewrite Lite. I installed it following Kyle Caulfields manual. But… it didn’t work for me unfortunately. Read More »

Tags | 15 Comments
  • Almeros’ Code Blog

    Welcome to Almeros' Code Blog at I'm a Software Engineer living in Groningen, The Netherlands.

    Too many times I found out some coding stuff I really want to share with you all; interesting new coding stuff, problems I found a solution for, things bothering me, etc.

    After many years of getting the knowledge and help from you (other blogging developers), it's time to give something back! That's why I started this blog. I hope you find it useful and that my posts save your day!