I have developed this as part of a school project. Getting work on android was a bit tricky but i ended up with a clean solution.