如何让资产文件夹中的文件属性上的Andr​​oid?文件属性、资产、文件、夹中

2023-09-07 09:06:33 作者:狐说狐有理

我想在Android上的资产文件夹中的文件属性,但它不同于一般的操作中使用了几种方法来获得,任何人都可以帮助我得到的文件属性,如修改日期。 我的资产文件有一个ok.txt,请帮我帮助?

I want to get the file properties in assets folder on android,But it is unlike general operation use some kinds of methods to get,anybody can help me to get the file properties such as modified date. My assets file has a "ok.txt",please do me a help?

推荐答案

如果我理解正确的话,我想这个博客帖子会回答你的问题,用code显示例如使用InputStream的:

If I understand you correctly, I think this blog post will answer your question, with code showing example of using InputStream:

的http://myossdevblog.blogspot.com/2010/02/reading-properties-files-on-android.html