Camera and read directory was not working in BlackBerry models with OS 5.0 when using PhoneGap.
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.
I didn’t find significance of this file in PhoneGap documentation. Strange!!