简体   繁体   English

phonegap(cordova)中的存储卡文件和文件夹列表

[英]memory card files and folder listing in phonegap(cordova)

I am new to phonegap(cordova)v3.5.0. 我是phonegap(cordova)v3.5.0的新手。

I am creating an app for Android and IOS where the users can upload files from mobile memory card to server. 我正在为Android和IOS创建一个应用程序,用户可以在其中将文件从移动存储卡上传到服务器。 Default input type file is not working with phonegap. 默认输入类型文件不适用于phonegap。 So, I have tried with fileapi and not able to get it done. 因此,我尝试使用fileapi,但无法完成。

I want to show files and folder list from memory card on clicking on the upload button and the user should be able to select the file to upload. 我想在单击“上传”按钮时显示存储卡中的文件和文件夹列表,用户应该可以选择要上传的文件。

Please help me to fix this. 请帮助我解决此问题。 Thanks for your help in advance. 感谢您的帮助。

input file is broken on android 4.4, 4.4.1 and 4.4.2, but it should work on other android versions 输入文件在android 4.4、4.4.1和4.4.2上损坏,但在其他android版本上应该可以使用

You can read more about this, and get info about a plugin to use on a question I opened a year ago 您可以阅读有关此内容的更多信息,并获取有关要在一年前我提出的问题上使用的插件的信息

HTML file input in android webview (android 4.4, kitkat) 在android webview中输入HTML文件(android 4.4,kitkat)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM