Vikas     Feb,08 2017

Camera and Read Directory Was Not Working in BlackBerry 5.0 PhoneGap Application - Solved

Problem:

Camera and read directory was not working in BlackBerry models with OS 5.0 when using PhoneGap.

 

Solution:

I had deleted json2.js file reference from my html page, because I was not using this js library anywhere in my project.

After spending 2 hours, I realize that this file was used by PhoneGap js api to use camera and read directory, specially in 5.0 OS devices.

P.S.

I didn't find significance of this file in PhoneGap documentation. That's why developers will survive in open source market.