开发者

File browsing in Android

Is there a specific View/Widget available for browsing files on the device? Or is there another solution that has become accepted? Searching has yielded very little useful information 开发者_JS百科for me.


Unfortunately there's no special View/widget for browsing files. But it's not very difficult to write it yourself. Googling would find number of public sources/intents for file browsing. General idea is simple: just use File.listFiles() and fill appropriate ListView keeping in mind SD card root and phone FS root.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜