Walk through for Graphite via Reddit mobile project, you can verify the source code for this project, see also: http://www.icenium.com/blog/icenium-team-blog/2013/04/05/diving-into-icenium-graphite-part-1-of-3