Ok, I finally did it, so I will post here my solution so we have something clear about this. I used a library called ...
stackoverflow.com