http://ivillalba.blogspot.com.es code examples.