Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

How to send email with attachment in background---Android Mode.

$
0
0

Hello

Question 1 is: how to send email with attachment in background, aka, without user interference. e.g there is a button on the app, user taps the button, app send stuff immediately, without open build in email app.

I have tried https://forum.processing.org/two/discussion/17064/how-to-send-an-email-via-processing, it worked, but this is in Java mode, what I want is something like this but in Android mode. A search leads me to this, http://stackoverflow.com/questions/2020088/sending-email-in-android-using-javamail-api-without-using-the-default-built-in-a The question is ,how to "convert" the above code in Processing. As I know nothing about coding for Android. What I thought about P5 Android Mode was, I worte some code in Java mode, tested ok, then, switch to Android mode, everything should work just fine. Unfortunatelly, this is not the case. It appears, if I want to do app for Android, I have to learn stuff specifically for Android.

Question 2: Is there any profesional who can give me some advice as for if I want to do app for Android in Processing (I only know processing, and I love it's simplicty, easy to use)which book or online resources I should check? Please be noted, as for coding, till now, I am only a beginner of Processing.

Thank you for your help and reply.


Viewing all articles
Browse latest Browse all 941

Trending Articles