Android product flavors 1

By now, every Android developer has heard of product flavors. We all know they allow us to add small customization to our application, for example, we could change the app icon or the app colors. This sound great, imagine all the things you could do ! But what if you’ve never had the chance to use product flavors before ? Don’t worry, we got you covered, the following tutorial provides an introduction to product flavors and what you can do with them. Read the rest of this entry »

Android signing configuration tutorial

Android Studio has introduced a lot of new features that make our lifes a lot easier. One of those features is generating signed apks using Gradle. The basic idea is that you provide all the required properties (keystore password, alias and alias password) in the build.gradle file of the application you want to sign. But what happens if you don’t wan’t to add the keystore and/or credentials in the Version Control System (VCS) ? The following tutorial presents a solution to this problem. Read the rest of this entry »


Kendo Server Filtering

If you want to enable Server Filtering on Kendo Grid, first step is to tell Kendo that you want to enable that functionality because, by default, the data source performs filtering on client side.

var dataSource = new{
	transport: {
		read: function (options) {
			var filter =;
			/* send the filter to the server*/
	serverFiltering: true

On the server side you need to map Kendo Filter to a C# Filter class.

public class Filter
	public string Field { get; set; }
	public string Operator { get; set; }
	public object Value { get; set; }
	public string Logic { get; set; }
	public IEnumerable<Filter> Filters { get; set; }

Read the rest of this entry »



If you’ve worked with AngularJS you most definitely have found yourself in the situation of using templates. While good for release and keeping your code clean, templates can often times pose a problem while developing. Since AngularJS has an implemented cache method, everytime you modfidy a template it will load from cache, therefore not allowing you to see your new modifications. This can be disabled in a number of ways, we’ll show only 2: Read the rest of this entry »

SQL : Concatenating multiple rows into a single string

In some occasions it is necessary to concatenate data from a number of rows into a single row.

Using HR.DEMO table as an example , we want to retrieve a list of employees for each department.

Base Data :

Desired Output :

One approach is to write a specific function to solve the problems.

The function can the be incorporated into a query .  For example :

On Oracle Database 10g we can use the following query:

Oracle Database 11g Release 2 has an build-in function – LISTAGG.

LISTAGG is an aggregate function that can optionally be used as an analytic (i.e. the optional OVER() clause). The following elements are mandatory:

  • the column or expression to be aggregated;
  • the WITHIN GROUP keywords;
  • the ORDER BY clause within the grouping.

For example :

How to put online the Apache 2.4 Server

If you find yourself googling in order to make your new local server work online, you’ve come to the right place. Most Web Server packages today (WAMP, XAMPP or Uniform Server) are configured to work with the “old” Apache 2.2 version and have a major flaw. Since 2.4, Apache has dropped the directive “Allow” in favour of the new directive “Require”.

Therefore, in order to make your aliases work and also to put your Apache Server configuration online, you must edit the configuration file and make two changes:
Read the rest of this entry »

Exit from an Android application

Normally, Android applications do not need an “Exit” button because they have a different lifecycle than, let’s say, a Windows application. To exit an application in Android, the user needs to press the home button and that’s it, but the application is not really closed, it’s sent to the background (the user can no longer see it) and the Android system will manage it’s state from there on, closing it only if the system needs more resources. But what if you really want to provide an “Exit” function to the user ? This article presents some of the choices you have available. Read the rest of this entry »


Showing keyboard automatically in Android dialogs

Having the Android soft-input keyboard pop-up when a Dialog window is shown is not so straight forward as one would think. After exploring different solutions found on the web (with no success) I managed to create a solution of my own. This article is mainly a tutorial that will help you achieve the above task. Read the rest of this entry »


Request Elevated Privileges in Windows Vista and 7 where UAC is enabled

This article explains how to request elevated privileges for windows applications running under Windows Vista or 7, where UAC is enabled.

If an application requires administrator right, you have to pass through the UAC elevation process. Read the rest of this entry »


Checkboxes unchecked value

Using checkboxes can become a pain when you want to get a default value for them, usually when they are not checked, because an unchecked checkbox will not be sent to the processing script regardless if it’s sent via POST or GET. The easiest way to deal with this Read the rest of this entry »