且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

显示用户在SD卡上的特定文件夹,并允许选择文件

更新时间:2023-09-28 08:14:28

有没有这个内置的系统应用程序。理论是对用户不暴露到文件系统。如果你想这样做,而不是code自己的实现,那么你可以使用 OpenIntents软件并有 OI文件管理器当然还有的proboelm用户可能未安装应用程序,所以你必须要ppared提示他们安装$ P $。您的用户可能不是preciate这一点。

There is no built in system app for this. The theory is to not expose the users to the file system. If you do want to do it and not code your own implementation then you can use OpenIntents and there OI File Manager there is of course the proboelm that the user may not have the app installed so you have to be prepared to prompt them to install it. Your user may not apreciate this.

我用我的应用程序IpBike这种方法。我把我的用户有一番脑筋,并能应付的文件系统,文件导入和导出为一个积分功能。

I do use this approach in my app IpBike. I take my users to have some brains and be able to cope with a file system, and file import and export is an intergral feature.