test for mobile phone cross platform with phonegap