Added sample with Fragments

Over there on XDA I heard that it was not possible to use this with Fragments.
However, I found a way to do that. I think that it would be useful to add a sample using Fragments.
That's why I created this.