This question is locked. New answers and comments are not allowed.
I created a blank project and copied in the camera code as found at
http://docs.icenium.com/example-apps-and-code-snippets/code-snippets/cordova-api-samples/camera
(I had to include the <!DOCTYPE html><html> <head> since it is missing from the example)
When running in the simulator or on an Android it reports
Uncaught TypeError: Cannot read property 'DATA_URL' of undefined at index.html (line: 74)
I can see this code in the cordova.android.js file but it does not seem to get called. Am I supposed to call some code to setup the camera? If so what is it? Why is it not in the sample.
I am one very confused software engineer.
Thanks
Dave A
http://docs.icenium.com/example-apps-and-code-snippets/code-snippets/cordova-api-samples/camera
(I had to include the <!DOCTYPE html><html> <head> since it is missing from the example)
When running in the simulator or on an Android it reports
Uncaught TypeError: Cannot read property 'DATA_URL' of undefined at index.html (line: 74)
I can see this code in the cordova.android.js file but it does not seem to get called. Am I supposed to call some code to setup the camera? If so what is it? Why is it not in the sample.
I am one very confused software engineer.
Thanks
Dave A