title: Phonegap 1.4.1 WebIntent plugin Error "Class not found" Android
body: <p>I am a newbie to developing in phonegap so I am sorry if this is a obvious answer. This is the last part of my project the only part of it that isnt functioning is the plugin. </p>
  
  <p>I get the message "Failed to send email via Android Intent" and get the following error in logcat "Error: Status=2 Message=Class not found at file:///android_asset/www/phonegap-1.4.1.js:651" </p>
  
  <p>I cannot figure this out, I have been at it for the past day! </p>
  
  <p>I have added the plugin to the plugin.xml</p>
  
  <p><em>plugin name="webintent" value="com.borismus.webintent.WebIntent"</em></p>
  
  <p>I have the correct name space for the WebIntent.java file.</p>
  
  <p><em>package borismus.webintent;</em></p>
  
  <p>And I have the webintent.js file referenced in my index.html.</p>
  
  <p>Below is the function which uses the plugin.
          function emailxmlfile(){</p>
  
  <pre><code>var subject = "Sports Code Xml Edit List" + filedate.toDateString();
  var body = "";
  if(!window.plugins || !window.plugins.webintent){
  
      alert('Unable to find webintent plugin');
  
  }else{
  
  
  
  var extras={};
  
  extras[WebIntent.EXTRA_SUBJECT] = subject;
  extras[WebIntent.EXTRA_TEXT] = body;
  
   window.plugins.webintent.startActivity({
          action: WebIntent.ACTION_SEND,
          type: 'text/plain',
          extras: extras
        }, function() {}, function(e) {alert('Failed to send email via Android Intent');});
  
  }};
  </code></pre>
  
  <p>Any Help would be greatly appreciated. Thanks</p>