如何让资产文件夹中的文件属性上的Andr​​oid? [英] how to get the file properties in assets folder on android?

查看:191
本文介绍了如何让资产文件夹中的文件属性上的Andr​​oid?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在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

这篇关于如何让资产文件夹中的文件属性上的Andr​​oid?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆