PhoneGap: Device and Network information