Francisco Narro
Posts: 0
Joined: Thu Oct 03, 2013 9:58 am

Emailcomposer

Hi Maryna;

But if I do that, I will not be able to work again with appery. Isn't it?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Emailcomposer

Yes, after you've made changes in xCode there is no option to imort app back to Appery.io. You can add this plugin on the last developing stage.

Francisco Narro
Posts: 0
Joined: Thu Oct 03, 2013 9:58 am

Emailcomposer

And ... Other solution to call to default mail service of the device?

The "mailto" syntax is not solution because I can't send images or formatted text.
The mail service (like your tutorial) neither is solution because the user need to prepare the email Offline.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Emailcomposer

You can develop your app and test all possible features in browser. When testing is done and app works as expected you should export app to xCode, add framework manually, compile app and test on device. When you need to make some changes again - continue work in editor and test in browser. As soon as testing in browser is done, export app and add framework maually again. Unfortunately there is just this way.

Krishna Kumar
Posts: 0
Joined: Wed Dec 31, 2014 4:50 am

Emailcomposer

hi!

window.plugins.emailComposer.showEmailComposerWithCallback(null,"Look at this photo","Take a look at this:",["a href="mailto:example@email.com" rel="nofollow"example@email.com/a", "a href="mailto:johndoe@email.org" rel="nofollow"johndoe@email.org/a"],[],[],true);

this code is not working for android

can i expect any changes in this script?
where can i include "from address(mail ID)" ?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Emailcomposer

Hi Krishna,

please specify - do you have the same problem in IOS or it works in this OS?

Also please use weinre debugger to see reason on this problem.

Details are here: http://devcenter.appery.io/documentat...

Regards

Krishna Kumar
Posts: 0
Joined: Wed Dec 31, 2014 4:50 am

Emailcomposer

while trying to build .apk getting these errors

/emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[24,29] error: package org.apache.cordova.api does not exist /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[25,29] error: package org.apache.cordova.api does not exist /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[26,29] error: package org.apache.cordova.api does not exist /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[28,35] error: cannot find symbol class CordovaPlugin /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[31,55] error: cannot find symbol class EmailComposer /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[30,1] error: method does not override or implement a method from a supertype /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[58,3] error: cannot find symbol class EmailComposer /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[74,3] error: cannot find symbol class EmailComposer /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[88,3] error: cannot find symbol class EmailComposer /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[102,3] error: cannot find symbol class EmailComposer /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[116,3] error: cannot find symbol class EmailComposer /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[130,3] error: cannot find symbol class EmailComposer /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[147,6] error: cannot find symbol class EmailComposer /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[155,3] error: cannot find symbol class EmailComposer /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[158,6] error: cannot find symbol variable cordova /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[164,2] error: cannot find symbol class EmailComposer /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[165,2] error: cannot find symbol class EmailComposer /emailComposer/src/com/phonegap/plugins/emailComposer/EmailComposer.java:[161,1] error: method does not override or implement a method from a supertype

Krishna Kumar
Posts: 0
Joined: Wed Dec 31, 2014 4:50 am

Emailcomposer

i'am done with above problem

.apk generated successfully

but,while clicking on button i'am seeing following errors on Weinre

deviceready has not fired after 5 seconds.
Channel not fired: onPluginsReady
Channel not fired: onCordovaReady

Krishna Kumar
Posts: 0
Joined: Wed Dec 31, 2014 4:50 am

Emailcomposer

on clicking the button in console it giving "Uncaught TypeError: Cannot read property 'emailComposer' of undefined " problem

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Emailcomposer

Hi Krishna -

More likely you have a bug in your code. Please debug your code.

Return to “Issues”