Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/224.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
自动将附件从Android设备发送到其他设备_Android_Push Notification_Attachment_Email Attachments - Fatal编程技术网

自动将附件从Android设备发送到其他设备

自动将附件从Android设备发送到其他设备,android,push-notification,attachment,email-attachments,Android,Push Notification,Attachment,Email Attachments,我有Android Studio代码,每30秒创建一个新的Wav文件,我需要将这些Wav文件发送到另一个设备(作为某种通知) boolean fileExists = new File(filePath).exists(); In filePath provide your file path which you want to send in attachment. 我不能使用传统的android studio默认/内置应用程序,因为我需要在没有用户输入的情况下自动发送电子邮件。我找到了一

我有Android Studio代码,每30秒创建一个新的
Wav
文件,我需要将这些
Wav
文件发送到另一个设备(作为某种通知)

boolean fileExists = new File(filePath).exists();

In filePath provide your file path which you want to send in attachment.
我不能使用传统的android studio默认/内置应用程序,因为我需要在没有用户输入的情况下自动发送电子邮件。我找到了一种在后台从下面的源自动发送电子邮件的方法,但我无法让它发送
wav
文件附件:

boolean fileExists = new File(filePath).exists();

In filePath provide your file path which you want to send in attachment.

boolean fileExists = new File(filePath).exists();

In filePath provide your file path which you want to send in attachment.
任何关于实现这一目标的最佳方法的建议都将非常有用谢谢

boolean fileExists = new File(filePath).exists();

In filePath provide your file path which you want to send in attachment.