Posty

Wyświetlanie postów z kwiecień, 2012

Android Bitmap quality, banding and dithering

http://www.curious-creature.org/2010/12/08/bitmap-quality-banding-and-dithering/

JDBC Driver Manager configuration for Derby and HSQLDB

Sample HSQLDB configuration

Class.forName("org.hsqldb.jdbcDriver");
String url = "jdbc:hsqldb:file:src/main/resources/db/db.hsqldb";
String username = "sa";
String password = "";
connection = DriverManager.getConnection(url, username, password);

Sample DERBY configuration

String url = "jdbc:derby:memory:INMEMORYDB;create=true";
connection = DriverManager.getConnection(url);