Putting a canvas element in Firefox chrome with XUL

Just a quick note, how to integrate a canvas element in your XUL environment:

Continue reading

Posted in extension development, Firefox | Leave a comment

Building an XPCOM component with JavaScript

Building an XPCOM component in Javascript should be a pretty easy task but Mozilla introduced some changes in the Gecko SDK lately which make it a bit harder to follow the older tutorials available. I had to use some pieces of information and stick it together to get a working XPCOM component.
Mainly I used this and this tutorial. So, here is the approach which worked for me with Gecko 9:

Continue reading

Posted in extension development, Firefox | Leave a comment

List all entities in a Java Datastore

Ever wondered how to list all entities of a given type in a Java database? Well, here is how you can do that:

Query query = new Query("type_of_entityr");
List allKeys = datastore.prepare(query).asList(FetchOptions.Builder.withDefaults());

Looks simple but took me some time to figure out. ;)

Posted in Java | Leave a comment

Fedora 16 (64 bit) and Android App development

What do you need to develop Android Apps with Fedora 16 (64 bit)?

glibc.i686
glibc-devel.i686
libstdc++.i686
zlib-devel.i686
ncurses-devel.i686
libX11-devel.i686
libXrender.i686
libXrandr.i686

Posted in Fedora | Leave a comment

Fedora 16 (64 bit) and Skype

What do you need to get Skype running on Fedora 16 (64 bit)?

qt-x11-4.8.0-5.fc16.i686
qt-4.8.0-5.fc16.i686
libXv-1.0.6-2.fc15.i686
libXScrnSaver.i686
alsa-lib.i686
glibc.i686

Posted in Fedora | Leave a comment