Page 2 of 3

Emailcomposer

Posted: Mon Oct 21, 2013 9:35 am
by Francisco Narro

Hi Maryna;

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


Emailcomposer

Posted: Mon Oct 21, 2013 9:53 am
by Maryna Brodina

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.


Emailcomposer

Posted: Mon Oct 21, 2013 1:19 pm
by Francisco Narro

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.


Emailcomposer

Posted: Mon Oct 21, 2013 2:02 pm
by Maryna Brodina

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.


Emailcomposer

Posted: Wed Dec 31, 2014 4:50 am
by Krishna Kumar

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)" ?


Emailcomposer

Posted: Wed Dec 31, 2014 3:26 pm
by Yurii Orishchuk

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


Emailcomposer

Posted: Mon Jan 05, 2015 5:10 am
by Krishna Kumar

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


Emailcomposer

Posted: Mon Jan 05, 2015 6:10 am
by Krishna Kumar

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


Emailcomposer

Posted: Mon Jan 05, 2015 6:17 am
by Krishna Kumar

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


Emailcomposer

Posted: Mon Jan 05, 2015 11:54 am
by Illya Stepanov

Hi Krishna -

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