Usage of camera in Mobile devices using Phonegap