TEST ENV FOR PHONE GAP