Phonegap version of the H2H project