Archive for the ‘Snippet’ Category

Video Manipulation using HTML 5 and Javascript

Sunday, August 5th, 2012

Some funny stuff can be done using HTML 5, canvas elements and the video events API.

In the following example we’re using these techniques to apply graphic effects to a video embedded in a HTML page..

(more…)

Snippets: Getting License Information from the Confluence API

Thursday, May 6th, 2010

Sometimes one needs to look up license details of a running Confluence system .. perhaps for creating a commercial plugin or to display recommendations dependant from the license used. For this reason there are a few possibilities for receiving some license information from the Confluence API or the velocity context.

(more…)

Sensor Fun: Creating a simple audio recorder/player

Sunday, May 2nd, 2010

Sound recording and playback is really simple using the MediaRecorder and MediaPlayer classes .. see the example below ..

(more…)

Sensor Fun: Using the accelerometer on Android

Tuesday, April 27th, 2010

Here is an example on how to use the accelerometer in your Android application. If you want to simulate the acceleration on the emulator I highly recommend the Sensor Simulator on the OpenIntents website.

The following example app displays the coordinates received by the sensor. (more…)

Snippet: Simple One-Minute IMAP Client

Saturday, April 3rd, 2010

Building a simple IMAP Client that displays the subject of the messages in the “inbox” Folder using Maven (I just like Maven). (more…)

Search
Categories