Articles for the ‘Snippet’ Category
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…)
Tags: canvas, codec, html, html5, javascript, js, video
Posted in Javascript, Snippet, Web | 3 Comments »
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…)
Tags: Api, Atlassian, Confluence, example, license, plugin, Snippet, velocity, wiki
Posted in Confluence, Snippet | No Comments »
Sunday, May 2nd, 2010
Sound recording and playback is really simple using the MediaRecorder and MediaPlayer classes .. see the example below ..
(more…)
Tags: Android, ddms, media, player, recorder, sensor
Posted in Android, Snippet | 2 Comments »
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…)
Tags: accelerometer, Android, Api, sensor
Posted in Android, Snippet | 5 Comments »
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…)
Tags: imap, javax, mail client, maven
Posted in Java, Snippet | No Comments »