自动将附件从Android设备发送到其他设备
我有Android Studio代码,每30秒创建一个新的自动将附件从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默认/内置应用程序,因为我需要在没有用户输入的情况下自动发送电子邮件。我找到了一
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.