how to upload file using android phonegap?

前端 未结 3 1751
日久生厌
日久生厌 2021-01-18 14:49

I created application using android phonegap. I want to upload file ((i.e. when I click upload button file selection dialog box will open, then I select the file then click

相关标签:
3条回答
  • 2021-01-18 14:49

    Phonegap Plugins are the way to go.

    There are fileuploader plugins out in the git repo that you can use.

    Here's links to the iPhone and Android plugins:

    iPhone File UPloader

    Android File UPloader

    0 讨论(0)
  • 2021-01-18 14:57

    The above answer should help you. I got also a similar problem with you, it is solved as I put the fileuploader.js inside the asset/www/ folder and give a reference to it in the index.html file.

    0 讨论(0)
  • 2021-01-18 15:06

    Check out this post. It points to an example on GitHub which shows how to attach a file in PhoneGap using <input type="file"> and upload it using jQuery Mobile.

    0 讨论(0)
提交回复
热议问题