HSQLDB: the Hyper SQL Database

HSQLDB (Hyper SQL Database) is a relational database management system written in Java. It has a JDBC driver and supports a large subset of SQL-92 and SQL:2008 standards. It offers a fast, small database engine which offers both in-memory and disk-based tables. Both embedded and server modes are available for purchase.

It includes tools such as a minimal Web server, command line and GUI management tools (can be run as applets), and a number of demonstration examples.



For applications that require more speed with very large data sets, or need to store more data in a memory database, the commercial product HyperXtremeSQL is available from http://hyperxtreme.co.uk. This product is fully compatible with HSQLDB queries and other statements.

Android App Development: Add Preferences to Enable/Disable Features

In this tutorial you’ll learn how to add preferences to the application and read the preferences to enable/disable features of the application. Continuing from the example in the previous tutorial (Creating Splash Screen) we’ll make changes to the ‘Splash.java’ so that the intro song is only played if the preference is set for it.

Continue reading

WordPress Plugins for Yellow Pages and Business Directory

This is a nice theme for yellow pages:

You can see the demo here:

There are also other wordpress yellow-page themes:

Continue reading

Java Annotation

An annotation, in the Java computer programming language, is a form of syntactic metadata that can be added to Java source code. Classes, methods, variables, parameters and packages may be annotated. Unlike Javadoc tags, Java annotations can be reflective in that they can be embedded in class files generated by the compiler and may be retained by the Java VM to be made retrievable at run-time. It is possible to create meta-annotations out of the existing ones in Java. Example of Built-in annotations:
Continue reading

How to convert a String of Binary values to a Float and vice-versa in Java?

here’s a solution to have the binary representation of the IEEE 754 floating-point “double format” bit layout for a float (it is basically the memory representation of a float) :

int intBits = Float.floatToIntBits(yourFloat);
String binary = Integer.toBinaryString(intBits);

For the reverse procedure :

int intBits = Integer.parseInt(myString, 2);
float myFloat = Float.intBitsToFloat(longBits);