• Wren Canon
  • NEWBIE
  • -1 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi Team,

 I have created a hybrid application which is related to native camera. In my visualforce page I have included cordova.js and that will support
 navigator.camera.getPicture() functionality. But When I am trying to access this function from my android phone showing this error in eclipse console 
"Uncaught TypeError: Cannot read property 'getPicture' of undefined". I think plugins for camera is miising in my hybrid project.Is that correct? If yes How can I add cordova plugins in existing projects?
 Please suggest a better solution to resolve this problem.
  • October 26, 2015
  • Like
  • 0