Correct me if I'm wrong, but I will supose the user knows the other phone's email and it knows how to add it to the program. The best way I think for doing this would be either to use a task app, that would need the user to configure it or use a flashable zip to install a script and run it with a crontab.
If you have Busybox in your phone, you can access crontab and sendmail. The idea is to write a little shell script with sendmail and make it run in the schedule you want thanks to crontab. That way you would be able to send emails without user confirmation or without the user having to push or do anything at all.
Also you can find several low level functions inside an Android terminal that could help you send the mail regarding some triggers. For example, you can use dumpsys battery to check on battery stats, so you can for example make a script that would check that and if battery is below a certain threshold, send a mail to warn the other phone.
I use the phone gap framework for developing android application, my specification is to send a email message, for that I use web intent plugin for sending email, in default i can able to specify subject and body of mail programmatically, but the contact i can't do it programmatically need to done manually. Is there is any other way to send the contact programmatically?
I am pretty new to both android and NFC. I am working on an NFC related application as a college project that reads the data from tags and lists them. Although I am able to do so, I am facing problems with intent where I am supposed to mail this list to user on button click.
I would like to programatically open up an dialog that shows the different programs that handle this Intent and lets the user show his favourite mail program. In the program I want to specify a Title, an receiver and a message body.