如何在phonegap中附加文本文件 [英] How to attach text file in phonegap
问题描述
你好b $ b
你能告诉我如何在phonegap中附加文本文件。我使用插件(电子邮件作曲家)。但是现在我需要提供文本文件的路径。这是我的问题。我的文本文件在这条路径中
q3tech $ / Users / q3tech / Library / Application \ Support / iPhone \ Simulator / 6.0 / Applications / 6B819649-46B3-4193-AD4B-70A81F9420E5 /Documents/Dfss/Ds.txt
window.plugins.emailComposer.showEmailComposerWithCallback(function(result){console.log(结果);},看看这张照片,看看这个:,[example@email.com,johndoe@email.org],[],[] ,true,[q3tech $ / Users / q3tech / Library / Application \ Support / iPhone \ Simulator / 6.0 / Applications / 6B819649-46B3-4193-AD4B-70A81F9420E5 / Documents / Dfss / Ds.txt];
我需要设置路径,以便它在设备中工作正常。?
/ Users / q3tech / Library / Application \ Support / iPhone \ Simulator / 6.0 / Applications / 6 B819649-46B3-4193-AD4B-70A81F9420E5 / Documents / Dfss / Ds.txt
window.plugins.emailComposer.showEmailComposerWithCallback( function(result){console.log(result);},看看这张照片,看看这个:,[example@email.com,johndoe @ email。 org],[],[],true,[q3tech
/ Users / q3tech / Library / Application \ Support / iPhone \ Simulator / 6.0 / Applications / 6B819649-46B3 -4193-AD4B-70A81F9420E5 / Documents / Dfss / Ds.txt]);
我需要设置路径,以便它在设备中工作正常。? 的
Hi
can you please tell me how to attach text file in phonegap.I used plugin (email composer ).But now i need to give path of text file .That is my problem.My text file is in this path
q3tech$ /Users/q3tech/Library/Application\ Support/iPhone\ Simulator/6.0/Applications/6B819649-46B3-4193-AD4B-70A81F9420E5/Documents/Dfss/Ds.txt"
window.plugins.emailComposer.showEmailComposerWithCallback(function(result){console.log(result);},"Look at this photo","Take a look at this:",["example@email.com", "johndoe@email.org"],[],[],true,["q3tech$ /Users/q3tech/Library/Application\ Support/iPhone\ Simulator/6.0/Applications/6B819649-46B3-4193-AD4B-70A81F9420E5/Documents/Dfss/Ds.txt"]);
I need to set path so that it work's fine in device.?
/Users/q3tech/Library/Application\ Support/iPhone\ Simulator/6.0/Applications/6B819649-46B3-4193-AD4B-70A81F9420E5/Documents/Dfss/Ds.txt"
window.plugins.emailComposer.showEmailComposerWithCallback(function(result){console.log(result);},"Look at this photo","Take a look at this:",["example@email.com", "johndoe@email.org"],[],[],true,["q3tech
/Users/q3tech/Library/Application\ Support/iPhone\ Simulator/6.0/Applications/6B819649-46B3-4193-AD4B-70A81F9420E5/Documents/Dfss/Ds.txt"]);
I need to set path so that it work's fine in device.?
这篇关于如何在phonegap中附加文本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!