How to browse and select a file from sdcard using Phonegap 3.0?

前端 未结 2 637
半阙折子戏
半阙折子戏 2021-02-10 15:30

Gone through API of Phonegap 3.0.

I want to browse files from SD card when i click on link or button by using UI

For example:

 

相关标签:
2条回答
  • 2021-02-10 16:05

    I haven't found a ready solution out there in the wild and I needed one for my project, so I wrote this simple library called FileSelect. It's licensed with WTFPL, so you can use for whatever purpose you want.

    0 讨论(0)
  • 2021-02-10 16:08

    There is no out-of-the-box solution. Unfortunately, you have to build it yourself, using File API.

    Here you have an example, build using jQuery Mobile.

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