Added PhoneGap camera API interaction for testing