Phonegap Camera application crash
===

Am developing a application for android using phonegap(Cordova 1.6.1). My application crashes when i invoke the camera API And am getting log Message like "showStatusIcon on inactive InputConnection". Following method I have used to invoke camera 

    function capt

    function capturePhoto() {
          // Take picture using device camera and retrieve image as base64-encoded string
          navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 50,
            destinationType: destinationType.DATA_URL });
        }
    
        
     function onPhotoDataSuccess(imageData) {        
          var smallImage = document.getElementById('smallImage'); 
          smallImage.style.display = 'block';      
         smallImage.src = "data:image/jpeg;base64," + imageData;    
        }

    function onFail(message) {
      alert('Failed because: ' + message);
    }

