读取android清单文件 [英] Reading android manifest file
本文介绍了读取android清单文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么方法可以像我们在这里提到的那样对原始文件夹中的文件进行读取/解析android清单文件:
Is there any way we can read/parse android manifest file as we do it for files in raw folder as mentioned here:
http://eagle.phys.utk.edu/guidry/android/writeSD.html
getResources.ReadManifest ..类似的东西?
getResources.ReadManifest..something like this??
谢谢
斯内哈
推荐答案
[OP注释后编辑]:您可以使用Android的PackageManaer
: You can use Android's PackageManaer http://developer.android.com/reference/android/content/pm/PackageManager.html to get information about the contents of the manifest file that Android understands.
这篇关于读取android清单文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文