作者热门文章
- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
<分区>
如何在 phonegap 中使用 html 文件属性?这样我就可以从我的 Android 设备浏览任何 .txt 文件并将其上传到服务器??
我在 phonegap 文档中阅读了文件传输方法,但据称只能通过 url 将文件上传到服务器。但是是否可以通过正常方式进行,例如:
<input type=file /><button>upload</button>
input type="file" accept="image/*" doesn't work in phone gap?我查看了此链接,但上面写着仅适用于图片。
但是如何上传文本文件呢?
有什么帮助吗??
谁能回答这个问题?
我是一名优秀的程序员,十分优秀!