Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8022595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:18:30+00:00 2026-06-04T22:18:30+00:00

I am a newbie to developing in phonegap so I am sorry if this

  • 0

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.

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”

I cannot figure this out, I have been at it for the past day!

I have added the plugin to the plugin.xml

plugin name=”webintent” value=”com.borismus.webintent.WebIntent”

I have the correct name space for the WebIntent.java file.

package borismus.webintent;

And I have the webintent.js file referenced in my index.html.

Below is the function which uses the plugin.
function emailxmlfile(){

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');});

}};

Any Help would be greatly appreciated. Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T22:18:32+00:00Added an answer on June 4, 2026 at 10:18 pm

    I know I might be late, but got your same code working without a minor and subtle change: respect capitalization when adding the plugin details to the .xml file. I mean, you stated this:

    plugin name="webintent" value="com.borismus.webintent.WebIntent"
    

    BUT should read this instead (watch out for the name!):

    plugin name="WebIntent" value="com.borismus.webintent.WebIntent"
    

    the red squiggle in Eclipse goes away once you correct the typo, and the code just works fine so I can invoke the email app from mine.

    HTH!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm starting with developing, sorry about this newbie question. I need to create a
Im developing web plugin with FireBreath and I'm pretty newbie in this area. I
I'm a complete newbie to all this stuff, and I'm developing a plugin. I
I am a newbie working towards developing an IE extension that would appear as
.NET/MVC3 newbie, so please bear with me! I've searched for this answer all over
So I'm a newbie at this sort of thing - I just started developing
newbie question, please forgive... I'm developing a Wpf UserControl that will eventually be bound
I'm a newbie developing my second project in Ruby on Rails: A graphic calculator.
I am a newbie of PHP and just got informed that the developing process
A total newbie question.... I am developing a Joomla template and in this I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.