Attempts to use camera feature in IBM Worklight Studio mobile browser simulator results in unexpected behaviour.
When navigator.camera.DestinationType.DATA_URL is specified as a data type, image
should be returned as encoded image; however, actual result is not encoded image meanwhile it works in expected way in actual mobile device.
The camera feature in mobile browser simulator is not present at the moment.
Resolving the problem
Use navigator.camera.DestinationType.FILE_URI as the specified data type.