Posts

Android under Subversion and possible compilation problems

Image
If you decided to use Subversion as version control for your Android package is possible you could experiment some strange error during package compilation. These problems could appear only if you are using subversion under Linux and the old version of Tortoise under Windows ("old" mean before 1.7). 

Android init.rc and exec command not working

Image
 Android initialization is managed by the file init.rc (and some other platform specific *.rc files). This file have a special syntax composed by a reduced number of commands that you can read here . One of these command, called "exec", is able, as the name suggest, to execute a single command line during initialization. Based to the help the use of this command is a bit "discouraged" since execution of external command could stop the boot process until the command is finished. However there are situation where such feature is necessary. The problem is that in some Android version this command simply doesn't work...

Nabble embeddable forum into Google Sites

Image
I recently needed to insert an embeddable forum from Nabble into a Google Sites page. It seem doesn't work to simply add the HTML Nabble script code into a page then I made a simple gadget allowing to make this operation in a very simple way. Feel free to use if you need it...

Install Oracle JDK 6 in Linux for Android compilation

Image
Latest distribution of Linux doesn't "officially" support the Oracle JDK 6 package anymore in their repositories. However product like Android still require this package for allow compilation. This mean we need to manually download and install it. The procedure is quite simple but need some steps to follow.

Install Yum Extender into CentOS 6

Image
Since Yum Extender is no more maintained in CentOS repository there are a lot of posts asking for this problem and, as usual, a lot of partial or incomplete replies. Just to avoid wasting time follow the few command lines to use for install this tool.

Tree in SQL database: The Nested Set Model

Image
Tree structure are very commonly used by all the application who need to manage a large quantity of data. However once have in memory the tree data the application need a way to save them for future use. SQL database can be a good solution but, in this case, we need a way to store data in efficient mode. This post will propose a model called Nested Set.

Access GPIO from Linux user space

Image
GPIO mean "General Purpose Input/Output" and is a special pin present in some chip that can be set as input or output and used to move a signal high or low (in output mode) or to get the signal current status (in input mode). Usually these pin are directly managed by kernel modules but there are an easy way to manage these pins also from user space.