a few tests with phonegap