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.

I didn’t find significance of this file in PhoneGap documentation. Strange!!

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s